Поделиться через


ExpressionExtensions.CreateValueBufferReadValueExpression Метод

Определение

Создает Expression дерево, представляющее чтение значения из ValueBuffer

Этот метод обычно используется поставщиками баз данных (и другими расширениями). Обычно он не используется в коде приложения.

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

Параметры

valueBuffer
Expression

Выражение, предоставляющее ValueBufferобъект .

type
Type

Тип для чтения.

index
Int32

Индекс в буфере для чтения.

property
IPropertyBase

Считываемый объект IPropertyBase, если он есть.

Возвращаемое значение

Выражение для чтения значения.

Применяется к