Class ConstructorBindingFactory
- Namespace
- Microsoft.EntityFrameworkCore.Metadata.Internal
- Assembly
- Microsoft.EntityFrameworkCore.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public class ConstructorBindingFactory : IConstructorBindingFactory
- Inheritance
-
ConstructorBindingFactory
- Implements
- Inherited Members
Constructors
ConstructorBindingFactory(IPropertyParameterBindingFactory, IParameterBindingFactories)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public ConstructorBindingFactory(IPropertyParameterBindingFactory propertyFactory, IParameterBindingFactories factories)
Parameters
propertyFactory
IPropertyParameterBindingFactoryfactories
IParameterBindingFactories
Methods
GetBindings(IConventionEntityType, out InstantiationBinding, out InstantiationBinding?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual void GetBindings(IConventionEntityType entityType, out InstantiationBinding constructorBinding, out InstantiationBinding? serviceOnlyBinding)
Parameters
entityType
IConventionEntityTypeconstructorBinding
InstantiationBindingserviceOnlyBinding
InstantiationBinding
GetBindings(IMutableEntityType, out InstantiationBinding, out InstantiationBinding?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual void GetBindings(IMutableEntityType entityType, out InstantiationBinding constructorBinding, out InstantiationBinding? serviceOnlyBinding)
Parameters
entityType
IMutableEntityTypeconstructorBinding
InstantiationBindingserviceOnlyBinding
InstantiationBinding
GetBindings(IReadOnlyComplexType, out InstantiationBinding, out InstantiationBinding?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual void GetBindings(IReadOnlyComplexType complexType, out InstantiationBinding constructorBinding, out InstantiationBinding? serviceOnlyBinding)
Parameters
complexType
IReadOnlyComplexTypeconstructorBinding
InstantiationBindingserviceOnlyBinding
InstantiationBinding
GetBindings(IReadOnlyEntityType, out InstantiationBinding, out InstantiationBinding?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual void GetBindings(IReadOnlyEntityType entityType, out InstantiationBinding constructorBinding, out InstantiationBinding? serviceOnlyBinding)
Parameters
entityType
IReadOnlyEntityTypeconstructorBinding
InstantiationBindingserviceOnlyBinding
InstantiationBinding
TryBindConstructor(IConventionEntityType, ConstructorInfo, out InstantiationBinding?, out IEnumerable<ParameterInfo>?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool TryBindConstructor(IConventionEntityType entityType, ConstructorInfo constructor, out InstantiationBinding? binding, out IEnumerable<ParameterInfo>? unboundParameters)
Parameters
entityType
IConventionEntityTypeconstructor
ConstructorInfobinding
InstantiationBindingunboundParameters
IEnumerable<ParameterInfo>
Returns
TryBindConstructor(IMutableEntityType, ConstructorInfo, out InstantiationBinding?, out IEnumerable<ParameterInfo>?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual bool TryBindConstructor(IMutableEntityType entityType, ConstructorInfo constructor, out InstantiationBinding? binding, out IEnumerable<ParameterInfo>? unboundParameters)
Parameters
entityType
IMutableEntityTypeconstructor
ConstructorInfobinding
InstantiationBindingunboundParameters
IEnumerable<ParameterInfo>