R
Roger Tranchez
The problem I'm coming across now is that I can't update such a column,
because I have set the auto generated value to true, and LINQ won't let me
change such a value, a la "System.InvalidOperationException: Value of member
'Activated' of an object of type 'Customers' changed. A member that is
computed or generated by the database cannot be changed."
This is fine for identity fields, but the field I'm updating is a bit that
starts off FALSE on every record, and is later updated to TRUE. How can I
resolve this, so that when inserting records I don't have to include this
column, yet when updating records I can change its value?
because I have set the auto generated value to true, and LINQ won't let me
change such a value, a la "System.InvalidOperationException: Value of member
'Activated' of an object of type 'Customers' changed. A member that is
computed or generated by the database cannot be changed."
This is fine for identity fields, but the field I'm updating is a bit that
starts off FALSE on every record, and is later updated to TRUE. How can I
resolve this, so that when inserting records I don't have to include this
column, yet when updating records I can change its value?