protected FileContextQueryableMethodTranslatingExpressionVisitor(
     FileContextQueryableMethodTranslatingExpressionVisitor parentVisitor)
     : base(parentVisitor.Dependencies, subquery: true)
 {
     _expressionTranslator = parentVisitor._expressionTranslator;
     _weakEntityExpandingExpressionVisitor = parentVisitor._weakEntityExpandingExpressionVisitor;
     _projectionBindingExpressionVisitor   = new FileContextProjectionBindingExpressionVisitor(this, _expressionTranslator);
     _model = parentVisitor._model;
 }
 public FileContextQueryableMethodTranslatingExpressionVisitor(
     QueryableMethodTranslatingExpressionVisitorDependencies dependencies,
     IModel model)
     : base(dependencies, subquery: false)
 {
     _expressionTranslator = new FileContextExpressionTranslatingExpressionVisitor(this);
     _weakEntityExpandingExpressionVisitor = new WeakEntityExpandingExpressionVisitor(_expressionTranslator);
     _projectionBindingExpressionVisitor   = new FileContextProjectionBindingExpressionVisitor(this, _expressionTranslator);
     _model = model;
 }