Пример #1
0
        public PhpssGroupCollection FetchByQuery(Query qry)
        {
            PhpssGroupCollection coll = new PhpssGroupCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public PhpssGroupCollection FetchAll()
        {
            PhpssGroupCollection coll = new PhpssGroupCollection();
            Query qry = new Query(PhpssGroup.Schema);

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

            return(coll);
        }