Class NpgsqlShapedQueryExpressionExtensions
- Assembly
- Npgsql.EntityFrameworkCore.PostgreSQL.dll
This is an internal API that supports the Entity Framework Core infrastructure and 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 static class NpgsqlShapedQueryExpressionExtensions
- Inheritance
-
NpgsqlShapedQueryExpressionExtensions
- Inherited Members
Methods
TryConvertValuesToArray(ShapedQueryExpression, out SqlExpression?, bool, bool)
If the given source
wraps a ValuesExpression without any additional clauses (e.g. filter,
ordering...), converts that to a NewArrayExpression and returns that.
public static bool TryConvertValuesToArray(this ShapedQueryExpression source, out SqlExpression? array, bool ignoreOrderings = false, bool ignorePredicate = false)
Parameters
source
ShapedQueryExpressionarray
SqlExpressionignoreOrderings
boolignorePredicate
bool
Returns
Remarks
This is an internal API that supports the Entity Framework Core infrastructure and 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.
TryExtractArray(ShapedQueryExpression, out SqlExpression?, out ColumnExpression?, bool, bool)
If the given source
wraps an array-returning expression without any additional clauses (e.g. filter,
ordering...), returns that expression.
public static bool TryExtractArray(this ShapedQueryExpression source, out SqlExpression? array, out ColumnExpression? projectedColumn, bool ignoreOrderings = false, bool ignorePredicate = false)
Parameters
source
ShapedQueryExpressionarray
SqlExpressionprojectedColumn
ColumnExpressionignoreOrderings
boolignorePredicate
bool
Returns
Remarks
This is an internal API that supports the Entity Framework Core infrastructure and 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.
TryExtractArray(ShapedQueryExpression, out SqlExpression?, bool, bool)
If the given source
wraps an array-returning expression without any additional clauses (e.g. filter,
ordering...), returns that expression.
public static bool TryExtractArray(this ShapedQueryExpression source, out SqlExpression? array, bool ignoreOrderings = false, bool ignorePredicate = false)
Parameters
source
ShapedQueryExpressionarray
SqlExpressionignoreOrderings
boolignorePredicate
bool
Returns
Remarks
This is an internal API that supports the Entity Framework Core infrastructure and 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.