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.