ConventionPrimitivePropertyConfiguration.IsUnicode Method
Configures the property to support Unicode string content.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | IsUnicode() | Configures the property to support Unicode string content. |
![]() | IsUnicode(Boolean) | Configures whether or not the property supports Unicode string content. |
ConventionPrimitivePropertyConfiguration.IsUnicode Method ()
Configures the property to support Unicode string content.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfigurationThe same ConventionPrimitivePropertyConfiguration instance so that multiple calls can be chained.
Calling this will have no effect once it has been configured. This method throws if the property is not a String.
ConventionPrimitivePropertyConfiguration.IsUnicode Method (Boolean)
Configures whether or not the property supports Unicode string content.
Parameters
- unicode
-
Type:
System.Boolean
Value indicating if the property supports Unicode string content or not.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfigurationThe same ConventionPrimitivePropertyConfiguration instance so that multiple calls can be chained.
Calling this will have no effect once it has been configured. This method throws if the property is not a String.