-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: V4.0_CSD01
-
Fix Version/s: V4.0_CSD02
-
Component/s: CSDL XML
-
Labels:None
-
Environment:
[Applied]
-
Proposal:
-
Resolution:
Chapters 8 and 9 state that
- Properties MUST NOT have the same name as the declaring entity type.
- Properties MUST NOT have the same name as the declaring complex type.
This sometimes prevents using natural names for properties, e.g.
- EntityType Employee
- EntityType Manager inherits from Employee
- EntityType Employee has NavigationProperty that leads to the manager
The natural name for the navigation property is Manager, but prevented by the above rule. So the navigation property has to be named "TheManager" or "manager" (using different case)