SqlServerPropertyExtensions.SetSequenceSchema 方法

定义

重载

SetSequenceSchema(IMutableProperty, String)

设置要用于键值生成序列的架构。

SetSequenceSchema(IConventionProperty, String, Boolean)

设置要用于键值生成序列的架构。

SetSequenceSchema(IMutableProperty, String)

设置要用于键值生成序列的架构。

public static void SetSequenceSchema (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string? schema);
static member SetSequenceSchema : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * string -> unit
<Extension()>
Public Sub SetSequenceSchema (property As IMutableProperty, schema As String)

参数

property
IMutableProperty

属性。

schema
String

要使用的架构。

适用于

SetSequenceSchema(IConventionProperty, String, Boolean)

设置要用于键值生成序列的架构。

public static string? SetSequenceSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string? schema, bool fromDataAnnotation = false);
static member SetSequenceSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> string
<Extension()>
Public Function SetSequenceSchema (property As IConventionProperty, schema As String, Optional fromDataAnnotation As Boolean = false) As String

参数

property
IConventionProperty

属性。

schema
String

要使用的架构。

fromDataAnnotation
Boolean

指示配置是否是使用数据注释指定的。

返回

配置的值。

适用于