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
要取得序列的模型。