Compartir a través de


EntityLoadInfo Constructores

Definición

Sobrecargas

EntityLoadInfo(ValueBuffer, Func<ValueBuffer,Object>)

Inicializa una nueva instancia del struct EntityLoadInfo.

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

Inicializa una nueva instancia del struct EntityLoadInfo.

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

Inicializa una nueva instancia del struct EntityLoadInfo.

EntityLoadInfo(ValueBuffer, Func<ValueBuffer,Object>)

Inicializa una nueva instancia del 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

Fila de datos que representa esta entidad.

materializer
Func<ValueBuffer,Object>

Método para materializar los datos en una instancia de entidad.

Se aplica a

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

Source:
EntityLoadInfo.cs
Source:
EntityLoadInfo.cs

Inicializa una nueva instancia del 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

Objeto actual MaterializationContext para crear la entidad.

materializer
Func<MaterializationContext,Object>

Método para materializar los datos en una instancia de entidad.

typeIndexMap
Dictionary<Type,Int32[]>

Diccionario que contiene la asignación de índices de propiedad a valores de ValueBuffer.

Se aplica a

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

Source:
EntityLoadInfo.cs
Source:
EntityLoadInfo.cs

Precaución

Use the constructor that also takes a MaterializationContext.

Inicializa una nueva instancia del 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

Fila de datos que representa esta entidad.

materializer
Func<ValueBuffer,Object>

Método para materializar los datos en una instancia de entidad.

typeIndexMap
Dictionary<Type,Int32[]>

Diccionario que contiene la asignación de índices de propiedad a valores de ValueBuffer.

Atributos

Se aplica a