ConstructorBindingConvention 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 binds entity type constructor parameters to existing properties and service properties based on their names:
- [parameter name]
- [pascal-cased parameter name]
- _[parameter name]
- _[pascal-cased parameter name]
- m_[parameter name]
- m_[pascal-cased parameter name]
public class ConstructorBindingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
public class ConstructorBindingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type ConstructorBindingConvention = class
interface IModelFinalizedConvention
interface IConvention
type ConstructorBindingConvention = class
interface IModelFinalizingConvention
interface IConvention
Public Class ConstructorBindingConvention
Implements IModelFinalizedConvention
Public Class ConstructorBindingConvention
Implements IModelFinalizingConvention
- Inheritance
-
ConstructorBindingConvention
- Implements
Remarks
See Model building conventions for more information and examples.
Constructors
ConstructorBindingConvention(ProviderConventionSetBuilderDependencies) |
Creates a new instance of ConstructorBindingConvention. |
Properties
Dependencies |
Dependencies for this service. |
Methods
ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
Called after a model is finalized. |
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
Called when a model is being finalized. |
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