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

实现

适用于