Exemplo n.º 1
0
 public void TestMethod1()
 {
     LogDAL dal = new LogDAL();
     Log log = new Log { Thread = "1", Exception = "Test", Description = "test", Time = DateTime.Now };
     int result = dal.Insert(log);
     Console.WriteLine(result);
 }
Exemplo n.º 2
0
        public void TestMethod1()
        {
            LogDAL dal = new LogDAL();
            Log    log = new Log {
                Thread = "1", Exception = "Test", Description = "test", Time = DateTime.Now
            };
            int result = dal.Insert(log);

            Console.WriteLine(result);
        }
Exemplo n.º 3
0
 /// <summary>
 /// Ejecuta método de DAL para inserta un log en la base
 /// </summary>
 /// <param name="log">Entidad Log</param>
 public void Execute(Log log)
 {
     logDAL.Insert(log);
 }