Share via


ObjectArrayParameterBinding Class

Definition

Describes the binding from many EF model properties, dependency injection services, or metadata types to a new array of objects suitable for passing to a general purpose factory method such as is often used for creating proxies.

public class ObjectArrayParameterBinding : Microsoft.EntityFrameworkCore.Metadata.ParameterBinding
type ObjectArrayParameterBinding = class
    inherit ParameterBinding
Public Class ObjectArrayParameterBinding
Inherits ParameterBinding
Inheritance
ObjectArrayParameterBinding

Remarks

See Entity types with constructors for more information and examples.

Constructors

ObjectArrayParameterBinding(IReadOnlyList<ParameterBinding>)

Creates a new ObjectArrayParameterBinding taking all the given ParameterBinding instances and combining them into one binding that will initialize an array of Object.

Properties

ConsumedProperties

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

(Inherited from ParameterBinding)
ParameterType

The parameter CLR type.

(Inherited from ParameterBinding)

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.

With(IPropertyBase[])

Creates a copy that contains the given consumed properties.

(Inherited from ParameterBinding)

Applies to