CosmosDiscriminatorConvention Classe
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.
Convention qui configure la valeur du discriminateur pour les types d’entité comme nom de type d’entité.
public class CosmosDiscriminatorConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.DiscriminatorConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention
public class CosmosDiscriminatorConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.DiscriminatorConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyOwnershipChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyRemovedConvention
public class CosmosDiscriminatorConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.DiscriminatorConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyOwnershipChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyRemovedConvention
type CosmosDiscriminatorConvention = class
inherit DiscriminatorConvention
interface IEntityTypeAddedConvention
interface IConvention
type CosmosDiscriminatorConvention = class
inherit DiscriminatorConvention
interface IForeignKeyOwnershipChangedConvention
interface IConvention
interface IForeignKeyRemovedConvention
interface IEntityTypeAddedConvention
type CosmosDiscriminatorConvention = class
inherit DiscriminatorConvention
interface IForeignKeyOwnershipChangedConvention
interface IConvention
interface IForeignKeyRemovedConvention
interface IEntityTypeAddedConvention
interface IEntityTypeAnnotationChangedConvention
Public Class CosmosDiscriminatorConvention
Inherits DiscriminatorConvention
Implements IEntityTypeAddedConvention
Public Class CosmosDiscriminatorConvention
Inherits DiscriminatorConvention
Implements IEntityTypeAddedConvention, IForeignKeyOwnershipChangedConvention, IForeignKeyRemovedConvention
Public Class CosmosDiscriminatorConvention
Inherits DiscriminatorConvention
Implements IEntityTypeAddedConvention, IEntityTypeAnnotationChangedConvention, IForeignKeyOwnershipChangedConvention, IForeignKeyRemovedConvention
- Héritage
- Implémente
Remarques
Pour plus d’informations et d’exemples, consultez Conventions de création de modèles et Accès à Azure Cosmos DB avec EF Core .
Constructeurs
CosmosDiscriminatorConvention(ProviderConventionSetBuilderDependencies) |
Crée une instance de CosmosDiscriminatorConvention. |
Propriétés
Dependencies |
Dépendances pour ce service. (Hérité de DiscriminatorConvention) |