IConventionPropertyBuilder.CanSetIsUnicode Method

Definition

Returns a value indicating whether the property can be configured as capable of persisting unicode characters from the current configuration source.

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

Parameters

unicode
Nullable<Boolean>

A value indicating whether the property can contain unicode characters.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the capability of persisting unicode characters can be configured for this property.

Applies to