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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public IcoInterconsultumCollection FetchByID(object IdInterconsulta)
        {
            IcoInterconsultumCollection coll = new IcoInterconsultumCollection().Where("idInterconsulta", IdInterconsulta).Load();

            return(coll);
        }