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

GetDeleteCommand() public method

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

Same methods

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

Usage Example

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