IConstructorBindingFactory.GetBindings Method
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.
Overloads
GetBindings(IConventionEntityType, InstantiationBinding, InstantiationBinding) |
Create a InstantiationBinding for the constructor with most parameters and the constructor with only service property parameters. |
GetBindings(IMutableEntityType, InstantiationBinding, InstantiationBinding) |
Create a InstantiationBinding for the constructor with most parameters and the constructor with only service property parameters. |
GetBindings(IReadOnlyComplexType, InstantiationBinding, InstantiationBinding) |
Create a InstantiationBinding for the constructor with most parameters and the constructor with only service property parameters. |
GetBindings(IReadOnlyEntityType, InstantiationBinding, InstantiationBinding) |
Create a InstantiationBinding for the constructor with most parameters and the constructor with only service property parameters. |
GetBindings(IConventionEntityType, InstantiationBinding, InstantiationBinding)
Create a InstantiationBinding for the constructor with most parameters and the constructor with only service property parameters.
public void GetBindings (Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding constructorBinding, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding? serviceOnlyBinding);
abstract member GetBindings : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * InstantiationBinding * InstantiationBinding -> unit
Public Sub GetBindings (entityType As IConventionEntityType, ByRef constructorBinding As InstantiationBinding, ByRef serviceOnlyBinding As InstantiationBinding)
Parameters
- entityType
- IConventionEntityType
The entity type.
- constructorBinding
- InstantiationBinding
The binding for the constructor with most parameters.
- serviceOnlyBinding
- InstantiationBinding
The binding for the constructor with only service property parameters.
Applies to
GetBindings(IMutableEntityType, InstantiationBinding, InstantiationBinding)
Create a InstantiationBinding for the constructor with most parameters and the constructor with only service property parameters.
public void GetBindings (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding constructorBinding, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding? serviceOnlyBinding);
abstract member GetBindings : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * InstantiationBinding * InstantiationBinding -> unit
Public Sub GetBindings (entityType As IMutableEntityType, ByRef constructorBinding As InstantiationBinding, ByRef serviceOnlyBinding As InstantiationBinding)
Parameters
- entityType
- IMutableEntityType
The entity type.
- constructorBinding
- InstantiationBinding
The binding for the constructor with most parameters.
- serviceOnlyBinding
- InstantiationBinding
The binding for the constructor with only service property parameters.
Applies to
GetBindings(IReadOnlyComplexType, InstantiationBinding, InstantiationBinding)
Create a InstantiationBinding for the constructor with most parameters and the constructor with only service property parameters.
public void GetBindings (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyComplexType complexType, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding constructorBinding, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding? serviceOnlyBinding);
abstract member GetBindings : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyComplexType * InstantiationBinding * InstantiationBinding -> unit
Public Sub GetBindings (complexType As IReadOnlyComplexType, ByRef constructorBinding As InstantiationBinding, ByRef serviceOnlyBinding As InstantiationBinding)
Parameters
- complexType
- IReadOnlyComplexType
The complex type.
- constructorBinding
- InstantiationBinding
The binding for the constructor with most parameters.
- serviceOnlyBinding
- InstantiationBinding
The binding for the constructor with only service property parameters.
Applies to
GetBindings(IReadOnlyEntityType, InstantiationBinding, InstantiationBinding)
Create a InstantiationBinding for the constructor with most parameters and the constructor with only service property parameters.
public void GetBindings (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding constructorBinding, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding? serviceOnlyBinding);
abstract member GetBindings : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * InstantiationBinding * InstantiationBinding -> unit
Public Sub GetBindings (entityType As IReadOnlyEntityType, ByRef constructorBinding As InstantiationBinding, ByRef serviceOnlyBinding As InstantiationBinding)
Parameters
- entityType
- IReadOnlyEntityType
The entity type.
- constructorBinding
- InstantiationBinding
The binding for the constructor with most parameters.
- serviceOnlyBinding
- InstantiationBinding
The binding for the constructor with only service property parameters.
Applies to
Entity Framework