Investigate why TypeUsage.GetModelTypeUsage() returns SSpace types for Complex and Entity types. The function is used to get a CSpace type for an SSpace type using the DbProviderManifest if needed.
Interesting points:
- returning SSpace TypeUsage from this methods seems wrong
- I threw an exception from the suspicious code and most (if not all - there were many failures) tests failed on validating arguments when building CQTs
- SSpace does not have a notion of ComplexType
- We are making this method public to make it available for the designer
Comments: **EF Team Triage:** We'll tackle this after EF6 because this is purely a code improvement task and the current code behaves correctly.
Interesting points:
- returning SSpace TypeUsage from this methods seems wrong
- I threw an exception from the suspicious code and most (if not all - there were many failures) tests failed on validating arguments when building CQTs
- SSpace does not have a notion of ComplexType
- We are making this method public to make it available for the designer
Comments: **EF Team Triage:** We'll tackle this after EF6 because this is purely a code improvement task and the current code behaves correctly.