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