RelationalModelAnnotations.FindSequence(String, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
如果在指定的架構中找不到具有指定名稱的序列,則為 。