Share via


IConventionElementTypeBuilder.IsUnicode Method

Definition

Configures whether elements of the collection are capable of persisting unicode characters.

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionElementTypeBuilder? IsUnicode (bool? unicode, bool fromDataAnnotation = false);
abstract member IsUnicode : Nullable<bool> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionElementTypeBuilder
Public Function IsUnicode (unicode As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As IConventionElementTypeBuilder

Parameters

unicode
Nullable<Boolean>

A value indicating whether elements of the collection can contain unicode characters.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The same builder instance if the configuration was applied, null otherwise.

Applies to