共用方式為


SqlServerModelBuilderExtensions.ForSqlServerHasSequence 方法

定義

多載

ForSqlServerHasSequence(ModelBuilder, String, Action<RelationalSequenceBuilder>)

以SQL Server為目標時設定資料庫順序。

ForSqlServerHasSequence(ModelBuilder, String, String)

以SQL Server為目標時設定資料庫順序。

ForSqlServerHasSequence(ModelBuilder, String, String, Action<RelationalSequenceBuilder>)

以SQL Server為目標時設定資料庫順序。

ForSqlServerHasSequence(ModelBuilder, Type, String, Action<RelationalSequenceBuilder>)

以SQL Server為目標時設定資料庫順序。

ForSqlServerHasSequence(ModelBuilder, Type, String, String)

以SQL Server為目標時設定資料庫順序。

ForSqlServerHasSequence(ModelBuilder, Type, String, String, Action<RelationalSequenceBuilder>)

以SQL Server為目標時設定資料庫順序。

ForSqlServerHasSequence<T>(ModelBuilder, String, Action<RelationalSequenceBuilder>)

以SQL Server為目標時設定資料庫順序。

ForSqlServerHasSequence<T>(ModelBuilder, String, String)

以SQL Server為目標時設定資料庫順序。

ForSqlServerHasSequence<T>(ModelBuilder, String, String, Action<RelationalSequenceBuilder>)

以SQL Server為目標時設定資料庫順序。

ForSqlServerHasSequence(ModelBuilder, String, Action<RelationalSequenceBuilder>)

以SQL Server為目標時設定資料庫順序。

public static Microsoft.EntityFrameworkCore.ModelBuilder ForSqlServerHasSequence (this Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder> builderAction);
static member ForSqlServerHasSequence : Microsoft.EntityFrameworkCore.ModelBuilder * string * Action<Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder> -> Microsoft.EntityFrameworkCore.ModelBuilder
<Extension()>
Public Function ForSqlServerHasSequence (modelBuilder As ModelBuilder, name As String, builderAction As Action(Of RelationalSequenceBuilder)) As ModelBuilder

參數

modelBuilder
ModelBuilder

模型產生器。

name
String

序列的名稱。

builderAction
Action<RelationalSequenceBuilder>

執行序列組態的動作。

傳回

相同的產生器實例,以便鏈結多個呼叫。

適用於

ForSqlServerHasSequence(ModelBuilder, String, String)

以SQL Server為目標時設定資料庫順序。

public static Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder ForSqlServerHasSequence (this Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder, string name, string schema = default);
static member ForSqlServerHasSequence : Microsoft.EntityFrameworkCore.ModelBuilder * string * string -> Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder
<Extension()>
Public Function ForSqlServerHasSequence (modelBuilder As ModelBuilder, name As String, Optional schema As String = Nothing) As RelationalSequenceBuilder

參數

modelBuilder
ModelBuilder

模型產生器。

name
String

序列的名稱。

schema
String

序列的架構。

傳回

要進一步設定序列的建置器。

適用於

ForSqlServerHasSequence(ModelBuilder, String, String, Action<RelationalSequenceBuilder>)

以SQL Server為目標時設定資料庫順序。

public static Microsoft.EntityFrameworkCore.ModelBuilder ForSqlServerHasSequence (this Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder, string name, string schema, Action<Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder> builderAction);
static member ForSqlServerHasSequence : Microsoft.EntityFrameworkCore.ModelBuilder * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder> -> Microsoft.EntityFrameworkCore.ModelBuilder
<Extension()>
Public Function ForSqlServerHasSequence (modelBuilder As ModelBuilder, name As String, schema As String, builderAction As Action(Of RelationalSequenceBuilder)) As ModelBuilder

參數

modelBuilder
ModelBuilder

模型產生器。

name
String

序列的名稱。

schema
String

序列的架構。

builderAction
Action<RelationalSequenceBuilder>

執行序列組態的動作。

傳回

相同的產生器實例,以便鏈結多個呼叫。

適用於

ForSqlServerHasSequence(ModelBuilder, Type, String, Action<RelationalSequenceBuilder>)

以SQL Server為目標時設定資料庫順序。

public static Microsoft.EntityFrameworkCore.ModelBuilder ForSqlServerHasSequence (this Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder, Type clrType, string name, Action<Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder> builderAction);
static member ForSqlServerHasSequence : Microsoft.EntityFrameworkCore.ModelBuilder * Type * string * Action<Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder> -> Microsoft.EntityFrameworkCore.ModelBuilder
<Extension()>
Public Function ForSqlServerHasSequence (modelBuilder As ModelBuilder, clrType As Type, name As String, builderAction As Action(Of RelationalSequenceBuilder)) As ModelBuilder

參數

modelBuilder
ModelBuilder

模型產生器。

clrType
Type

序列將產生的數值型別。

name
String

序列的名稱。

