ModelExtensions.IsShared(IModel, Type) 方法

定義

取得模型中的共用類型實體是否使用 CLR 類型。

[System.Diagnostics.DebuggerStepThrough]
public static bool IsShared (this Microsoft.EntityFrameworkCore.Metadata.IModel model, Type type);
[<System.Diagnostics.DebuggerStepThrough>]
static member IsShared : Microsoft.EntityFrameworkCore.Metadata.IModel * Type -> bool
<Extension()>
Public Function IsShared (model As IModel, type As Type) As Boolean

參數

model
IModel

要尋找實體類型的模型。

type
Type

CLR 型別。

傳回

模型中的共用類型實體是否使用 CLR 類型。

屬性

適用於