RelationalModelExtensions.GetSequences Method

Definition

Overloads

GetSequences(IMutableModel)

Returns all sequences contained in the model.

GetSequences(IReadOnlyModel)

Returns all sequences contained in the model.

GetSequences(IConventionModel)

Returns all sequences contained in the model.

GetSequences(IModel)

Returns all sequences contained in the model.

GetSequences(IMutableModel)

Returns all sequences contained in the model.

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)

Parameters

model
IMutableModel

The model to get the sequences in.

Returns

IReadOnlyList<IMutableSequence>
IEnumerable<IMutableSequence>

Applies to

GetSequences(IReadOnlyModel)

Returns all sequences contained in the model.

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)

Parameters

model
IReadOnlyModel

The model to get the sequences in.

Returns

IEnumerable<IReadOnlySequence>

Applies to

GetSequences(IConventionModel)

Returns all sequences contained in the model.

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)

Parameters

model
IConventionModel

The model to get the sequences in.

Returns

IReadOnlyList<IConventionSequence>
IEnumerable<IConventionSequence>

Applies to

GetSequences(IModel)

Returns all sequences contained in the model.

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)

Parameters

model
IModel

The model to get the sequences in.

Returns

IReadOnlyList<ISequence>
IEnumerable<ISequence>

Applies to