public static IMappingExpression <TLinkedSource, TDestination> MapLinkedSource <TLinkedSource, TDestination>( this IMappingExpression <TLinkedSource, TDestination> expression, Expression <Func <TLinkedSource, object> > sourceProperty) { var mapper = new LinkSourceMapper <TLinkedSource, TDestination>(sourceProperty); return(mapper.MapLinkedSource(expression)); }
public static IMappingExpression <TLinkedSource, TDestination> MapLinkedSource <TLinkedSource, TDestination>(this IMappingExpression <TLinkedSource, TDestination> expression) { var mapper = new LinkSourceMapper <TLinkedSource, TDestination>(); return(mapper.MapLinkedSource(expression)); }