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

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

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

            return(coll);
        }