When using the LINQ OR Mapper is there a way to force the designer to use the SQL Meta Data to grab the default value properties and set the Auto Generated Value to True, from the default value of False?
The way it is now when you drag a table from SQL onto the .dbml designer in VS 2008 if there is a default value in the Database say for a integer data field of (0) that does not come over into the designer. I can set it via the Auto Generated Value if I set it to true but if the database schema changes and I need to put the table over to update the schema change then I lose the setting. I would think that by default if there was a Default values present on a field that the OR mapper would set the Auto Generated Value to True.
Start Free Trial