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
。