EntityLoadInfo 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 Structure EntityLoadInfo

Constructors

EntityLoadInfo(ValueBuffer, Func) EntityLoadInfo(ValueBuffer, Func(Of ValueBuffer, Object))

Initializes a new instance of the EntityLoadInfo struct.

public EntityLoadInfo(ValueBuffer valueBuffer, Func<ValueBuffer, object> materializer)
Public Sub New(valueBuffer As ValueBuffer, materializer As Func(Of ValueBuffer, Object))
Parameters
valueBuffer
ValueBuffer ValueBuffer

The row of data that represents this entity.

materializer
System.Func<ValueBuffer, System.Object> System.Func(Of ValueBuffer, System.Object)

The method to materialize the data into an entity instance.

Properties

ValueBuffer ValueBuffer

Gets the row of data that represents this entity.

public ValueBuffer ValueBuffer { get; }
Public ReadOnly Property ValueBuffer As ValueBuffer

Methods

Equals(Object) Equals(Object)

Inherited from System.ValueType

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.ValueType

GetType() GetType()

Inherited from System.Object

Materialize() Materialize()

Materializes the data into an entity instance.

public object Materialize()
Public Function Materialize As Object
Returns
System.Object System.Object

The entity instance.

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.ValueType