共用方式為


SqlServerPropertyExtensions.SetHiLoSequenceSchema 方法

定義

多載

SetHiLoSequenceSchema(IConventionProperty, String, Boolean)

設定要用於 hi-lo 序列的架構。

SetHiLoSequenceSchema(IMutableProperty, String)

設定要用於 hi-lo 序列的架構。

SetHiLoSequenceSchema(IConventionProperty, String, Boolean)

設定要用於 hi-lo 序列的架構。

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

參數

property
IConventionProperty

屬性。

schema
String

要使用的架構。

fromDataAnnotation
Boolean

指出是否使用資料批註來指定組態。

傳回

已設定的值。

適用於

SetHiLoSequenceSchema(IMutableProperty, String)

設定要用於 hi-lo 序列的架構。

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

參數

property
IMutableProperty

屬性。

schema
String

要使用的架構。

適用於