共用方式為


RelationalModelExtensions.FindSequence 方法

定義

多載

FindSequence(IConventionModel, String, String)

尋找具有指定名稱的序列。

FindSequence(IModel, String, String)

尋找具有指定名稱的序列。

FindSequence(IMutableModel, String, String)

尋找具有指定名稱的序列。

FindSequence(IReadOnlyModel, String, String)

尋找具有指定名稱的序列。

FindSequence(IConventionModel, String, String)

來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs

尋找具有指定名稱的序列。

public static Microsoft.EntityFrameworkCore.Metadata.IConventionSequence FindSequence (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name, string schema = default);
public static Microsoft.EntityFrameworkCore.Metadata.IConventionSequence? FindSequence (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name, string? schema = default);
static member FindSequence : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string * string -> Microsoft.EntityFrameworkCore.Metadata.IConventionSequence
<Extension()>
Public Function FindSequence (model As IConventionModel, name As String, Optional schema As String = Nothing) As IConventionSequence

參數

model
IConventionModel

要尋找序列的模型。

name
String

序列名稱。

schema
String

包含序列的架構。

傳回

null如果找不到具有指定架構中指定名稱的序列,則為 。

適用於

FindSequence(IModel, String, String)

來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs

尋找具有指定名稱的序列。

public static Microsoft.EntityFrameworkCore.Metadata.ISequence FindSequence (this Microsoft.EntityFrameworkCore.Metadata.IModel model, string name, string schema = default);
public static Microsoft.EntityFrameworkCore.Metadata.ISequence? FindSequence (this Microsoft.EntityFrameworkCore.Metadata.IModel model, string name, string? schema = default);
static member FindSequence : Microsoft.EntityFrameworkCore.Metadata.IModel * string * string -> Microsoft.EntityFrameworkCore.Metadata.ISequence
<Extension()>
Public Function FindSequence (model As IModel, name As String, Optional schema As String = Nothing) As ISequence

參數

model
IModel

要尋找序列的模型。

name
String

序列名稱。

schema
String

包含序列的架構。

傳回

null如果找不到具有指定架構中指定名稱的序列,則為 。

適用於

FindSequence(IMutableModel, String, String)

來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs

尋找具有指定名稱的序列。

public static Microsoft.EntityFrameworkCore.Metadata.IMutableSequence FindSequence (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name, string schema = default);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableSequence? FindSequence (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name, string? schema = default);
static member FindSequence : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableSequence
<Extension()>
Public Function FindSequence (model As IMutableModel, name As String, Optional schema As String = Nothing) As IMutableSequence

參數

model
IMutableModel

要尋找序列的模型。

name
String

序列名稱。

schema
String

包含序列的架構。

傳回

null如果找不到具有指定架構中指定名稱的序列,則為 。

適用於

FindSequence(IReadOnlyModel, String, String)

來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs
來源:
RelationalModelExtensions.cs

尋找具有指定名稱的序列。

public static Microsoft.EntityFrameworkCore.Metadata.IReadOnlySequence? FindSequence (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel model, string name, string? schema = default);
static member FindSequence : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel * string * string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlySequence
<Extension()>
Public Function FindSequence (model As IReadOnlyModel, name As String, Optional schema As String = Nothing) As IReadOnlySequence

參數

model
IReadOnlyModel

要尋找序列的模型。

name
String

序列名稱。

schema
String

包含序列的架構。

傳回

null如果找不到具有指定架構中指定名稱的序列,則為 。

適用於