Udostępnij za pośrednictwem


ParameterBindingInfo Struct

Definition

Carries information about a parameter binding.

[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct ParameterBindingInfo
public readonly struct ParameterBindingInfo
[<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

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.

Properties

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

GetValueBufferIndex(IPropertyBase)

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

Applies to