Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for owned types mapped to same table as well as different tables #26706

Closed
wants to merge 2 commits into from

Commits on Nov 16, 2021

  1. Adding support for owned types mapped to same table as well as differ…

    …ent tables
    
    Fix to #26451 - Temporal Table: Owned Entities support
    Fix to #26469 - Query: enable temporal tables for table splitting scenarios
    Fix to #26705 - Query: model building for temporal table with explicitly defined period columns could fail if conventions are executed in a delayed fashion
    
    Just like any other nav expansion, this only works for AsOf operation.
    
    Added extensibility point to SharedTypeEntityExpandingExpressionVisitor so that we can create temporal table expressions representing owned entities, if their owner is also a temporal table expression.
    We also need to match TableExpression information with ITable metadata, for provider specific table-like expressions.
    
    Relaxed validation for table splitting when the table is temporal - it's now allowed as long as all (base type) entities mapped to this table have congruent period and history table mappings.
    
    Column period property is now created explicitly in the temporal table builder rather than relying on conventions to avoid scenario when conventions are delayed and the period property they are supposed to create is not ready by the time we need it.
    maumar committed Nov 16, 2021
    Configuration menu
    Copy the full SHA
    36dcd84 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2021

  1. GfG

    maumar committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    3a9f52e View commit details
    Browse the repository at this point in the history