protected override DbCommand CreateDbCommand() { DbCommand result = new DbProxyCommand(); result.Connection = this; return(result); }
internal DbProxyDataReader(DbProxyCommand command) { readResult = false; haveRead = false; readResultUsed = false; this.command = command; resultsRead = 0; isClosed = false; visibleFieldCount = 0; schemaTable = new DataTable(); currentIndex = 0; }
new void Dispose(bool disposing) { if (!disposed) { if (disposing) { if (schemaTable != null) { schemaTable.Dispose(); } Close(); command = null; } disposed = true; } }
public DbProxyParameterCollection(DbProxyCommand command) { this.command = command; parameters = new ArrayList(); indexs = new Dictionary <string, int>(); }