Esempio n. 1
0
 public override void BeforeProcess()
 {
     foreach (PhysicalObject physical_object in (ArrayList)BusinessObjects["PHYSICAL"])
     {
         IEF.AssertNewFactOrFail("Weight", new object[] { physical_object, physical_object.Weight });
         IEF.AssertNewFactOrFail("GWeight", new object[] { physical_object, physical_object.GWeight });
     }
 }
Esempio n. 2
0
        public override void BeforeProcess()
        {
            foreach (Customer customer in (ArrayList)BusinessObjects["CUSTOMERS"])
            {
                IEF.AssertNewFactOrFail("Location", new object[] { customer, customer.CountryCode });

                foreach (Transaction transaction in customer.Transactions)
                {
                    IEF.AssertNewFactOrFail("Involved In", new object[] { customer, transaction });
                    IEF.AssertNewFactOrFail("Amount", new object[] { transaction, transaction.Amount });
                }
            }
        }
Esempio n. 3
0
 public AccessHelper(IEF ief)
 {
     ef = ief;
 }
Esempio n. 4
0
 public AccessHelper()
 {
     ef = new EF(db);
 }