Share via


PropertyParameterBinding Class

Definition

Describes the binding from an IProperty to a parameter in a constructor, factory method, or similar.

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

Remarks

See Entity types with constructors for more information and examples.

Constructors

PropertyParameterBinding(IProperty)

Creates a new PropertyParameterBinding instance for the given IProperty.

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