語言

MutablePropertyExtensions.SetIsUnicode 方法

定義

設定一個值,表示此屬性是否能持久化 Unicode 字元。

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

參數

property
IMutableProperty

設定該值的屬性。

unicode
Nullable<Boolean>

true 如果該屬性接受 Unicode 字元, false 若不接受,則 null 清除設定。

適用於