Esempio n. 1
0
        public BWServer(string host)
        {
            // Boolware definitions
            Host = new Host(host);

            // Company table
            vJaxCompanies = new Table("VJAXCOMPANIES");
            vJaxCompanies.AddColumn(new Column("LOCATIONID", "LOCATIONID", typeof(Int64), Content.Text));
            vJaxCompanies.AddColumn(new Column("VKIID", "Vkiid", typeof(Int64), Content.Text));
            vJaxCompanies.AddColumn(new Column("NAME", "Name", typeof(String), Content.Text));
            vJaxCompanies.AddColumn(new Column("CITYNAME", "Cityname", typeof(String), Content.Text));
            vJaxCompanies.AddColumn(new Column("PHONE", "Phone", typeof(String), Content.Text));

            // Private table
            vJaxPrivates = new Table("VJAXPRIVATES");
            vJaxPrivates.AddColumn(new Column("LOCATIONID", "LOCATIONID", typeof(Int64), Content.Text));
            vJaxPrivates.AddColumn(new Column("VKIID", "Vkiid", typeof(Int64), Content.Text));
            vJaxPrivates.AddColumn(new Column("NAME", "Name", typeof(String), Content.Text));
            vJaxPrivates.AddColumn(new Column("STREETNAME", "Street", typeof(String), Content.Text));
            vJaxPrivates.AddColumn(new Column("CITYNAME", "City", typeof(String), Content.Text));
            vJaxPrivates.AddColumn(new Column("PHONE", "Phone", typeof(String), Content.Text));

            JAX = new Database(Host, "JAX");
            JAX.AddTable(vJaxCompanies);
            JAX.AddTable(vJaxPrivates);
            
            
        }
Esempio n. 2
0
 public Flow(String name, Database database, Table table)
 {
     Name = name;
     Database = database;
     Table = table;
     BuildXmlRequest();
 }