Please modify the PLINQO templates to automatically add the "GuidAttribute"
attribute to the accessor for the primary key columns were the ColumnSchema
does not report a default value. It is my opinion that this will increase the
usability of the templates and save the user additional time.
Currently, CS/PLINQO users must either manually stuff a value for the key
property, before doing an Insert, when the PK is a uniqueidentifier and the
column does not have a default value. The other option is for them to manually
alter the Metadata class and add the "GuidAttribute" attribute to allow
framework to automatically set the value. Since these are the only two options
for user, and since the framework will handle the latter automatically, it only
make sense that it be added to the template.
Thanx,
Fred
Original issue reported on code.google.com by fred.lac...@gmail.com on 1 Dec 2010 at 12:02
Original issue reported on code.google.com by
fred.lac...@gmail.com
on 1 Dec 2010 at 12:02