예제 #1
0
 public void Update(DalExceptionInformation entity)
 {
     _context.Set <ExceptionInformation>().AddOrUpdate(entity.ToOrmExceptionInformation());
 }
예제 #2
0
        public void Delete(DalExceptionInformation entity)
        {
            var exeption = _context.Set <ExceptionInformation>().Single(e => e.Id == entity.Id);

            _context.Set <ExceptionInformation>().Remove(entity.ToOrmExceptionInformation());
        }