Share via


ParameterBindingInfo Struct

Definition

Carries information about a parameter binding.

[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct ParameterBindingInfo
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct ParameterBindingInfo
public readonly struct ParameterBindingInfo
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type ParameterBindingInfo = struct
[<System.Runtime.CompilerServices.IsReadOnly>]
type ParameterBindingInfo = struct
type ParameterBindingInfo = struct
Public Structure ParameterBindingInfo
Inheritance
ParameterBindingInfo
Attributes

Remarks

See Entity types with constructors for more information and examples.

Constructors

Name Description
ParameterBindingInfo(EntityMaterializerSourceParameters, Expression)

Creates a new ParameterBindingInfo to define a parameter binding.

ParameterBindingInfo(IEntityType, Expression)

Creates a new ParameterBindingInfo to define a parameter binding.

ParameterBindingInfo(ITypeBase, Expression)

Creates a new ParameterBindingInfo to define a parameter binding.

ParameterBindingInfo(StructuralTypeMaterializerSourceParameters, Expression)

Creates a new ParameterBindingInfo to define a parameter binding.

Properties

Name Description
EntityType

The entity type for this binding.

InstanceName

The name of the instance being materialized.

MaterializationContextExpression

The expression tree from which the parameter value will come.

QueryTrackingBehavior

The query tracking behavior, or null if this materialization is not from a query.

ServiceInstances

Expressions holding initialized instances for service properties.

StructuralType

The entity or complex type for this binding.

Methods

Name Description
GetValueBufferIndex(IPropertyBase)

Gets the index into the ValueBuffer where the property value can be found.

Applies to