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

GetInsertCommand() public method

public GetInsertCommand ( ) : DbCommand
return DbCommand
        public DbCommand GetInsertCommand()
        {
            return GetInsertCommand(null, false);
        }

Same methods

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

Usage Example

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