Exemplo n.º 1
0
        protected override DbCommand CreateDbCommand()
        {
            DbCommand result = new DbProxyCommand();

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