Lingua

RelationalColumnAttributeConvention Classe

Definizione

Convenzione che configura il nome e il tipo di colonna per una proprietà in base all'oggetto applicato ColumnAttribute.

[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })]
public class RelationalColumnAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.ColumnAttribute>
public class RelationalColumnAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.ColumnAttribute>
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })>]
type RelationalColumnAttributeConvention = class
    inherit PropertyAttributeConventionBase<ColumnAttribute>
type RelationalColumnAttributeConvention = class
    inherit PropertyAttributeConventionBase<ColumnAttribute>
Public Class RelationalColumnAttributeConvention
Inherits PropertyAttributeConventionBase(Of ColumnAttribute)
Ereditarietà
RelationalColumnAttributeConvention
Attributi

Commenti

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

Costruttori

Nome Descrizione
RelationalColumnAttributeConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Crea una nuova istanza di RelationalColumnAttributeConvention.

Proprietà

Nome Descrizione
Dependencies

Dipendenze per questo servizio.

(Ereditato da PropertyAttributeConventionBase<TAttribute>)
RelationalDependencies

Dipendenze specifiche del provider relazionale per questo servizio.

Metodi

Nome Descrizione
ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

Chiamato dopo l'aggiunta di una proprietà complessa a un oggetto di 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, 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, ColumnAttribute, 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, IConventionContext<IConventionPropertyBuilder>)

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

(Ereditato da PropertyAttributeConventionBase<TAttribute>)
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