Exemplo n.º 1
0
        public TblTestServiceCollection FetchByQuery(Query qry)
        {
            var coll = new TblTestServiceCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public TblTestServiceCollection FetchAll()
        {
            var coll = new TblTestServiceCollection();
            var qry  = new Query(TblTestService.Schema);

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

            return(coll);
        }