Пример #1
0
        public PositionCollection FetchAll()
        {
            PositionCollection coll = new PositionCollection();
            Query qry = new Query(Position.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public PositionCollection FetchByID(object Id)
        {
            PositionCollection coll = new PositionCollection().Where("Id", Id).Load();

            return(coll);
        }