It's done now, I made JetDbConnection inherit DbConnection.
There's still another problem with property "Transaction" of JetDbCommand. In setter, the value is usually OleDbTransaction in place of JetDbTransaction. So, there is an casting exception with line:
Quote:
_transaction = (JetDbTransaction) value;
In meantime, I change this line of code to:
Quote:
_transaction = value is JetDbTransaction?(JetTransaction)value:new JetDbTransaction(this._connection,(OleDbTransaction) value);
I think the new one is still not good. Do you have any ideal?