Table of Contents

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 IPropertyParameterBindingFactory
factories 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 IConventionEntityType
constructorBinding InstantiationBinding
serviceOnlyBinding 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 IMutableEntityType
constructorBinding InstantiationBinding
serviceOnlyBinding 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 IReadOnlyComplexType
constructorBinding InstantiationBinding
serviceOnlyBinding 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 IReadOnlyEntityType
constructorBinding InstantiationBinding
serviceOnlyBinding 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 IConventionEntityType
constructor ConstructorInfo
binding InstantiationBinding
unboundParameters IEnumerable<ParameterInfo>

Returns

bool

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 IMutableEntityType
constructor ConstructorInfo
binding InstantiationBinding
unboundParameters IEnumerable<ParameterInfo>

Returns

bool