ModelExtensions.IsShared(IModel, Type) Method
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
- model
- IModel
The model to find the entity type in.
- type
- Type
The CLR type.
Whether the CLR type is used by shared type entities in the model.
- Attributes
Product | Versions |
---|---|
Entity Framework Core | 5.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: