public CurrentStatusCollection FetchAll() { CurrentStatusCollection coll = new CurrentStatusCollection(); Query qry = new Query(CurrentStatus.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public CurrentStatusCollection FetchByQuery(Query qry) { CurrentStatusCollection coll = new CurrentStatusCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public CurrentStatusCollection FetchByID(object Id) { CurrentStatusCollection coll = new CurrentStatusCollection().Where("ID", Id).Load(); return coll; }