public int Insert(Models.AreaPreventa oAreaPreventa)
        {
            Guid methodOwnerID = new Guid("24190a12-df18-4b0c-9987-4a8a08956858");

            OpenDbConn();

            if (cDblib.Transaction.ownerID.Equals(new Guid()))
            {
                cDblib.beginTransaction(methodOwnerID);
            }

            try
            {
                DAL.AreaPreventa cAreaPreventa = new DAL.AreaPreventa(cDblib);

                int idAreaPreventa = cAreaPreventa.Insert(oAreaPreventa);

                //Finalizar transacción
                if (cDblib.Transaction.ownerID.Equals(methodOwnerID))
                {
                    cDblib.commitTransaction(methodOwnerID);
                }

                return(idAreaPreventa);
            }
            catch (Exception ex)
            {
                //rollback
                if (cDblib.Transaction.ownerID.Equals(methodOwnerID))
                {
                    cDblib.rollbackTransaction(methodOwnerID);
                }

                throw ex;
            }
        }