Share via


IRelationalModelAnnotations.FindSequence(String, String) Method

Definition

Finds an ISequence with the given name.

public Microsoft.EntityFrameworkCore.Metadata.ISequence FindSequence (string name, string schema = default);
abstract member FindSequence : string * string -> Microsoft.EntityFrameworkCore.Metadata.ISequence
Public Function FindSequence (name As String, Optional schema As String = Nothing) 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