Sprache

RequiredPropertyAttributeConvention.ProcessPropertyAdded Methode

Definition

Überlädt

Name Beschreibung
ProcessPropertyAdded(IConventionComplexPropertyBuilder, RequiredAttribute, MemberInfo, IConventionContext)

Wird aufgerufen, nachdem einer komplexen Eigenschaft ein Typ mit einem Attribut für die zugeordnete CLR-Eigenschaft oder das zugehörige Feld hinzugefügt wurde.

ProcessPropertyAdded(IConventionPropertyBuilder, RequiredAttribute, MemberInfo, IConventionContext)

Wird aufgerufen, nachdem dem Entitätstyp eine Eigenschaft mit einem Attribut für die zugeordnete CLR-Eigenschaft oder das zugehörige Feld hinzugefügt wurde.

ProcessPropertyAdded(IConventionComplexPropertyBuilder, RequiredAttribute, MemberInfo, IConventionContext)

Quelle:
RequiredPropertyAttributeConvention.cs
Quelle:
RequiredPropertyAttributeConvention.cs
Quelle:
RequiredPropertyAttributeConvention.cs
Quelle:
RequiredPropertyAttributeConvention.cs

Wird aufgerufen, nachdem einer komplexen Eigenschaft ein Typ mit einem Attribut für die zugeordnete CLR-Eigenschaft oder das zugehörige Feld hinzugefügt wurde.

protected override void ProcessPropertyAdded(Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder propertyBuilder, System.ComponentModel.DataAnnotations.RequiredAttribute attribute, System.Reflection.MemberInfo clrMember, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context);
override this.ProcessPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder * System.ComponentModel.DataAnnotations.RequiredAttribute * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit
Protected Overrides Sub ProcessPropertyAdded (propertyBuilder As IConventionComplexPropertyBuilder, attribute As RequiredAttribute, clrMember As MemberInfo, context As IConventionContext)

Parameter

propertyBuilder
IConventionComplexPropertyBuilder

Der Generator für die Eigenschaft.

attribute
RequiredAttribute

Das Attribut.

clrMember
MemberInfo

Das Element mit dem Attribut.

context
IConventionContext

Zusätzliche Informationen, die mit der Ausführung von Konventionen verknüpft sind.

Gilt für:

ProcessPropertyAdded(IConventionPropertyBuilder, RequiredAttribute, MemberInfo, IConventionContext)

Quelle:
RequiredPropertyAttributeConvention.cs
Quelle:
RequiredPropertyAttributeConvention.cs
Quelle:
RequiredPropertyAttributeConvention.cs
Quelle:
RequiredPropertyAttributeConvention.cs
Quelle:
RequiredPropertyAttributeConvention.cs
Quelle:
RequiredPropertyAttributeConvention.cs
Quelle:
RequiredPropertyAttributeConvention.cs
Quelle:
RequiredPropertyAttributeConvention.cs
Quelle:
RequiredPropertyAttributeConvention.cs

Wird aufgerufen, nachdem dem Entitätstyp eine Eigenschaft mit einem Attribut für die zugeordnete CLR-Eigenschaft oder das zugehörige Feld hinzugefügt wurde.

protected override void ProcessPropertyAdded(Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, System.ComponentModel.DataAnnotations.RequiredAttribute attribute, System.Reflection.MemberInfo clrMember, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context);
override this.ProcessPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * System.ComponentModel.DataAnnotations.RequiredAttribute * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit
Protected Overrides Sub ProcessPropertyAdded (propertyBuilder As IConventionPropertyBuilder, attribute As RequiredAttribute, clrMember As MemberInfo, context As IConventionContext)

Parameter

propertyBuilder
IConventionPropertyBuilder

Der Generator für die Eigenschaft.

attribute
RequiredAttribute

Das Attribut.

clrMember
MemberInfo

Das Element mit dem Attribut.

context
IConventionContext

Zusätzliche Informationen, die mit der Ausführung von Konventionen verknüpft sind.

Gilt für: