internal virtual Expression VisitNavigationPropertySingletonExpression(NavigationPropertySingletonExpression npse)
        {
            Expression source = this.Visit(npse.Source);

            if (source != npse.Source)
            {
                npse = new NavigationPropertySingletonExpression(npse.Type, source, npse.MemberExpression, npse.MemberExpression.Type, npse.ExpandPaths, npse.CountOption, npse.CustomQueryOptions, npse.Projection);
            }

            return npse;
        }
示例#2
0
        internal virtual Expression VisitNavigationPropertySingletonExpression(NavigationPropertySingletonExpression npse)
        {
            Expression source = this.Visit(npse.Source);

            if (source != npse.Source)
            {
                npse = new NavigationPropertySingletonExpression(npse.Type, source, npse.MemberExpression, npse.MemberExpression.Type, npse.ExpandPaths, npse.CountOption, npse.CustomQueryOptions, npse.Projection);
            }

            return(npse);
        }
 internal override Expression VisitNavigationPropertySingletonExpression(NavigationPropertySingletonExpression npse)
 {
     throw new NotSupportedException("Navigation not supported.");
 }
示例#4
0
 internal override Expression VisitNavigationPropertySingletonExpression(NavigationPropertySingletonExpression npse)
 {
     throw new NotSupportedException("Navigation not supported.");
 }