共用方式為


EntityLoadInfo 建構函式

定義

多載

EntityLoadInfo(ValueBuffer, Func<ValueBuffer,Object>)

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

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

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

EntityLoadInfo(ValueBuffer, Func<ValueBuffer,Object>, Dictionary<Type,Int32[]>)
已淘汰.

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

EntityLoadInfo(ValueBuffer, Func<ValueBuffer,Object>)

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

public EntityLoadInfo (Microsoft.EntityFrameworkCore.Storage.ValueBuffer valueBuffer, Func<Microsoft.EntityFrameworkCore.Storage.ValueBuffer,object> materializer);
new Microsoft.EntityFrameworkCore.Query.EntityLoadInfo : Microsoft.EntityFrameworkCore.Storage.ValueBuffer * Func<Microsoft.EntityFrameworkCore.Storage.ValueBuffer, obj> -> Microsoft.EntityFrameworkCore.Query.EntityLoadInfo
Public Sub New (valueBuffer As ValueBuffer, materializer As Func(Of ValueBuffer, Object))

參數

valueBuffer
ValueBuffer

代表此實體的資料列。

materializer
Func<ValueBuffer,Object>

將資料具體化為實體實例的方法。

適用於

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

來源:
EntityLoadInfo.cs
來源:
EntityLoadInfo.cs

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

public EntityLoadInfo (in Microsoft.EntityFrameworkCore.Storage.MaterializationContext materializationContext, Func<Microsoft.EntityFrameworkCore.Storage.MaterializationContext,object> materializer, System.Collections.Generic.Dictionary<Type,int[]> typeIndexMap = default);
new Microsoft.EntityFrameworkCore.Query.EntityLoadInfo : MaterializationContext * Func<Microsoft.EntityFrameworkCore.Storage.MaterializationContext, obj> * System.Collections.Generic.Dictionary<Type, int[]> -> Microsoft.EntityFrameworkCore.Query.EntityLoadInfo
Public Sub New (ByRef materializationContext As MaterializationContext, materializer As Func(Of MaterializationContext, Object), Optional typeIndexMap As Dictionary(Of Type, Integer()) = Nothing)

參數

materializationContext
MaterializationContext

用於建立實體的目前 MaterializationContext

materializer
Func<MaterializationContext,Object>

將資料具體化為實體實例的方法。

typeIndexMap
Dictionary<Type,Int32[]>

字典,其中包含從屬性索引對應到 ValueBuffer 中的值。

適用於

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

來源:
EntityLoadInfo.cs
來源:
EntityLoadInfo.cs

警告

Use the constructor that also takes a MaterializationContext.

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

public EntityLoadInfo (Microsoft.EntityFrameworkCore.Storage.ValueBuffer valueBuffer, Func<Microsoft.EntityFrameworkCore.Storage.ValueBuffer,object> materializer, System.Collections.Generic.Dictionary<Type,int[]> typeIndexMap = default);
[System.Obsolete("Use the constructor that also takes a MaterializationContext.")]
public EntityLoadInfo (Microsoft.EntityFrameworkCore.Storage.ValueBuffer valueBuffer, Func<Microsoft.EntityFrameworkCore.Storage.ValueBuffer,object> materializer, System.Collections.Generic.Dictionary<Type,int[]> typeIndexMap = default);
new Microsoft.EntityFrameworkCore.Query.EntityLoadInfo : Microsoft.EntityFrameworkCore.Storage.ValueBuffer * Func<Microsoft.EntityFrameworkCore.Storage.ValueBuffer, obj> * System.Collections.Generic.Dictionary<Type, int[]> -> Microsoft.EntityFrameworkCore.Query.EntityLoadInfo
[<System.Obsolete("Use the constructor that also takes a MaterializationContext.")>]
new Microsoft.EntityFrameworkCore.Query.EntityLoadInfo : Microsoft.EntityFrameworkCore.Storage.ValueBuffer * Func<Microsoft.EntityFrameworkCore.Storage.ValueBuffer, obj> * System.Collections.Generic.Dictionary<Type, int[]> -> Microsoft.EntityFrameworkCore.Query.EntityLoadInfo
Public Sub New (valueBuffer As ValueBuffer, materializer As Func(Of ValueBuffer, Object), Optional typeIndexMap As Dictionary(Of Type, Integer()) = Nothing)

參數

valueBuffer
ValueBuffer

代表此實體的資料列。

materializer
Func<ValueBuffer,Object>

將資料具體化為實體實例的方法。

typeIndexMap
Dictionary<Type,Int32[]>

字典,其中包含從屬性索引對應到 ValueBuffer 中的值。

屬性

適用於