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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public AprCalendarioVisitaCollection FetchByID(object IdCalendarioVisitas)
        {
            AprCalendarioVisitaCollection coll = new AprCalendarioVisitaCollection().Where("idCalendarioVisitas", IdCalendarioVisitas).Load();

            return(coll);
        }