Aracılığıyla paylaş


ConventionPropertyExtensions.SetIsUnicode Yöntem

Tanım

Bu özelliğin Unicode karakterlerinin kalıcı olup olmadığını belirten bir değer ayarlar.

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

Parametreler

property
IConventionProperty

değerinin ayarlanacağı özellik.

unicode
Nullable<Boolean>

true özelliği Unicode karakterleri kabul ederse, false kabul etmiyorsa, null ayarı temizlemek için.

fromDataAnnotation
Boolean

Yapılandırmanın bir veri ek açıklaması kullanılarak belirtilip belirtilmedidiğini gösterir.

Döndürülenler

Yapılandırılan değer.

Şunlara uygulanır