BackingFieldAttributeConvention Class
Definition
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 convention that configures a property as having a backing field based on the BackingFieldAttribute attribute.
public class BackingFieldAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<Microsoft.EntityFrameworkCore.BackingFieldAttribute>
public class BackingFieldAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<Microsoft.EntityFrameworkCore.BackingFieldAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyFieldChangedConvention
type BackingFieldAttributeConvention = class
inherit PropertyAttributeConventionBase<BackingFieldAttribute>
type BackingFieldAttributeConvention = class
inherit PropertyAttributeConventionBase<BackingFieldAttribute>
interface IComplexPropertyAddedConvention
interface IConvention
interface IComplexPropertyFieldChangedConvention
Public Class BackingFieldAttributeConvention
Inherits PropertyAttributeConventionBase(Of BackingFieldAttribute)
Public Class BackingFieldAttributeConvention
Inherits PropertyAttributeConventionBase(Of BackingFieldAttribute)
Implements IComplexPropertyAddedConvention, IComplexPropertyFieldChangedConvention
- Inheritance
- Implements
Remarks
See Model building conventions for more information and examples.
Constructors
BackingFieldAttributeConvention(ProviderConventionSetBuilderDependencies) |
Creates a new instance of BackingFieldAttributeConvention. |
Properties
Dependencies |
Dependencies for this service. (Inherited from PropertyAttributeConventionBase<TAttribute>) |
Methods
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework