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