Exemplo n.º 1
0
        public PositionCollection FetchAll()
        {
            PositionCollection coll = new PositionCollection();
            Query qry = new Query(Position.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public PositionCollection FetchByID(object Id)
        {
            PositionCollection coll = new PositionCollection().Where("Id", Id).Load();

            return(coll);
        }