EntityLoadInfo Construtores

Definição

Sobrecargas

EntityLoadInfo(ValueBuffer, Func<ValueBuffer,Object>)

Inicializa uma nova instância do struct EntityLoadInfo.

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

Inicializa uma nova instância do struct EntityLoadInfo.

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

Inicializa uma nova instância do struct EntityLoadInfo.

EntityLoadInfo(ValueBuffer, Func<ValueBuffer,Object>)

Inicializa uma nova instância do struct 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))

Parâmetros

valueBuffer
ValueBuffer

A linha de dados que representa essa entidade.

materializer
Func<ValueBuffer,Object>

O método para materializar os dados em uma instância de entidade.

Aplica-se a

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

Inicializa uma nova instância do struct 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)

Parâmetros

materializationContext
MaterializationContext

O atual MaterializationContext para criar a entidade.

materializer
Func<MaterializationContext,Object>

O método para materializar os dados em uma instância de entidade.

typeIndexMap
Dictionary<Type,Int32[]>

Dicionário que contém mapeamento de índices de propriedade para valores no ValueBuffer.

Aplica-se a

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

Cuidado

Use the constructor that also takes a MaterializationContext.

Inicializa uma nova instância do struct 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)

Parâmetros

valueBuffer
ValueBuffer

A linha de dados que representa essa entidade.

materializer
Func<ValueBuffer,Object>

O método para materializar os dados em uma instância de entidade.

typeIndexMap
Dictionary<Type,Int32[]>

Dicionário que contém mapeamento de índices de propriedade para valores no ValueBuffer.

Atributos

Aplica-se a