Beispiel #1
0
 public static void MapFrom(this IProcessErrorLog target, IProcessErrorLog source)
 {
     if (source != null)
     {
         if (target != null)
         {
             target.Date          = source.Date;
             target.ProcedureName = source.ProcedureName;
             target.ErrorMessage  = source.ErrorMessage;
             target.ErrorSeverity = source.ErrorSeverity;
             target.ErrorState    = source.ErrorState;
             target.Data          = source.Data;
         }
     }
 }
Beispiel #2
0
 public static void MapTo(this IProcessErrorLog source, IProcessErrorLog target)
 {
     target.MapFrom(source);
 }