public void UpdateProcess(LogData log)//string id, int statu,DateTime endDate) { using (var dbaccess = DatabaseFactory.CreateDbAccess(DatabaseType.Oracle, "EXCEPTIONUSR", AccessEnvironment.Product)) { dbaccess.ExecuteNonQuery("EXCEPTIONUSR.EXP_PKG.PROC_UPDATE_ORTEC_LOG", new List <IDataParameter> { new OracleParameter("P_ID", log.Id), new OracleParameter("P_STATU", log.State), new OracleParameter("P_ENDTIME", log.EndTime), }); } }
/// <summary> /// Tamamlanan her data aktarım işleminin hepsine birden verilen isim process. /// </summary> /// <param name="log"></param> public void InitiliazeProcess(LogData log)//string appName, string id, DateTime startTime, string ip, string host, string method) { using (var dbaccess = DatabaseFactory.CreateDbAccess(DatabaseType.Oracle, "EXCEPTIONUSR", AccessEnvironment.Product)) { dbaccess.ExecuteNonQuery("EXCEPTIONUSR.EXP_PKG.PROC_INITILIAZE_ORTEC_LOG", new List <IDataParameter> { new OracleParameter("P_ID", log.Id), new OracleParameter("P_STARTTIME", log.StartTime), new OracleParameter("P_METHOD", log.Method), new OracleParameter("P_SOURCE_IP", log.Ip), new OracleParameter("P_HOST", log.Host), new OracleParameter("P_APPNAME", log.AppName) }); } }