IRelationalLiftableConstantFactory.CreateLiftableConstant Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Microsoft.EntityFrameworkCore.Query.LiftableConstantExpression CreateLiftableConstant (object? originalValue, System.Linq.Expressions.Expression<Func<Microsoft.EntityFrameworkCore.Query.RelationalMaterializerLiftableConstantContext,object>> resolverExpression, string variableName, Type type);
abstract member CreateLiftableConstant : obj * System.Linq.Expressions.Expression<Func<Microsoft.EntityFrameworkCore.Query.RelationalMaterializerLiftableConstantContext, obj>> * string * Type -> Microsoft.EntityFrameworkCore.Query.LiftableConstantExpression
Public Function CreateLiftableConstant (originalValue As Object, resolverExpression As Expression(Of Func(Of RelationalMaterializerLiftableConstantContext, Object)), variableName As String, type As Type) As LiftableConstantExpression
Parameters
- originalValue
- Object
- resolverExpression
- Expression<Func<RelationalMaterializerLiftableConstantContext,Object>>
- variableName
- String
- type
- Type
Returns
Applies to
Entity Framework