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

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

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

            return(coll);
        }