次の方法で共有


IEntityMaterializerSource.CreateReadValueExpression メソッド

定義

からの値の Expression 読み取りを表すツリーを作成します。 ValueBuffer

このメソッドは、通常、データベース プロバイダー (およびその他の拡張機能) によって使用されます。 通常、アプリケーション コードでは使用されません。

public System.Linq.Expressions.Expression CreateReadValueExpression (System.Linq.Expressions.Expression valueBuffer, Type type, int index, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property);
abstract member CreateReadValueExpression : System.Linq.Expressions.Expression * Type * int * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> System.Linq.Expressions.Expression
Public Function CreateReadValueExpression (valueBuffer As Expression, type As Type, index As Integer, property As IPropertyBase) As Expression

パラメーター

valueBuffer
Expression

を公開する ValueBuffer式。

type
Type

読み取る型。

index
Int32

読み取るバッファー内のインデックス。

property
IPropertyBase

読み取られる IPropertyBase (ある場合)。

戻り値

値を読み取る式。

適用対象