Exemplo n.º 1
0
 public wDBTable(string name, DatabaseClient root)
 {
     rootLocation = root.currentFolderLocation;
     dbc = root.Clone();
     dbc.SelectDB("$" + name);
     dbc.SetCurrentDBAsRoot();
     dbc.ReturnToRoot();
 }
Exemplo n.º 2
0
 public wDBTable(string name, DatabaseClient root)
 {
     rootLocation = root.currentFolderLocation;
     dbc          = root.Clone();
     dbc.SelectDB("$" + name);
     dbc.SetCurrentDBAsRoot();
     dbc.ReturnToRoot();
 }
Exemplo n.º 3
0
        public static void CreateTable(string tableName, DatabaseClient parentDB)
        {
            if (parentDB.ExistDB("$" + tableName) == DatabaseClient.DBResponse.Exists) return;
                parentDB.CreateDB("$" + tableName);

            DatabaseClient dbc = parentDB.Clone();
            dbc.SelectDB("$" + tableName);
            dbc.SetValue(".rowsAdded", "0");
        }
Exemplo n.º 4
0
        public static void CreateTable(string tableName, DatabaseClient parentDB)
        {
            if (parentDB.ExistDB("$" + tableName) == DatabaseClient.DBResponse.Exists)
            {
                return;
            }
            parentDB.CreateDB("$" + tableName);

            DatabaseClient dbc = parentDB.Clone();

            dbc.SelectDB("$" + tableName);
            dbc.SetValue(".rowsAdded", "0");
        }
Exemplo n.º 5
0
 public wDBTableRow(DatabaseClient dbc)
 {
     this.dbc = dbc.Clone();
 }
Exemplo n.º 6
0
 public wDBTableRow(DatabaseClient dbc)
 {
     this.dbc = dbc.Clone();
 }