Exemple #1
0
        /// <summary>
        ///
        /// </summary>
        public void InsertTransactionFromSysflex()
        {
            var contexto = new ATLANEntities();

            try
            {
                contexto.Database.CommandTimeout = 2400;
                contexto.usp_ST_SYSFLEX_INSERT_TRANSACTIONS();
            }
            catch (EntityException ex)
            {
                log.LogExeption("Ocurrió un error: ", 2, ex);
                throw;
            }
            catch (Exception ex)
            {
                log.LogExeption("Ocurrió un error: ", 2, ex);
                throw;
            }
            finally
            {
                contexto.Dispose();
            }
        }