次の方法で共有


StructuralTypeShaperExpression.GenerateMaterializationCondition メソッド

定義

の式 Func<T,TResult> を作成して、具体化する型を決定します。

protected virtual System.Linq.Expressions.LambdaExpression GenerateMaterializationCondition (Microsoft.EntityFrameworkCore.Metadata.ITypeBase type, bool nullable);
abstract member GenerateMaterializationCondition : Microsoft.EntityFrameworkCore.Metadata.ITypeBase * bool -> System.Linq.Expressions.LambdaExpression
override this.GenerateMaterializationCondition : Microsoft.EntityFrameworkCore.Metadata.ITypeBase * bool -> System.Linq.Expressions.LambdaExpression
Protected Overridable Function GenerateMaterializationCondition (type As ITypeBase, nullable As Boolean) As LambdaExpression

パラメーター

type
ITypeBase

具体化条件を作成するタイプ。

nullable
Boolean

このインスタンスを null にできるかどうかを指定します。

戻り値

型の Func<T,TResult> 具体化条件を表す の式。

適用対象