Skip to content

Introduce aggregating TableExpression as implementation detail for multi-table mappings #29035

Description

@smitpatel

Following TpcTablesExpression for TPT & EntitySplitting which would be replaced by basic object in same way. This would allow us to identify principal table(s) to pull owned data when table sharing more accurately.

Currently we have this code

var t = (TableExpression)UnwrapJoinExpression(e);
return t.Name == table.Name && t.Schema == table.Schema;

It could match incorrect table if same entity is being joined multiple times in the query and using owned navigations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions