Skip to content

Update Remotion.Linq to v2.0.0-beta.2#2668

Merged
anpete merged 2 commits intodotnet:devfrom
MichaelKetting:UpdateRelinq2.0.0-beta.2
Jul 27, 2015
Merged

Update Remotion.Linq to v2.0.0-beta.2#2668
anpete merged 2 commits intodotnet:devfrom
MichaelKetting:UpdateRelinq2.0.0-beta.2

Conversation

@MichaelKetting
Copy link
Contributor

  • Updated dependency.
  • Updated API changes:
    • Injected stub-implementation for EvaluatableExpressionFilterBase into PartialEvaluatingExpressionTreeProcessor. This can later be changed to exclude specific method/property calls (e.g. DateTime.Now) from partial evaluation.
    • ReferenceReplacingExpressionVisitor is no longer available as extension point. Usages have been replaced with equivalent semantics.
    • FromClause no longer exposes settable properties. The QueryOptimizer has been changed to use a stub object for transferring the values during sub-query flattening.
    • Changed MethodCallEvaluationPreventingExpression and PropertyEvaluationPreventingExpression to non-reducible to work with updated partial evaluation behavior.

Note: #2667 already contains a short description for refactoring the support for DateTime.Now and Guid.NewGuid() via a custom EvaluatableExpressionFilterBase.

* Updated dependency.
* Updated API changes:
** Injected stub-implementation for EvaluatableExpressionFilterBase into PartialEvaluatingExpressionTreeProcessor. This can later be changed to exclude specific method/property calls (e.g. DateTime.Now) from partial evaluation.
** ReferenceReplacingExpressionVisitor is no longer available as extension point. Usages have been replaced with equivalent semantics.
** FromClause no longer exposes settable properties. The QueryOptimizer has been changed to use a stub object for transferring the values during sub-query flattening.
…yEvaluationPreventingExpression non-reducible to work with updated partial evaluation behavior.

The MethodCallEvaluationPreventingExpression and PropertyEvaluationPreventingExpression are only used to circumvent partial evaluation. Making them non-reducible does not have side effects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants