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.

public abstract class ParameterBinding
type ParameterBinding = class
Public MustInherit Class ParameterBinding
Inheritance
ParameterBinding
Derived

Remarks

See Entity types with constructors for more information and examples.

Constructors

ParameterBinding(Type, IPropertyBase[])

Creates a new ParameterBinding instance.

Properties

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

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