Example #1
0
        public TblTestServiceCollection FetchByQuery(Query qry)
        {
            TblTestServiceCollection coll = new TblTestServiceCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public TblTestServiceCollection FetchAll()
        {
            TblTestServiceCollection coll = new TblTestServiceCollection();
            Query qry = new Query(TblTestService.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public TblTestServiceCollection FetchByID(object Id)
        {
            TblTestServiceCollection coll = new TblTestServiceCollection().Where("ID", Id).Load();

            return(coll);
        }