PropertyAttributeConventionBase<TAttribute> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A base type for conventions that perform configuration based on an attribute applied to a property.
public abstract class PropertyAttributeConventionBase<TAttribute> : Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyFieldChangedConvention where TAttribute : Attribute
type PropertyAttributeConventionBase<'Attribute (requires 'Attribute :> Attribute)> = class
interface IPropertyAddedConvention
interface IConvention
interface IPropertyFieldChangedConvention
Public MustInherit Class PropertyAttributeConventionBase(Of TAttribute)
Implements IPropertyAddedConvention, IPropertyFieldChangedConvention
- TAttribute
The attribute type to look for.
- Inheritance
-
PropertyAttributeConventionBase<TAttribute>
- Derived
- Implements
The deriving class must implement IPropertyAddedConvention and IPropertyFieldChangedConvention to also handle complex properties.
See Model building conventions for more information and examples.
Property |
Creates a new instance of PropertyAttributeConventionBase<TAttribute>. |
Dependencies |
Dependencies for this service. |
Proizvod | Verzije |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Povratne informacije o proizvodu Entity Framework
Entity Framework je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: