Exemplo n.º 1
0
 public NavisionDBTable(NavisionDBConnection Connection, NavisionDBUser User)
 {
     if (User == null)
     {
         throw new Exception("Error: User must be defined");
     }
     this.conexion = Connection;
     if (!this.ValidarUsuario(User))
     {
         throw new Exception("Error: User is a Nonvalid user");
     }
     this.Tabla = -1;
     this.TablaStr = "";
     this.usuario = User;
     this.Filtros = new TableFilters();
     this.NoColumnas = false;
     this.Reves = false;
     this.Claves = null;
     this.ClaveNavisionFormat = null;
     this.ClavesStr = null;
     this.Columnas = null;
     this.ColumnaStr = null;
     this.inserciones = null;
     this.actualizaciones = null;
     this.nombreColumnas = null;
     this.numeroColumnas = null;
     this.numeroCampos = 0;
     this.soloPrimeraFila = false;
 }
Exemplo n.º 2
0
 public void Reset()
 {
     this.Tabla = -1;
     this.TablaStr = "";
     this.Filtros = new TableFilters();
     this.NoColumnas = false;
     this.Reves = false;
     this.Claves = null;
     this.ClaveNavisionFormat = null;
     this.ClavesStr = null;
     this.Columnas = null;
     this.ColumnaStr = null;
     this.inserciones = null;
     this.actualizaciones = null;
     this.nombreColumnas = null;
     this.numeroColumnas = null;
     this.numeroCampos = 0;
     this.soloPrimeraFila = false;
 }