public static void MapFrom(this IProcessLog target, IProcessLog source) { if (source != null) { if (target != null) { target.Date = source.Date; target.ProcedureName = source.ProcedureName; target.Data = source.Data; } } }
public static void MapTo(this IProcessLog source, IProcessLog target) { target.MapFrom(source); }