Uploaded image for project: 're-motion'
  1. re-motion
  2. RM-3703

The expression classes defined by the re-linq front-end now have unique NodeType values

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.13.92
    • Component/s: Data.Linq
    • Labels:
      None

      Description

      Previously, expressions such as SubQueryExpression, QuerySourceReferenceExpression, and ExtensionExpression all used non-unique default values for their NodeType property.

      This has now changed. re-linq now reserves ExpressionType values from 100000 to 150000 for its own expressions. Custom LINQ providers can use 150001 and above.

      Subclasses of ExtensionExpression can decide whether to use the default value of 150000 or a custom one by choosing the appropriate constructor.

      This change was needed in order to enable re-linq users to apply light-weight transformations using IExpressionTransformer<T> to re-linq-specific expressions.

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                fabian.schmied Fabian Schmied
                Reporter:
                fabian.schmied Fabian Schmied
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: