RelationalModelExtensions.FindSequence Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FindSequence(IConventionModel, String, String) |
Finds a sequence with the given name. |
FindSequence(IModel, String, String) |
Finds a sequence with the given name. |
FindSequence(IMutableModel, String, String) |
Finds a sequence with the given name. |
FindSequence(IReadOnlyModel, String, String) |
Finds a sequence with the given name. |
FindSequence(IConventionModel, String, String)
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
Finds a sequence with the given name.
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
Parameters
- model
- IConventionModel
The model to find the sequence in.
- name
- String
The sequence name.
- schema
- String
The schema that contains the sequence.
Returns
The sequence or null
if no sequence with the given name in
the given schema was found.
Applies to
FindSequence(IModel, String, String)
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
Finds a sequence with the given name.
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
Parameters
- model
- IModel
The model to find the sequence in.
- name
- String
The sequence name.
- schema
- String
The schema that contains the sequence.
Returns
The sequence or null
if no sequence with the given name in
the given schema was found.
Applies to
FindSequence(IMutableModel, String, String)
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
Finds a sequence with the given name.
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
Parameters
- model
- IMutableModel
The model to find the sequence in.
- name
- String
The sequence name.
- schema
- String
The schema that contains the sequence.
Returns
The sequence or null
if no sequence with the given name in
the given schema was found.
Applies to
FindSequence(IReadOnlyModel, String, String)
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
Finds a sequence with the given name.
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
Parameters
- model
- IReadOnlyModel
The model to find the sequence in.
- name
- String
The sequence name.
- schema
- String
The schema that contains the sequence.
Returns
The sequence or null
if no sequence with the given name in
the given schema was found.
Applies to
Entity Framework