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