Condividi tramite


IEntityMaterializerSource.CreateReadValueExpression Metodo

Definizione

Crea un Expression albero che rappresenta la lettura di un valore da un ValueBuffer

Questo metodo viene in genere usato dai provider di database (e altre estensioni). In genere non viene usato nel codice dell'applicazione.

public System.Linq.Expressions.Expression CreateReadValueExpression (System.Linq.Expressions.Expression valueBuffer, Type type, int index, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property);
abstract member CreateReadValueExpression : System.Linq.Expressions.Expression * Type * int * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> System.Linq.Expressions.Expression
Public Function CreateReadValueExpression (valueBuffer As Expression, type As Type, index As Integer, property As IPropertyBase) As Expression

Parametri

valueBuffer
Expression

Espressione che espone l'oggetto ValueBuffer.

type
Type

Tipo da leggere.

index
Int32

Indice nel buffer da cui leggere.

property
IPropertyBase

IPropertyBase da leggere se presente.

Restituisce

Espressione per leggere il valore.

Si applica a