public void Setup() { ActiveRecordStarter.Initialize(GetConfigSource(), typeof(Blog), typeof(Post), typeof(Company), typeof(Award), typeof(Employee), typeof(Person)); Recreate(); ActiveRecordMediator <Post> .DeleteAll(); ActiveRecordMediator <Blog> .DeleteAll(); ActiveRecordMediator <Company> .DeleteAll(); ActiveRecordMediator <Award> .DeleteAll(); ActiveRecordMediator <Employee> .DeleteAll(); }
public static void DeleteAll() { ActiveRecordMediator.DeleteAll(typeof(OtherDbBlog)); }
public static void DeleteAll(string where) { ActiveRecordMediator.DeleteAll(typeof(Blog), where); }
public void DeleteAll() { ActiveRecordMediator <T> .DeleteAll(); }
public static void DeleteAll() { ActiveRecordMediator.DeleteAll(typeof(Group)); }
public static void DeleteAll() { ActiveRecordMediator.DeleteAll(typeof(Widget)); }
/// <summary> /// Registers all entities for deletion when the unit of work /// is completed. /// </summary> public virtual void DeleteAll() { ActiveRecordMediator.DeleteAll(ConcreteType); }
public void DeleteAll(IEnumerable ListaIds) { ActiveRecordMediator <T> .DeleteAll(typeof(T), ListaIds); }
public void DeleteAllWithTaxType(TaxType taxType) { ActiveRecordMediator <Product> .DeleteAll(string.Format("taxTypeId = {0}", taxType.Id)); }