共用方式為


RelationalModelAnnotations.FindSequence(String, String) 方法

定義

ISequence尋找具有指定名稱的 。

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

參數

name
String

序列名稱。

schema
String

包含序列的架構。

傳回

ISequence null 如果在指定的架構中找不到具有指定名稱的序列,則為 。

實作

適用於