public CosmosQueryableMethodTranslatingExpressionVisitor(
     IModel model,
     ISqlExpressionFactory sqlExpressionFactory,
     IMemberTranslatorProvider memberTranslatorProvider,
     IMethodCallTranslatorProvider methodCallTranslatorProvider)
 {
     _sqlExpressionFactory = sqlExpressionFactory;
     _sqlTranslator        = new CosmosSqlTranslatingExpressionVisitor(
         model,
         sqlExpressionFactory,
         memberTranslatorProvider,
         methodCallTranslatorProvider);
     _projectionBindingExpressionVisitor = new CosmosProjectionBindingExpressionVisitor(_sqlTranslator);
 }
Exemple #2
0
 public CosmosProjectionBindingExpressionVisitor(CosmosSqlTranslatingExpressionVisitor sqlTranslator)
 {
     _sqlTranslator = sqlTranslator;
 }