public ConAgendaProfesionalCollection FetchByQuery(Query qry)
        {
            ConAgendaProfesionalCollection coll = new ConAgendaProfesionalCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public ConAgendaProfesionalCollection FetchAll()
        {
            ConAgendaProfesionalCollection coll = new ConAgendaProfesionalCollection();
            Query qry = new Query(ConAgendaProfesional.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public ConAgendaProfesionalCollection FetchByID(object IdAgendaProfesional)
        {
            ConAgendaProfesionalCollection coll = new ConAgendaProfesionalCollection().Where("idAgendaProfesional", IdAgendaProfesional).Load();

            return(coll);
        }