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");
 }
Exemple #2
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);
 }
Exemple #3
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);
 }
Exemple #4
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);
 }
Exemple #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));
 }
 private void InitializeProperties(JadeSoftware.Joob.Client.IJoobConnection connection)
 {
     canHaveDiscount = metaClass.CheckMethod(metaClass, "canHaveDiscount");
     position        = metaClass.CheckProperty("position", typeof(Position));
     setOnCreate     = metaClass.CheckMethod(metaClass, "setOnCreate");
 }
Exemple #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);
 }
 private void InitializeProperties(JadeSoftware.Joob.Client.IJoobConnection connection)
 {
     myShop        = metaClass.CheckProperty("myShop", typeof(Shop));
     setRootObject = metaClass.CheckMethod(metaClass, "setRootObject");
 }