Share via


RelationalModelAnnotations.IRelationalModelAnnotations.FindSequence Method

Definition

Finds an ISequence with the given name.

Microsoft.EntityFrameworkCore.Metadata.ISequence IRelationalModelAnnotations.FindSequence (string name, string schema);
abstract member Microsoft.EntityFrameworkCore.Metadata.IRelationalModelAnnotations.FindSequence : string * string -> Microsoft.EntityFrameworkCore.Metadata.ISequence
override this.Microsoft.EntityFrameworkCore.Metadata.IRelationalModelAnnotations.FindSequence : string * string -> Microsoft.EntityFrameworkCore.Metadata.ISequence
Function FindSequence (name As String, schema As String) As ISequence Implements IRelationalModelAnnotations.FindSequence

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