Sdílet prostřednictvím


EntityLoadInfo Konstruktory

Definice

Přetížení

EntityLoadInfo(ValueBuffer, Func<ValueBuffer,Object>)

Inicializuje novou instanci EntityLoadInfo struktury.

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

Inicializuje novou instanci EntityLoadInfo struktury.

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

Inicializuje novou instanci EntityLoadInfo struktury.

EntityLoadInfo(ValueBuffer, Func<ValueBuffer,Object>)

Inicializuje novou instanci EntityLoadInfo struktury.

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))

Parametry

valueBuffer
ValueBuffer

Řádek dat, který představuje tuto entitu.

materializer
Func<ValueBuffer,Object>

Metoda materializace dat do instance entity.

Platí pro

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

Zdroj:
EntityLoadInfo.cs
Zdroj:
EntityLoadInfo.cs

Inicializuje novou instanci EntityLoadInfo struktury.

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)

Parametry

materializationContext
MaterializationContext

Aktuální MaterializationContext hodnota pro vytvoření entity.

materializer
Func<MaterializationContext,Object>

Metoda materializace dat do instance entity.

typeIndexMap
Dictionary<Type,Int32[]>

Slovník obsahující mapování z indexů vlastností na hodnoty v ValueBuffer.

Platí pro

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

Zdroj:
EntityLoadInfo.cs
Zdroj:
EntityLoadInfo.cs

Upozornění

Use the constructor that also takes a MaterializationContext.

Inicializuje novou instanci EntityLoadInfo struktury.

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)

Parametry

valueBuffer
ValueBuffer

Řádek dat, který představuje tuto entitu.

materializer
Func<ValueBuffer,Object>

Metoda materializace dat do instance entity.

typeIndexMap
Dictionary<Type,Int32[]>

Slovník obsahující mapování z indexů vlastností na hodnoty v ValueBuffer.

Atributy

Platí pro