Hi,
I posted this in the wrong forum earlier so am re-posting it here.
Using Entity Developer for nHibernate, is there a way to have the "Key" attribute automatically placed before the primary key properties in all my entities? I've set the "Validation Framework"="DataAnnotations" already. Note that currently the "Required" attribute is added to primary keys automatically but the "Key" attribute isn't.
The reason I want this is that Silverlight WCF RIA domain services needs it. I could add it manually but that's a bit of a hassle.
Thanks
How to auto-generate the WCF RIA [Key] attribute
New build of Entity Developer 4.2.120 is available for download now!
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=23252 .
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=23252 .