Gets the automatically generated DbCommand object required to perform updates at the data source.
Assembly: System.Data (in System.Data.dll)
After the SQL statement is first generated, the application must explicitly call RefreshSchema if it changes the statement in any way. Otherwise, the GetUpdateCommand will still be using information from the previous statement, which might not be correct. The SQL statements are first generated either when the application calls Update or GetUpdateCommand.
The default behavior, when generating parameter names, is to use @p1, @p2, and so on for the various parameters. If the overloaded version of DbCommandBuilder to generate parameters based on the column names instead.allows you to specify this behavior, you can cause the