Esempio n. 1
0
 private void InitializeProperties(JadeSoftware.Joob.Client.IJoobConnection connection)
 {
     canHaveDiscount = metaClass.CheckMethod(metaClass, "canHaveDiscount");
     login           = metaClass.CheckProperty("login", typeof(String), 30);
     password        = metaClass.CheckProperty("password", typeof(String), 30);
     setOnCreate     = metaClass.CheckMethod(metaClass, "setOnCreate");
 }
Esempio n. 2
0
 private void InitializeProperties(JadeSoftware.Joob.Client.IJoobConnection connection)
 {
     id          = metaClass.CheckProperty("id", typeof(Int32));
     name        = metaClass.CheckProperty("name", typeof(String), 30);
     price       = metaClass.CheckProperty("price", typeof(Decimal), 12, 2);
     setOnCreate = metaClass.CheckMethod(metaClass, "setOnCreate");
     weight      = metaClass.CheckProperty("weight", typeof(Decimal), 12, 2);
 }
Esempio n. 3
0
 private void InitializeProperties(JadeSoftware.Joob.Client.IJoobConnection connection)
 {
     age             = metaClass.CheckProperty("age", typeof(Int32));
     canHaveDiscount = metaClass.CheckMethod(metaClass, "canHaveDiscount");
     cart            = metaClass.CheckProperty("cart", typeof(Cart));
     discount        = metaClass.CheckProperty("discount", typeof(Int32));
     id      = metaClass.CheckProperty("id", typeof(Int32));
     name    = metaClass.CheckProperty("name", typeof(String), 30);
     surname = metaClass.CheckProperty("surname", typeof(String), 30);
 }
Esempio n. 4
0
 private void InitializeProperties(JadeSoftware.Joob.Client.IJoobConnection connection)
 {
     addToCart            = metaClass.CheckMethod(metaClass, "addToCart");
     calculateTotalPrice  = metaClass.CheckMethod(metaClass, "calculateTotalPrice");
     calculateTotalWeight = metaClass.CheckMethod(metaClass, "calculateTotalWeight");
     getTotal             = metaClass.CheckMethod(metaClass, "getTotal");
     id          = metaClass.CheckProperty("id", typeof(Int32));
     items       = metaClass.CheckProperty("items", typeof(Items));
     totalPrice  = metaClass.CheckProperty("totalPrice", typeof(Decimal), 12, 2);
     totalWeight = metaClass.CheckProperty("totalWeight", typeof(Decimal), 12, 2);
 }
Esempio n. 5
0
 private void InitializeProperties(JadeSoftware.Joob.Client.IJoobConnection connection)
 {
     cartID          = metaClass.CheckProperty("cartID", typeof(Int32));
     createCustomers = metaClass.CheckMethod(metaClass, "createCustomers");
     createEmployees = metaClass.CheckMethod(metaClass, "createEmployees");
     createItems     = metaClass.CheckMethod(metaClass, "createItems");
     createPositions = metaClass.CheckMethod(metaClass, "createPositions");
     createShop      = metaClass.CheckMethod(metaClass, "createShop");
     customers       = metaClass.CheckProperty("customers", typeof(CustomersById));
     employees       = metaClass.CheckProperty("employees", typeof(EmployeesById));
     itemID          = metaClass.CheckProperty("itemID", typeof(Int32));
     items           = metaClass.CheckProperty("items", typeof(ItemsByName));
     nextCartId      = metaClass.CheckMethod(metaClass, "nextCartId");
     nextItemID      = metaClass.CheckMethod(metaClass, "nextItemID");
     nextPersonID    = metaClass.CheckMethod(metaClass, "nextPersonID");
     personID        = metaClass.CheckProperty("personID", typeof(Int32));
     positions       = metaClass.CheckProperty("positions", typeof(Positions));
 }
Esempio n. 6
0
 private void InitializeProperties(JadeSoftware.Joob.Client.IJoobConnection connection)
 {
     canHaveDiscount = metaClass.CheckMethod(metaClass, "canHaveDiscount");
     position        = metaClass.CheckProperty("position", typeof(Position));
     setOnCreate     = metaClass.CheckMethod(metaClass, "setOnCreate");
 }
Esempio n. 7
0
 private void InitializeProperties(JadeSoftware.Joob.Client.IJoobConnection connection)
 {
     salary      = metaClass.CheckProperty("salary", typeof(Int32));
     setOnCreate = metaClass.CheckMethod(metaClass, "setOnCreate");
     title       = metaClass.CheckProperty("title", typeof(String), 30);
 }
Esempio n. 8
0
 private void InitializeProperties(JadeSoftware.Joob.Client.IJoobConnection connection)
 {
     myShop        = metaClass.CheckProperty("myShop", typeof(Shop));
     setRootObject = metaClass.CheckMethod(metaClass, "setRootObject");
 }