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