Share via


ParameterBinding Class

Definition

Describes the binding from one or many EF model properties, dependency injection services, or metadata types to a parameter in a constructor, factory method, or similar.

[System.Runtime.CompilerServices.Nullable(0)]
public abstract class ParameterBinding
public abstract class ParameterBinding
[<System.Runtime.CompilerServices.Nullable(0)>]
type ParameterBinding = class
type ParameterBinding = class
Public MustInherit Class ParameterBinding
Inheritance
ParameterBinding
Derived
Attributes

Remarks

See Entity types with constructors for more information and examples.

Constructors

Name Description
ParameterBinding(Type, IPropertyBase[])

Creates a new ParameterBinding instance.

Properties

Name Description
ConsumedProperties

The properties that are handled by this binding and so do not need to be set in some other way.

ParameterType

The parameter CLR type.

Methods

Name Description
BindToParameter(ParameterBindingInfo)

Creates an expression tree representing the binding of the value of a property from a materialization expression to a parameter of the constructor, factory method, etc.

With(IPropertyBase[])

Creates a copy that contains the given consumed properties.

Applies to