public static T DeepCopy <T>(this T t)
 {
     return(EntityConverter <T, T> .Convert(t));
 }
 public static T Convert <S, T>(this S source, Action <S, T> manualMap)
     where T : ModelBase
 {
     return(EntityConverter <S, T> .Convert(source, manualMap));
 }
 public static C Convert <S, T, C>(this IEnumerable <S> sourceList, Action <S, T> manualMap)
     where T : ModelBase
     where C : class, ICollection <T>, new()
 {
     return(EntityConverter <S, T> .Convert <C>(sourceList, manualMap));
 }
 public static T Convert <S, T>(this S source)
     where T : ModelBase
 {
     return(EntityConverter <S, T> .Convert(source));
 }