public static IMappingExpression <TSource, TDestination> IgnoreHasDeletionTimeProperties <TSource, TDestination>( this IMappingExpression <TSource, TDestination> mappingExpression) where TDestination : IHasDeletionTime { return(mappingExpression .IgnoreSoftDeleteProperties() .Ignore(x => x.DeletionTime)); }