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]
[System.Runtime.CompilerServices.Nullable(0)]
public class ConstructorBindingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
public class ConstructorBindingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
public class ConstructorBindingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type ConstructorBindingConvention = class
interface IModelFinalizingConvention
interface IConvention
type ConstructorBindingConvention = class
interface IModelFinalizedConvention
interface IConvention
type ConstructorBindingConvention = class
interface IModelFinalizingConvention
interface IConvention
Public Class ConstructorBindingConvention
Implements IModelFinalizingConvention
Public Class ConstructorBindingConvention
Implements IModelFinalizedConvention
- Inheritance
-
ConstructorBindingConvention
- Attributes
- Implements
Remarks
See Model building conventions for more information and examples.
Constructors
| Name | Description |
|---|---|
| ConstructorBindingConvention(ProviderConventionSetBuilderDependencies) |
Creates a new instance of ConstructorBindingConvention. |
Properties
| Name | Description |
|---|---|
| Dependencies |
Dependencies for this service. |
Methods
| Name | Description |
|---|---|
| ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
Called after a model is finalized. |
| ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
Called when a model is being finalized. |