StringPropertyConfiguration.IsUnicode Method

Definition

Overloads

IsUnicode()

Configures the property to support Unicode string content.

IsUnicode(Nullable<Boolean>)

Configures whether or not the property supports Unicode string content.

IsUnicode()

Configures the property to support Unicode string content.

public System.Data.Entity.ModelConfiguration.Configuration.StringPropertyConfiguration IsUnicode ();
member this.IsUnicode : unit -> System.Data.Entity.ModelConfiguration.Configuration.StringPropertyConfiguration
Public Function IsUnicode () As StringPropertyConfiguration

Returns

The same StringPropertyConfiguration instance so that multiple calls can be chained.

Applies to

IsUnicode(Nullable<Boolean>)

Configures whether or not the property supports Unicode string content.

public System.Data.Entity.ModelConfiguration.Configuration.StringPropertyConfiguration IsUnicode (Nullable<bool> unicode);
member this.IsUnicode : Nullable<bool> -> System.Data.Entity.ModelConfiguration.Configuration.StringPropertyConfiguration
Public Function IsUnicode (unicode As Nullable(Of Boolean)) As StringPropertyConfiguration

Parameters

unicode
Nullable<Boolean>

Value indicating if the property supports Unicode string content or not. Specifying 'null' will remove the Unicode facet from the property. Specifying 'null' will cause the same runtime behavior as specifying 'false'.

Returns

The same StringPropertyConfiguration instance so that multiple calls can be chained.

Applies to