MutablePropertyExtensions.IsUnicode 方法

定義

設定值,指出這個屬性是否可以保存 Unicode 字元。

public static void IsUnicode (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, bool? unicode);
static member IsUnicode : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<bool> -> unit
<Extension()>
Public Sub IsUnicode (property As IMutableProperty, unicode As Nullable(Of Boolean))

參數

property
IMutableProperty

要設定值的屬性。

unicode
Nullable<Boolean>

如果屬性接受 Unicode 字元,則為 True;如果不接受,則為 false,則為 null,以清除設定。

適用於