ModelExtensions.IsShared(IModel, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets whether the CLR type is used by shared type entities in the model.
[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
Parameters
- model
- IModel
The model to find the entity type in.
- type
- Type
The CLR type.
Returns
Whether the CLR type is used by shared type entities in the model.
- Attributes
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework