Пример #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 });
     }
 }
Пример #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 });
                }
            }
        }
Пример #3
0
 public AccessHelper(IEF ief)
 {
     ef = ief;
 }
Пример #4
0
 public AccessHelper()
 {
     ef = new EF(db);
 }