Condividi tramite


ExpressionExtensions.CreateValueBufferReadValueExpression Metodo

Definizione

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

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

public static System.Linq.Expressions.Expression CreateValueBufferReadValueExpression (this System.Linq.Expressions.Expression valueBuffer, Type type, int index, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property);
public static System.Linq.Expressions.Expression CreateValueBufferReadValueExpression (this System.Linq.Expressions.Expression valueBuffer, Type type, int index, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase? property);
static member CreateValueBufferReadValueExpression : System.Linq.Expressions.Expression * Type * int * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> System.Linq.Expressions.Expression
<Extension()>
Public Function CreateValueBufferReadValueExpression (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 letto se presente.

Restituisce

Espressione per leggere il valore.

Si applica a