示例#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);
        }