ConventionPrimitivePropertyConfiguration.IsUnicode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IsUnicode() |
Configures the property to support Unicode string content. |
IsUnicode(Boolean) |
Configures whether or not the property supports Unicode string content. |
IsUnicode()
Configures the property to support Unicode string content.
public virtual System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration IsUnicode ();
abstract member IsUnicode : unit -> System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration
override this.IsUnicode : unit -> System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration
Public Overridable Function IsUnicode () As ConventionPrimitivePropertyConfiguration
Returns
The same ConventionPrimitivePropertyConfiguration instance so that multiple calls can be chained.
Remarks
Calling this will have no effect once it has been configured. This method throws if the property is not a String.
Applies to
IsUnicode(Boolean)
Configures whether or not the property supports Unicode string content.
public virtual System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration IsUnicode (bool unicode);
abstract member IsUnicode : bool -> System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration
override this.IsUnicode : bool -> System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration
Public Overridable Function IsUnicode (unicode As Boolean) As ConventionPrimitivePropertyConfiguration
Parameters
- unicode
- Boolean
Value indicating if the property supports Unicode string content or not.
Returns
The same ConventionPrimitivePropertyConfiguration instance so that multiple calls can be chained.
Remarks
Calling this will have no effect once it has been configured. This method throws if the property is not a String.
Applies to
Entity Framework