Пример #1
0
 public NpgsqlSqlTranslatingExpressionVisitor(
     RelationalSqlTranslatingExpressionVisitorDependencies dependencies,
     IModel model,
     QueryableMethodTranslatingExpressionVisitor queryableMethodTranslatingExpressionVisitor)
     : base(dependencies, model, queryableMethodTranslatingExpressionVisitor)
 {
     _sqlExpressionFactory = (NpgsqlSqlExpressionFactory)dependencies.SqlExpressionFactory;
     _jsonPocoTranslator   = ((NpgsqlMemberTranslatorProvider)Dependencies.MemberTranslatorProvider).JsonPocoTranslator;
 }
Пример #2
0
 public NpgsqlSqlTranslatingExpressionVisitor(
     [NotNull] RelationalSqlTranslatingExpressionVisitorDependencies dependencies,
     [NotNull] QueryCompilationContext queryCompilationContext,
     [NotNull] QueryableMethodTranslatingExpressionVisitor queryableMethodTranslatingExpressionVisitor)
     : base(dependencies, queryCompilationContext, queryableMethodTranslatingExpressionVisitor)
 {
     _sqlExpressionFactory = (NpgsqlSqlExpressionFactory)dependencies.SqlExpressionFactory;
     _jsonPocoTranslator   = ((NpgsqlMemberTranslatorProvider)Dependencies.MemberTranslatorProvider).JsonPocoTranslator;
     _typeMappingSource    = dependencies.TypeMappingSource;
 }