語言

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 字元的能力。

適用於