Share via


ExpressionExtensions.CreateValueBufferReadValueExpression Method

Definition

Creates an Expression tree representing reading a value from a ValueBuffer

This method is typically used by database providers (and other extensions). It is generally not used in application code.

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

Parameters

valueBuffer
Expression

The expression that exposes the ValueBuffer.

type
Type

The type to read.

index
Int32

The index in the buffer to read from.

property
IPropertyBase

The IPropertyBase being read if any.

Returns

An expression to read the value.

Applies to