IRelationalModel.FindSequence(String, String) 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.
Finds an ISequence with the given name.
public virtual Microsoft.EntityFrameworkCore.Metadata.ISequence FindSequence (string name, string schema);
public virtual Microsoft.EntityFrameworkCore.Metadata.ISequence? FindSequence (string name, string? schema);
abstract member FindSequence : string * string -> Microsoft.EntityFrameworkCore.Metadata.ISequence
override this.FindSequence : string * string -> Microsoft.EntityFrameworkCore.Metadata.ISequence
Public Overridable Function FindSequence (name As String, schema As String) As ISequence
Parameters
- name
- String
The sequence name.
- schema
- String
The schema that contains the sequence.
Returns
The ISequence or null
if no sequence with the given name in
the given schema was found.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework