Devforce creates EntityPropertyDescriptors for each property in the entities in the model. The problem is that if I have properties in my entities that are the same as members in EntityPropertyDescriptor, I get a compiler warning about the property hiding the member.
For instance:
Warning 19 'HEDataIB.EntityPropertyDescriptors.EmployerPropertyDescriptor.Name' hides inherited member 'System.ComponentModel.MemberDescriptor.Name'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. c:\data\healthequity\ideabladetestef\healthequity\hedata\hedata.healthequitydb.designer.cs 18140 40 HEDataIB
I have run into this for Name, Description, and Category. These three names seem like they might be popular members of entities and so it is annoying to get the warning. I have worked around this for the moment by renaming my members, but that is a bit annoying to have to do. Is there any other way to work around this?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum