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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public AprPartoProvisorioCollection FetchByID(object IdParto)
        {
            AprPartoProvisorioCollection coll = new AprPartoProvisorioCollection().Where("idParto", IdParto).Load();

            return(coll);
        }