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

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

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

            return(coll);
        }