PropertyDiscoveryConvention Classe
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Uma convenção que adiciona propriedades a tipos de entidade correspondentes a propriedades públicas escalares no tipo CLR.
[System.Runtime.CompilerServices.Nullable(0)]
public class PropertyDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention
public class PropertyDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type PropertyDiscoveryConvention = class
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeBaseTypeChangedConvention
interface IComplexPropertyAddedConvention
type PropertyDiscoveryConvention = class
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeBaseTypeChangedConvention
Public Class PropertyDiscoveryConvention
Implements IComplexPropertyAddedConvention, IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention
Public Class PropertyDiscoveryConvention
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention
- Herança
-
PropertyDiscoveryConvention
- Atributos
- Implementações
Comentários
Consulte as convenções de criação de modelos para obter mais informações e exemplos.
Construtores
| Nome | Descrição |
|---|---|
| PropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies, Boolean) |
Cria uma nova instância de PropertyDiscoveryConvention. |
| PropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies) |
Cria uma nova instância de PropertyDiscoveryConvention. |
Propriedades
| Nome | Descrição |
|---|---|
| Dependencies |
Dependências para esse serviço. |
| UseAttributes |
Um valor que indica se a convenção usará atributos encontrados nos membros. |