public override DbCommand CreateDbCommand(DbSelectLastInsertIdStatement _query)
        {
            DB2Command command = ((DB2Connection)DbConnection).CreateCommand();

            command.CommandText = _query.ToString();
            return(command);
        }
Exemple #2
0
        public override DbCommand CreateDbCommand(DbSelectLastInsertIdStatement clause)
        {
            OracleCommand command = ((OracleConnection)DbConnection).CreateCommand();

            command.CommandText = clause.ToString();
            return(command);
        }
 public override DbCommand CreateDbCommand(DbSelectLastInsertIdStatement _query)
 {
     return(new OleDbCommand(_query.ToString(), (OleDbConnection)DbConnection));
 }