brucegonewild
Programmer
Hi there...
So our company has decided to continue on using the dreadfull generated datasets that come with .NET (instead of using something like entity-spaces etc)...
In any event, I have a field in my DB-Table which is a "Computed field". Meaning, its value is calculated. So obviously when updating or inserting, I shouldn't be touching this field at all.
Here's the problem: When the dumb-generated-data sets create the "Insert", "Update" commands, the forcefully try to write to this field and of course I get an error saying "You cannot update the field, since it's a computed column".
Please let me know if you have any idea in training the dumb-generated-datasets to not update or insert values into certain fields (specially the computed fields!!)
cheers!
So our company has decided to continue on using the dreadfull generated datasets that come with .NET (instead of using something like entity-spaces etc)...
In any event, I have a field in my DB-Table which is a "Computed field". Meaning, its value is calculated. So obviously when updating or inserting, I shouldn't be touching this field at all.
Here's the problem: When the dumb-generated-data sets create the "Insert", "Update" commands, the forcefully try to write to this field and of course I get an error saying "You cannot update the field, since it's a computed column".
Please let me know if you have any idea in training the dumb-generated-datasets to not update or insert values into certain fields (specially the computed fields!!)
cheers!