IConventionPropertyBuilder.CanSetIsUnicode 方法

定義

傳回值,指出屬性是否可以從目前的組態來源保存 Unicode 字元。

public bool CanSetIsUnicode (bool? unicode, bool fromDataAnnotation = false);
abstract member CanSetIsUnicode : Nullable<bool> * bool -> bool
Public Function CanSetIsUnicode (unicode As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Boolean

參數

unicode
Nullable<Boolean>

值,指出 屬性是否可以包含 Unicode 字元。

fromDataAnnotation
Boolean

指出是否使用資料批註來指定組態。

傳回

true 如果可以針對此屬性設定保存 Unicode 字元的功能,則為 。

適用於