Closed aa-dit-yuh closed 10 months ago
Reading the EntityLogicalName member of an entity class is a magic that only works for classes written using early/late bound generators.
EntityLogicalName
When writing an entity class by hand, it is not obvious that the class must have a member named EntityLogicalName.
Read the EntityLogicalName attribute on an entity for the logical name seems like a much saner implementation.
Verified that all passing tests still pass after this refactor.
Reading the
EntityLogicalName
member of an entity class is a magic that only works for classes written using early/late bound generators.When writing an entity class by hand, it is not obvious that the class must have a member named
EntityLogicalName
.Read the EntityLogicalName attribute on an entity for the logical name seems like a much saner implementation.
Verified that all passing tests still pass after this refactor.