语言

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 接受)清除设置。

适用于