R
Reggie Burnett
Our CommandBuilder class derives from DbCommandBuilder and everything works
except for when there are not column values given in an insert and
DbCommandBuilder wants to generate default values. In that case, it appends
"DEFAULT VALUES" onto the end of the insert command. Why on earth is this
done? The bigger question is why oh why aren't the GetUpdateCommand,
GetDeleteCommand, and GetInsertCommand declared as virtual so we can
override them and still have db neutral code?
Reggie
MySql, Inc.
except for when there are not column values given in an insert and
DbCommandBuilder wants to generate default values. In that case, it appends
"DEFAULT VALUES" onto the end of the insert command. Why on earth is this
done? The bigger question is why oh why aren't the GetUpdateCommand,
GetDeleteCommand, and GetInsertCommand declared as virtual so we can
override them and still have db neutral code?
Reggie
MySql, Inc.