RelationalModelExtensions.FindSequence 方法

定义

重载

FindSequence(IConventionModel, String, String)

查找具有给定名称的序列。

FindSequence(IModel, String, String)

查找具有给定名称的序列。

FindSequence(IMutableModel, String, String)

查找具有给定名称的序列。

FindSequence(IReadOnlyModel, String, String)

查找具有给定名称的序列。

FindSequence(IConventionModel, String, String)

查找具有给定名称的序列。

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)

查找具有给定名称的序列。

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)

查找具有给定名称的序列。

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)

查找具有给定名称的序列。

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

适用于