コード例 #1
0
        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));
        }
コード例 #2
0
        public static IMappingExpression <TLinkedSource, TDestination> MapLinkedSource <TLinkedSource, TDestination>(this IMappingExpression <TLinkedSource, TDestination> expression)
        {
            var mapper = new LinkSourceMapper <TLinkedSource, TDestination>();

            return(mapper.MapLinkedSource(expression));
        }