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