Esempio n. 1
0
        private void CleanupCreatedEntries()
        {
            if (ordersCreated.Count > 0)
            {
                var context = this.fixture.GetCurrentDataContext();
                foreach (var ord in ordersCreated)
                {
                    fixture.DeleteFinanceOrder(context, ord);
                }

                ordersCreated.Clear();
                context.SaveChanges();
            }
        }