ILiftableConstantFactory.CreateLiftableConstant Method

Definition

This is an experimental API used by the Entity Framework Core feature and it is not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public System.Linq.Expressions.Expression CreateLiftableConstant (object? originalValue, System.Linq.Expressions.Expression<Func<Microsoft.EntityFrameworkCore.Query.MaterializerLiftableConstantContext,object>> resolverExpression, string variableName, Type type);
abstract member CreateLiftableConstant : obj * System.Linq.Expressions.Expression<Func<Microsoft.EntityFrameworkCore.Query.MaterializerLiftableConstantContext, obj>> * string * Type -> System.Linq.Expressions.Expression
Public Function CreateLiftableConstant (originalValue As Object, resolverExpression As Expression(Of Func(Of MaterializerLiftableConstantContext, Object)), variableName As String, type As Type) As Expression

Parameters

originalValue
Object
variableName
String
type
Type

Returns

Applies to