This sample project shows how to provide null-safe lambda expression evaluation, mitigating null checks in expressions such as () => Company.Address.ZipCode.
Automapper doesn't have a MapFrom() method anymore.
It now has generic type params.
After upgrading to AutoMapper 2.0.0.232 I get the following compile error.
The type arguments for method 'AutoMapper.IMemberConfigurationExpression.MapFrom(System.Linq.Expressions.Expression<System.Func<TSource,TMember>>)' cannot be inferred from the usage. Try specifying the type arguments explicitly. C:\Downloads\Code\sandord-NullSafeExpressionSample-v1.01-1-gcb3054f\sandord-NullSafeExpressionSample-cb3054f\NullSafeExpressionSample\AutoMapperExtensions.cs