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