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

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

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

            return(coll);
        }