RelationalModelExtensions.GetSequences 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetSequences(IMutableModel) |
返回模型中包含的所有序列。 |
GetSequences(IReadOnlyModel) |
返回模型中包含的所有序列。 |
GetSequences(IConventionModel) |
返回模型中包含的所有序列。 |
GetSequences(IModel) |
返回模型中包含的所有序列。 |
GetSequences(IMutableModel)
返回模型中包含的所有序列。
public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableSequence> GetSequences (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model);
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IMutableSequence> GetSequences (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model);
static member GetSequences : Microsoft.EntityFrameworkCore.Metadata.IMutableModel -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableSequence>
static member GetSequences : Microsoft.EntityFrameworkCore.Metadata.IMutableModel -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableSequence>
<Extension()>
Public Function GetSequences (model As IMutableModel) As IReadOnlyList(Of IMutableSequence)
<Extension()>
Public Function GetSequences (model As IMutableModel) As IEnumerable(Of IMutableSequence)
参数
- model
- IMutableModel
要获取序列的模型。
返回
适用于
GetSequences(IReadOnlyModel)
返回模型中包含的所有序列。
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlySequence> GetSequences (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel model);
static member GetSequences : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyModel -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlySequence>
<Extension()>
Public Function GetSequences (model As IReadOnlyModel) As IEnumerable(Of IReadOnlySequence)
参数
- model
- IReadOnlyModel
要获取序列的模型。
返回
适用于
GetSequences(IConventionModel)
返回模型中包含的所有序列。
public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionSequence> GetSequences (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model);
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionSequence> GetSequences (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model);
static member GetSequences : Microsoft.EntityFrameworkCore.Metadata.IConventionModel -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionSequence>
static member GetSequences : Microsoft.EntityFrameworkCore.Metadata.IConventionModel -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionSequence>
<Extension()>
Public Function GetSequences (model As IConventionModel) As IReadOnlyList(Of IConventionSequence)
<Extension()>
Public Function GetSequences (model As IConventionModel) As IEnumerable(Of IConventionSequence)
参数
- model
- IConventionModel
要获取序列的模型。
返回
适用于
GetSequences(IModel)
返回模型中包含的所有序列。
public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.ISequence> GetSequences (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.ISequence> GetSequences (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
static member GetSequences : Microsoft.EntityFrameworkCore.Metadata.IModel -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.ISequence>
static member GetSequences : Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<Microsoft.EntityFrameworkCore.Metadata.ISequence>
<Extension()>
Public Function GetSequences (model As IModel) As IReadOnlyList(Of ISequence)
<Extension()>
Public Function GetSequences (model As IModel) As IEnumerable(Of ISequence)
参数
- model
- IModel
要获取序列的模型。