Exemplo n.º 1
0
        internal virtual Expression VisitNavigationPropertySingletonExpression(NavigationPropertySingletonExpression npse)
        {
            Expression expression = Visit(npse.Source);

            if (expression != npse.Source)
            {
                npse = new NavigationPropertySingletonExpression(npse.Type, expression, npse.MemberExpression, npse.MemberExpression.Type, npse.ExpandPaths, npse.CountOption, npse.CustomQueryOptions, npse.Projection);
            }
            return(npse);
        }
Exemplo n.º 2
0
 internal override Expression VisitNavigationPropertySingletonExpression(NavigationPropertySingletonExpression npse)
 {
     throw new NotSupportedException("Navigation not supported.");
 }