Condividi tramite


PrecisionAttributeConvention Classe

Definizione

Convenzione che configura la precisione in base all'oggetto PrecisionAttribute applicato alla proprietà .

public class PrecisionAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<Microsoft.EntityFrameworkCore.PrecisionAttribute>
type PrecisionAttributeConvention = class
    inherit PropertyAttributeConventionBase<PrecisionAttribute>
Public Class PrecisionAttributeConvention
Inherits PropertyAttributeConventionBase(Of PrecisionAttribute)
Ereditarietà

Commenti

Per altre informazioni ed esempi, vedere Convenzioni di compilazione di modelli.

Costruttori

PrecisionAttributeConvention(ProviderConventionSetBuilderDependencies)

Crea una nuova istanza di PrecisionAttributeConvention.

Proprietà

Dependencies

Dipendenze per questo servizio.

(Ereditato da PropertyAttributeConventionBase<TAttribute>)

Metodi

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

Chiamato dopo l'aggiunta di una proprietà complessa a un oggetto simile al tipo.

(Ereditato da PropertyAttributeConventionBase<TAttribute>)
ProcessComplexPropertyFieldChanged(IConventionComplexPropertyBuilder, FieldInfo, FieldInfo, IConventionContext<FieldInfo>)

Chiamato dopo la modifica del campo sottostante per una proprietà complessa.

(Ereditato da PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyAdded(IConventionComplexPropertyBuilder, PrecisionAttribute, MemberInfo, IConventionContext)

Convenzione che configura la precisione in base all'oggetto PrecisionAttribute applicato alla proprietà .

ProcessPropertyAdded(IConventionComplexPropertyBuilder, TAttribute, MemberInfo, IConventionContext)

Chiamato dopo l'aggiunta di una proprietà complessa a un tipo con un attributo nella proprietà o nel campo CLR associato.

(Ereditato da PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyAdded(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

Chiamato dopo l'aggiunta di una proprietà al tipo di entità.

(Ereditato da PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyAdded(IConventionPropertyBuilder, PrecisionAttribute, MemberInfo, IConventionContext)

Chiamato dopo l'aggiunta di una proprietà al tipo di entità con un attributo nella proprietà o nel campo CLR associato.

ProcessPropertyAdded(IConventionPropertyBuilder, TAttribute, MemberInfo, IConventionContext)

Chiamato dopo l'aggiunta di una proprietà al tipo di entità con un attributo nella proprietà o nel campo CLR associato.

(Ereditato da PropertyAttributeConventionBase<TAttribute>)
ProcessPropertyFieldChanged(IConventionPropertyBuilder, FieldInfo, FieldInfo, IConventionContext<FieldInfo>)

Chiamato dopo la modifica del campo sottostante per una proprietà.

(Ereditato da PropertyAttributeConventionBase<TAttribute>)

Si applica a