示例#1
0
        private void CleanupCreatedEntries()
        {
            var context = this.fixture.GetCurrentDataContext();

            foreach (var oid in objectsCreated)
            {
                fixture.DeleteLearnObject(context, oid);
            }

            objectsCreated.Clear();

            context.SaveChanges();
        }