共用方式為


EntityLoadInfo 結構

定義

根據從查詢傳回的資料列建立實體實例所需的資訊。

此類型通常由資料庫提供者 (和其他延伸模組) 使用。 它通常不會用於應用程式程式碼。

public struct EntityLoadInfo
public readonly struct EntityLoadInfo
type EntityLoadInfo = struct
Public Structure EntityLoadInfo
繼承
EntityLoadInfo

建構函式

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

初始化 EntityLoadInfo 結構的新執行個體。

EntityLoadInfo(ValueBuffer, Func<ValueBuffer,Object>)

初始化 EntityLoadInfo 結構的新執行個體。

EntityLoadInfo(ValueBuffer, Func<ValueBuffer,Object>, Dictionary<Type,Int32[]>)
已過時。.

初始化 EntityLoadInfo 結構的新執行個體。

屬性

ValueBuffer

取得表示這個實體的資料列。

方法

ForType(Type)

建立新的 ValueBuffer,只包含指定型別實體所需的值。

Materialize()

將資料具體化為實體實例。

WithIndexMap(Dictionary<Type,Int32[]>)

填入結構的 [類型索引對應] 欄位。

適用於