RelationalModelAnnotations.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 = default);
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableSequence FindSequence (string name, string schema = default);
abstract member FindSequence : string * string -> Microsoft.EntityFrameworkCore.Metadata.ISequence
override this.FindSequence : string * string -> Microsoft.EntityFrameworkCore.Metadata.ISequence
abstract member FindSequence : string * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableSequence
override this.FindSequence : string * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableSequence
Public Overridable Function FindSequence (name As String, Optional schema As String = Nothing) As ISequence
Public Overridable Function FindSequence (name As String, Optional schema As String = Nothing) As IMutableSequence
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.
Implements
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework