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 以清除設定。

適用於