RequiredPropertyAttributeConvention Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Convenzione che configura le proprietà in base alle esigenze se sono RequiredAttribute applicate.
[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })]
public class RequiredPropertyAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<System.ComponentModel.DataAnnotations.RequiredAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyFieldChangedConvention
public class RequiredPropertyAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<System.ComponentModel.DataAnnotations.RequiredAttribute>
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })>]
type RequiredPropertyAttributeConvention = class
inherit PropertyAttributeConventionBase<RequiredAttribute>
interface IComplexPropertyAddedConvention
interface IConvention
interface IComplexPropertyFieldChangedConvention
type RequiredPropertyAttributeConvention = class
inherit PropertyAttributeConventionBase<RequiredAttribute>
Public Class RequiredPropertyAttributeConvention
Inherits PropertyAttributeConventionBase(Of RequiredAttribute)
Implements IComplexPropertyAddedConvention, IComplexPropertyFieldChangedConvention
Public Class RequiredPropertyAttributeConvention
Inherits PropertyAttributeConventionBase(Of RequiredAttribute)
- Ereditarietà
- Attributi
- Implementazioni
Commenti
Per altre informazioni ed esempi, vedere Convenzioni di compilazione di modelli.
Costruttori
| Nome | Descrizione |
|---|---|
| RequiredPropertyAttributeConvention(ProviderConventionSetBuilderDependencies) |
Crea una nuova istanza di RequiredPropertyAttributeConvention. |
Proprietà
| Nome | Descrizione |
|---|---|
| Dependencies |
Dipendenze per questo servizio. (Ereditato da PropertyAttributeConventionBase<TAttribute>) |