語言

SqlServerPropertyExtensions.SetHiLoSequenceSchema 方法

定義

多載

名稱 Description
SetHiLoSequenceSchema(IMutableProperty, String)

設定 schema 來用於 hi-lo 序列。

SetHiLoSequenceSchema(IConventionProperty, String, Boolean)

設定 schema 來用於 hi-lo 序列。

SetHiLoSequenceSchema(IMutableProperty, String)

來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs

設定 schema 來用於 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

該使用的架構。

適用於

SetHiLoSequenceSchema(IConventionProperty, String, Boolean)

來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs
來源:
SqlServerPropertyExtensions.cs

設定 schema 來用於 hi-lo 序列。

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

參數

property
IConventionProperty

屬性。

schema
String

該使用的架構。

fromDataAnnotation
Boolean

表示配置是否以資料註解方式指定。

傳回

設定值。

適用於