Прочетете на английски

Споделяне чрез


UnicodeAttribute Class

Definition

Configures the property as capable of persisting unicode characters.

C#
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed class UnicodeAttribute : Attribute
Inheritance
UnicodeAttribute
Attributes

Remarks

See Modeling entity types and relationships for more information and examples.

Constructors

UnicodeAttribute(Boolean)

Initializes a new instance of the UnicodeAttribute class.

Properties

IsUnicode

A value indicating whether the property can contain unicode characters or not.

Applies to

Продукт Версии
Entity Framework Core 6.0, 7.0, 8.0, 9.0