StoreObjectIdentifier.View(String, String) 方法

定义

创建视图 ID。

public static Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier View (string name, string schema);
public static Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier View (string name, string? schema = default);
static member View : string * string -> Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier
Public Shared Function View (name As String, schema As String) As StoreObjectIdentifier
Public Shared Function View (name As String, Optional schema As String = Nothing) As StoreObjectIdentifier

参数

name
String

视图名称。

schema
String

视图架构。

返回

视图 ID。

适用于