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