System.Data.Common.DbCommandBuilder.GetUpdateCommand C# (CSharp) Method

GetUpdateCommand() public method

public GetUpdateCommand ( ) : DbCommand
return DbCommand
        public DbCommand GetUpdateCommand()
        {
            return GetUpdateCommand(null, false);
        }
        public DbCommand GetUpdateCommand(bool useColumnsForParameterNames)

Same methods

DbCommandBuilder::GetUpdateCommand ( DataRow dataRow, bool useColumnsForParameterNames ) : DbCommand
DbCommandBuilder::GetUpdateCommand ( bool useColumnsForParameterNames ) : DbCommand

Usage Example

示例#1
0
 System.Data.Common.DbCommand CreateUpdateCommand()
 {
     if (_commandBuilder == null)
     {
         CreateDataAdapter();
     }
     return(_commandBuilder.GetUpdateCommand(true));
 }
All Usage Examples Of System.Data.Common.DbCommandBuilder::GetUpdateCommand