Język

ExpressionExtensions.CreateValueBufferReadValueExpression Metoda

Definicja

Expression Tworzy drzewo reprezentujące odczytywanie wartości z elementuValueBuffer

Ta metoda jest zwykle używana przez dostawców baz danych (i innych rozszerzeń). Zwykle nie jest używany w kodzie aplikacji.

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

Parametry

valueBuffer
Expression

Wyrażenie, które uwidacznia ValueBufferelement .

type
Type

Typ do odczytania.

index
Int32

Indeks w buforze do odczytu.

property
IPropertyBase

IPropertyBase jest odczytywany, jeśli istnieje.

Zwraca

Wyrażenie do odczytania wartości.

Dotyczy