語言

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 是否正在被讀取。

傳回

一個用來讀取數值的表達式。

適用於