ModelExtensions.IsShared(IModel, Type) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient si le type CLR est utilisé par les entités de type partagé dans le modèle.
[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
Paramètres
- model
- IModel
Modèle dans lequel trouver le type d’entité.
- type
- Type
Type CLR.
Retours
Indique si le type CLR est utilisé par les entités de type partagé dans le modèle.
- Attributs