This question is locked. New answers and comments are not allowed.
In my model, which was converted over from Entity Framework, many of the associations came over from Entity Framework as 1:Many associations in that it is expected that there would always be a reference to a particular entity. When I edit those associations in the visual designer, it always changes them to:
SourceMultiplicity="ZeroOne"
in the XML file, so they become 0-1:Many associations. There is no way to edit these values from the visual designer at all, so I get the impression that in reality every association is really a 0-1:Many in OpenAccess? How would an association ever get converted to a 1:Many association?
Also, related to this I noticed something annoying. Whenever I change the association it always renamed the backing fields for the properties involved in the endpoints. The properties themselves don't get renamed, but the backing fields do? For instance I might have a property called 'Products', and the backing field is '_Products' and then when I edit the association and save it, the backing field gets changed to '_Products1'. I know we never deal directly the backing fields, so the name is not that important, but it does cloud my change lists with a bunch of irrelevant changes in the XML file.
Is there any reason it cannot use the original name of the backing fields in this case?
SourceMultiplicity="ZeroOne"
in the XML file, so they become 0-1:Many associations. There is no way to edit these values from the visual designer at all, so I get the impression that in reality every association is really a 0-1:Many in OpenAccess? How would an association ever get converted to a 1:Many association?
Also, related to this I noticed something annoying. Whenever I change the association it always renamed the backing fields for the properties involved in the endpoints. The properties themselves don't get renamed, but the backing fields do? For instance I might have a property called 'Products', and the backing field is '_Products' and then when I edit the association and save it, the backing field gets changed to '_Products1'. I know we never deal directly the backing fields, so the name is not that important, but it does cloud my change lists with a bunch of irrelevant changes in the XML file.
Is there any reason it cannot use the original name of the backing fields in this case?