builderAction
Action<RelationalSequenceBuilder>

執行序列組態的動作。

傳回

相同的產生器實例,以便鏈結多個呼叫。

適用於

ForSqlServerHasSequence(ModelBuilder, Type, String, String)

以SQL Server為目標時設定資料庫順序。

public static Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder ForSqlServerHasSequence (this Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder, Type clrType, string name, string schema = default);
static member ForSqlServerHasSequence : Microsoft.EntityFrameworkCore.ModelBuilder * Type * string * string -> Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder
<Extension()>
Public Function ForSqlServerHasSequence (modelBuilder As ModelBuilder, clrType As Type, name As String, Optional schema As String = Nothing) As RelationalSequenceBuilder

參數

modelBuilder
ModelBuilder

模型產生器。

clrType
Type

序列將產生的數值型別。

name
String

序列的名稱。

schema
String

序列的架構。

傳回

要進一步設定序列的建置器。

適用於

ForSqlServerHasSequence(ModelBuilder, Type, String, String, Action<RelationalSequenceBuilder>)

以SQL Server為目標時設定資料庫順序。

public static Microsoft.EntityFrameworkCore.ModelBuilder ForSqlServerHasSequence (this Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder, Type clrType, string name, string schema, Action<Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder> builderAction);
static member ForSqlServerHasSequence : Microsoft.EntityFrameworkCore.ModelBuilder * Type * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder> -> Microsoft.EntityFrameworkCore.ModelBuilder
<Extension()>
Public Function ForSqlServerHasSequence (modelBuilder As ModelBuilder, clrType As Type, name As String, schema As String, builderAction As Action(Of RelationalSequenceBuilder)) As ModelBuilder

參數

modelBuilder
ModelBuilder

模型產生器。

clrType
Type

序列將產生的數值型別。

name
String

序列的名稱。

schema
String

序列的架構。

builderAction
Action<RelationalSequenceBuilder>

執行序列組態的動作。

傳回

相同的產生器實例,以便鏈結多個呼叫。

適用於

ForSqlServerHasSequence<T>(ModelBuilder, String, Action<RelationalSequenceBuilder>)

以SQL Server為目標時設定資料庫順序。

public static Microsoft.EntityFrameworkCore.ModelBuilder ForSqlServerHasSequence<T> (this Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder, string name, Action<Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder> builderAction);
static member ForSqlServerHasSequence : Microsoft.EntityFrameworkCore.ModelBuilder * string * Action<Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder> -> Microsoft.EntityFrameworkCore.ModelBuilder
<Extension()>
Public Function ForSqlServerHasSequence(Of T) (modelBuilder As ModelBuilder, name As String, builderAction As Action(Of RelationalSequenceBuilder)) As ModelBuilder

類型參數

T

序列將產生的數值型別。

參數

modelBuilder
ModelBuilder

模型產生器。

name
String

序列的名稱。

builderAction
Action<RelationalSequenceBuilder>

執行序列組態的動作。

傳回

相同的產生器實例,以便鏈結多個呼叫。

適用於

ForSqlServerHasSequence<T>(ModelBuilder, String, String)

以SQL Server為目標時設定資料庫順序。

public static Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder ForSqlServerHasSequence<T> (this Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder, string name, string schema = default);
static member ForSqlServerHasSequence : Microsoft.EntityFrameworkCore.ModelBuilder * string * string -> Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder
<Extension()>
Public Function ForSqlServerHasSequence(Of T) (modelBuilder As ModelBuilder, name As String, Optional schema As String = Nothing) As RelationalSequenceBuilder

類型參數

T

序列將產生的數值型別。

參數

modelBuilder
ModelBuilder

模型產生器。

name
String

序列的名稱。

schema
String

序列的架構。

傳回

要進一步設定序列的建置器。

適用於

ForSqlServerHasSequence<T>(ModelBuilder, String, String, Action<RelationalSequenceBuilder>)

以SQL Server為目標時設定資料庫順序。

public static Microsoft.EntityFrameworkCore.ModelBuilder ForSqlServerHasSequence<T> (this Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder, string name, string schema, Action<Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder> builderAction);
static member ForSqlServerHasSequence : Microsoft.EntityFrameworkCore.ModelBuilder * string * string * Action<Microsoft.EntityFrameworkCore.Metadata.RelationalSequenceBuilder> -> Microsoft.EntityFrameworkCore.ModelBuilder
<Extension()>
Public Function ForSqlServerHasSequence(Of T) (modelBuilder As ModelBuilder, name As String, schema As String, builderAction As Action(Of RelationalSequenceBuilder)) As ModelBuilder

類型參數

T

序列將產生的數值型別。

參數

modelBuilder
ModelBuilder

模型產生器。

name
String

序列的名稱。

schema
String

序列的架構。

builderAction
Action<RelationalSequenceBuilder>

執行序列組態的動作。

傳回

相同的產生器實例,以便鏈結多個呼叫。

適用於