Exemple #1
0
        public SysProfesionalCollection FetchByQuery(Query qry)
        {
            SysProfesionalCollection coll = new SysProfesionalCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public SysProfesionalCollection FetchAll()
        {
            SysProfesionalCollection coll = new SysProfesionalCollection();
            Query qry = new Query(SysProfesional.Schema);

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

            return(coll);
        }