EntityLoadInfo Costruttori

Definizione

Overload

EntityLoadInfo(ValueBuffer, Func<ValueBuffer,Object>)

Inizializza una nuova istanza dell'elemento struct EntityLoadInfo.

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

Inizializza una nuova istanza dell'elemento struct EntityLoadInfo.

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

Inizializza una nuova istanza dell'elemento struct EntityLoadInfo.

EntityLoadInfo(ValueBuffer, Func<ValueBuffer,Object>)

Inizializza una nuova istanza dell'elemento 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))

Parametri

valueBuffer
ValueBuffer

Riga di dati che rappresenta questa entità.

materializer
Func<ValueBuffer,Object>

Metodo per materializzare i dati in un'istanza di entità.

Si applica a

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

Inizializza una nuova istanza dell'elemento 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)

Parametri

materializationContext
MaterializationContext

Oggetto corrente MaterializationContext per la creazione dell'entità.

materializer
Func<MaterializationContext,Object>

Metodo per materializzare i dati in un'istanza di entità.

typeIndexMap
Dictionary<Type,Int32[]>

Dizionario contenente il mapping dagli indici delle proprietà ai valori in ValueBuffer.

Si applica a

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

Attenzione

Use the constructor that also takes a MaterializationContext.

Inizializza una nuova istanza dell'elemento 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)

Parametri

valueBuffer
ValueBuffer

Riga di dati che rappresenta questa entità.

materializer
Func<ValueBuffer,Object>

Metodo per materializzare i dati in un'istanza di entità.

typeIndexMap
Dictionary<Type,Int32[]>

Dizionario contenente il mapping dagli indici delle proprietà ai valori in ValueBuffer.

Attributi

Si applica a