Share via


EntityLoadInfo Struct

Definition

Information required to create an instance of an entity based on a row of data returned from a query.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public struct EntityLoadInfo
public readonly struct EntityLoadInfo
type EntityLoadInfo = struct
Public Structure EntityLoadInfo
Inheritance
EntityLoadInfo

Constructors

EntityLoadInfo(MaterializationContext, Func<MaterializationContext,Object>, Dictionary<Type,Int32[]>)

Initializes a new instance of the EntityLoadInfo struct.

EntityLoadInfo(ValueBuffer, Func<ValueBuffer,Object>, Dictionary<Type,Int32[]>)
Obsolete.

Initializes a new instance of the EntityLoadInfo struct.

EntityLoadInfo(ValueBuffer, Func<ValueBuffer,Object>)

Initializes a new instance of the EntityLoadInfo struct.

Properties

ValueBuffer

Gets the row of data that represents this entity.

Methods

ForType(Type)

Creates a new ValueBuffer containing only the values needed for entities of a given type.

Materialize()

Materializes the data into an entity instance.

WithIndexMap(Dictionary<Type,Int32[]>)

Populates Type Index Map field of the struct.

Applies to