示例#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);
        }