상속: SqlExpressionVisitor
예제 #1
0
        public static RelatedPropertiesJoinExpanderResults Expand(DataAccessModel model, Expression expression)
        {
            expression = SqlProjectionSelectExpander.Expand(expression);

            var visitor = new RelatedPropertiesJoinExpander(model);

            var processedExpression = visitor.Visit(expression);

            return(new RelatedPropertiesJoinExpanderResults(visitor.replacementExpressionForPropertyPathsByJoin)
            {
                ProcessedExpression = processedExpression,
                IncludedPropertyInfos = visitor.includedPropertyInfos
            });
        }
		public static RelatedPropertiesJoinExpanderResults Expand(DataAccessModel model, Expression expression)
		{
			expression = SqlProjectionSelectExpander.Expand(expression);

			var visitor = new RelatedPropertiesJoinExpander(model);

			var processedExpression = visitor.Visit(expression);

			return new RelatedPropertiesJoinExpanderResults(visitor.replacementExpressionForPropertyPathsByJoin)
			{
				ProcessedExpression = processedExpression,
				IncludedPropertyInfos = visitor.includedPropertyInfos
			};
		}