语言

ExpressionExtensions.CreateValueBufferReadValueExpression 方法

定义

创建表示从 /&a0> 读取值的树

此方法通常由数据库提供程序(和其他扩展)使用。 它通常不用于应用程序代码。

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(如果有)。

返回

用于读取值的表达式。

适用于