共用方式為


RelationalStructuralTypeShaperExpression.GenerateMaterializationCondition 方法

定義

建立 的 Func<T,TResult> 運算式,以判斷要具體化的型別。

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

參數

type
ITypeBase

要為其建立具體化條件的類型。

nullable
Boolean

這個實例是否可以為 Null。

傳回

表示 Func<T,TResult> 型別具體化條件的運算式。

適用於