@tsonic/efcore-npgsql 10.0.1 → 10.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/Microsoft.EntityFrameworkCore/bindings.json +737 -0
  2. package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +20 -0
  3. package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +5 -0
  4. package/Microsoft.Extensions.DependencyInjection/bindings.json +6 -0
  5. package/Npgsql/bindings.json +3099 -41
  6. package/Npgsql/internal/index.d.ts +142 -22
  7. package/Npgsql.BackendMessages/bindings.json +7 -0
  8. package/Npgsql.EntityFrameworkCore.PostgreSQL/bindings.json +39 -1
  9. package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/index.d.ts +7 -2
  10. package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/bindings.json +179 -0
  11. package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/index.d.ts +17 -2
  12. package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/bindings.json +22 -0
  13. package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/bindings.json +8 -0
  14. package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/bindings.json +59 -1
  15. package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/index.d.ts +8 -3
  16. package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/bindings.json +275 -16
  17. package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.d.ts +35 -11
  18. package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal.d.ts +1 -1
  19. package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.d.ts +2 -2
  20. package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/bindings.json +120 -31
  21. package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.d.ts +6 -8
  22. package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/bindings.json +150 -0
  23. package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/bindings.json +480 -4
  24. package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/index.d.ts +50 -10
  25. package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions.d.ts +4 -4
  26. package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/bindings.json +85 -0
  27. package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/bindings.json +763 -8
  28. package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/index.d.ts +47 -5
  29. package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/bindings.json +94 -0
  30. package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/index.d.ts +10 -3
  31. package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal.d.ts +2 -2
  32. package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/bindings.json +42 -0
  33. package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.d.ts +5 -4
  34. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/bindings.json +31 -0
  35. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/bindings.json +410 -0
  36. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/bindings.json +53 -0
  37. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/bindings.json +1093 -9
  38. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.d.ts +103 -15
  39. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/bindings.json +2356 -296
  40. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/index.d.ts +157 -17
  41. package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal.d.ts +6 -5
  42. package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/bindings.json +25 -0
  43. package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/bindings.json +508 -4
  44. package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/index.d.ts +44 -11
  45. package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/bindings.json +23 -0
  46. package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/bindings.json +4017 -129
  47. package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/index.d.ts +435 -53
  48. package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.d.ts +5 -4
  49. package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/bindings.json +16 -0
  50. package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/bindings.json +257 -2
  51. package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/index.d.ts +29 -5
  52. package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.d.ts +5 -2
  53. package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/bindings.json +20 -0
  54. package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/bindings.json +137 -1
  55. package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/index.d.ts +16 -3
  56. package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal.d.ts +3 -1
  57. package/Npgsql.EntityFrameworkCore.PostgreSQL.d.ts +1 -1
  58. package/Npgsql.Internal/bindings.json +884 -15
  59. package/Npgsql.Internal/internal/index.d.ts +43 -9
  60. package/Npgsql.Internal.Postgres/bindings.json +81 -0
  61. package/Npgsql.Internal.d.ts +1 -1
  62. package/Npgsql.NameTranslation/bindings.json +30 -0
  63. package/Npgsql.PostgresTypes/bindings.json +144 -12
  64. package/Npgsql.PostgresTypes/internal/index.d.ts +12 -9
  65. package/Npgsql.Replication/bindings.json +166 -11
  66. package/Npgsql.Replication/internal/index.d.ts +6 -5
  67. package/Npgsql.Replication.Internal/bindings.json +26 -1
  68. package/Npgsql.Replication.Internal/internal/index.d.ts +1 -0
  69. package/Npgsql.Replication.PgOutput/bindings.json +160 -6
  70. package/Npgsql.Replication.PgOutput/internal/index.d.ts +4 -3
  71. package/Npgsql.Replication.PgOutput.Messages/bindings.json +513 -83
  72. package/Npgsql.Replication.PgOutput.Messages/internal/index.d.ts +43 -40
  73. package/Npgsql.Replication.TestDecoding/bindings.json +40 -2
  74. package/Npgsql.Replication.TestDecoding/internal/index.d.ts +1 -1
  75. package/Npgsql.Schema/bindings.json +87 -54
  76. package/Npgsql.Schema/internal/index.d.ts +33 -27
  77. package/Npgsql.TypeMapping/bindings.json +17 -0
  78. package/Npgsql.Util/bindings.json +4 -0
  79. package/Npgsql.d.ts +1 -1
  80. package/NpgsqlTypes/bindings.json +871 -4
  81. package/NpgsqlTypes/internal/index.d.ts +3 -1
  82. package/package.json +1 -1
@@ -5,17 +5,21 @@
5
5
  // Primitive type aliases from @tsonic/core
6
6
  import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
7
 
8
+ // Import support types from @tsonic/core
9
+ import type { ptr } from "@tsonic/core/types.js";
10
+
8
11
  // Import types from other namespaces
9
12
  import type { INpgsqlSingletonOptions } from "../../Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.js";
13
+ import type { PgAllExpression, PgAnyExpression, PgArrayIndexExpression, PgArraySliceExpression, PgBinaryExpression, PgDeleteExpression, PgFunctionExpression, PgILikeExpression, PgJsonTraversalExpression, PgNewArrayExpression, PgRegexMatchExpression, PgRowValueExpression, PgTableValuedFunctionExpression, PgUnknownBinaryExpression } from "../../Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.js";
10
14
  import type { IReadOnlyList } from "@tsonic/dotnet/System.Collections.Generic.js";
11
15
  import * as System_Internal from "@tsonic/dotnet/System.js";
12
- import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Type, Version } from "@tsonic/dotnet/System.js";
16
+ import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Type, Version, Void } from "@tsonic/dotnet/System.js";
13
17
  import * as System_Linq_Expressions_Internal from "@tsonic/dotnet/System.Linq.Expressions.js";
14
- import type { Expression, ExpressionVisitor } from "@tsonic/dotnet/System.Linq.Expressions.js";
15
- import type { IModel } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js";
18
+ import type { BinaryExpression, ConditionalExpression, Expression, ExpressionVisitor, LambdaExpression, MethodCallExpression, NewArrayExpression, NewExpression, UnaryExpression } from "@tsonic/dotnet/System.Linq.Expressions.js";
19
+ import type { IModel, IProperty } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js";
16
20
  import * as Microsoft_EntityFrameworkCore_Query_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.js";
17
- import type { CompiledQueryCacheKeyGeneratorDependencies, EvaluatableExpressionFilterDependencies, ICompiledQueryCacheKeyGenerator, IEvaluatableExpressionFilter, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryCompilationContextFactory, IQuerySqlGeneratorFactory, IQueryTranslationPostprocessorFactory, IRelationalParameterBasedSqlProcessorFactory, IRelationalSqlTranslatingExpressionVisitorFactory, ParametersCacheDecorator, QueryableMethodTranslatingExpressionVisitor, QueryableMethodTranslatingExpressionVisitorDependencies, QueryCompilationContext, QueryCompilationContextDependencies, QueryContext, QuerySqlGenerator, QuerySqlGeneratorDependencies, QueryTranslationPostprocessor, QueryTranslationPostprocessorDependencies, RelationalCompiledQueryCacheKeyGenerator, RelationalCompiledQueryCacheKeyGeneratorDependencies, RelationalEvaluatableExpressionFilter, RelationalEvaluatableExpressionFilterDependencies, RelationalParameterBasedSqlProcessor, RelationalParameterBasedSqlProcessorDependencies, RelationalParameterBasedSqlProcessorParameters, RelationalQueryableMethodTranslatingExpressionVisitor, RelationalQueryableMethodTranslatingExpressionVisitorDependencies, RelationalQueryCompilationContext, RelationalQueryCompilationContextDependencies, RelationalQueryTranslationPostprocessor, RelationalQueryTranslationPostprocessorDependencies, RelationalSqlTranslatingExpressionVisitor, RelationalSqlTranslatingExpressionVisitorDependencies, RelationalTypeMappingPostprocessor, SqlNullabilityProcessor, SqlTreePruner } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.js";
18
- import type { SqlExpression } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.SqlExpressions.js";
21
+ import type { CompiledQueryCacheKeyGeneratorDependencies, EvaluatableExpressionFilterDependencies, ICompiledQueryCacheKeyGenerator, IEvaluatableExpressionFilter, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryCompilationContextFactory, IQuerySqlGeneratorFactory, IQueryTranslationPostprocessorFactory, IRelationalParameterBasedSqlProcessorFactory, IRelationalSqlTranslatingExpressionVisitorFactory, JsonQueryExpression, ParametersCacheDecorator, QueryableMethodTranslatingExpressionVisitor, QueryableMethodTranslatingExpressionVisitorDependencies, QueryCompilationContext, QueryCompilationContextDependencies, QueryContext, QuerySqlGenerator, QuerySqlGeneratorDependencies, QueryTranslationPostprocessor, QueryTranslationPostprocessorDependencies, RelationalCompiledQueryCacheKeyGenerator, RelationalCompiledQueryCacheKeyGeneratorDependencies, RelationalEvaluatableExpressionFilter, RelationalEvaluatableExpressionFilterDependencies, RelationalParameterBasedSqlProcessor, RelationalParameterBasedSqlProcessorDependencies, RelationalParameterBasedSqlProcessorParameters, RelationalQueryableMethodTranslatingExpressionVisitor, RelationalQueryableMethodTranslatingExpressionVisitorDependencies, RelationalQueryCompilationContext, RelationalQueryCompilationContextDependencies, RelationalQueryTranslationPostprocessor, RelationalQueryTranslationPostprocessorDependencies, RelationalSqlTranslatingExpressionVisitor, RelationalSqlTranslatingExpressionVisitorDependencies, RelationalTypeMappingPostprocessor, ShapedQueryExpression, SqlNullabilityProcessor, SqlTreePruner } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.js";
22
+ import type { CollateExpression, CrossApplyExpression, DeleteExpression, JsonScalarExpression, OrderingExpression, OuterApplyExpression, SelectExpression, SetOperationBase, SqlBinaryExpression, SqlConstantExpression, SqlExpression, SqlFunctionExpression, SqlUnaryExpression, TableExpression, TableExpressionBase, UpdateExpression, ValuesExpression } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.SqlExpressions.js";
19
23
  import type { IRelationalTypeMappingSource } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js";
20
24
 
21
25
  export enum NpgsqlSqlTranslatingExpressionVisitor_StartsEndsWithContains {
@@ -37,7 +41,12 @@ export const NpgsqlCompiledQueryCacheKeyGenerator: {
37
41
 
38
42
  export type NpgsqlCompiledQueryCacheKeyGenerator = NpgsqlCompiledQueryCacheKeyGenerator$instance;
39
43
 
40
- export interface NpgsqlDeleteConvertingExpressionVisitor$instance extends ExpressionVisitor {
44
+ export abstract class NpgsqlDeleteConvertingExpressionVisitor$protected {
45
+ protected VisitDelete(deleteExpression: DeleteExpression): Expression;
46
+ }
47
+
48
+
49
+ export interface NpgsqlDeleteConvertingExpressionVisitor$instance extends NpgsqlDeleteConvertingExpressionVisitor$protected, ExpressionVisitor {
41
50
  Process(node: Expression): Expression;
42
51
  }
43
52
 
@@ -61,7 +70,12 @@ export const NpgsqlEvaluatableExpressionFilter: {
61
70
 
62
71
  export type NpgsqlEvaluatableExpressionFilter = NpgsqlEvaluatableExpressionFilter$instance;
63
72
 
64
- export interface NpgsqlParameterBasedSqlProcessor$instance extends RelationalParameterBasedSqlProcessor {
73
+ export abstract class NpgsqlParameterBasedSqlProcessor$protected {
74
+ protected ProcessSqlNullability(selectExpression: Expression, parametersDecorator: ParametersCacheDecorator): Expression;
75
+ }
76
+
77
+
78
+ export interface NpgsqlParameterBasedSqlProcessor$instance extends NpgsqlParameterBasedSqlProcessor$protected, RelationalParameterBasedSqlProcessor {
65
79
  Process(queryExpression: Expression, parametersDecorator: ParametersCacheDecorator): Expression;
66
80
  }
67
81
 
@@ -85,18 +99,48 @@ export const NpgsqlParameterBasedSqlProcessorFactory: {
85
99
 
86
100
  export type NpgsqlParameterBasedSqlProcessorFactory = NpgsqlParameterBasedSqlProcessorFactory$instance;
87
101
 
88
- export interface NpgsqlQueryableMethodTranslatingExpressionVisitor$instance extends RelationalQueryableMethodTranslatingExpressionVisitor {
102
+ export abstract class NpgsqlQueryableMethodTranslatingExpressionVisitor$protected {
103
+ protected CreateSubqueryVisitor(): QueryableMethodTranslatingExpressionVisitor;
104
+ protected GenerateJsonPartialUpdateSetter(target: Expression, value: SqlExpression, existingSetterValue: SqlExpression): SqlExpression | undefined;
105
+ protected IsNaturallyOrdered(selectExpression: SelectExpression): boolean;
106
+ protected IsOrdered(selectExpression: SelectExpression): boolean;
107
+ protected IsValidSelectExpressionForExecuteDelete(selectExpression: SelectExpression): boolean;
108
+ protected IsValidSelectExpressionForExecuteUpdate(selectExpression: SelectExpression, targetTable: TableExpressionBase, tableExpression: TableExpression): boolean;
109
+ protected TransformJsonQueryToTable(jsonQueryExpression: JsonQueryExpression): ShapedQueryExpression;
110
+ protected TranslateAll(source: ShapedQueryExpression, predicate: LambdaExpression): ShapedQueryExpression | undefined;
111
+ protected TranslateAny(source: ShapedQueryExpression, predicate: LambdaExpression): ShapedQueryExpression | undefined;
112
+ protected TranslateConcat(source1: ShapedQueryExpression, source2: ShapedQueryExpression): ShapedQueryExpression;
113
+ protected TranslateContains(source: ShapedQueryExpression, item: Expression): ShapedQueryExpression | undefined;
114
+ protected TranslateCount(source: ShapedQueryExpression, predicate: LambdaExpression): ShapedQueryExpression | undefined;
115
+ protected TranslateElementAtOrDefault(source: ShapedQueryExpression, index: Expression, returnDefault: boolean): ShapedQueryExpression | undefined;
116
+ protected TranslateFirstOrDefault(source: ShapedQueryExpression, predicate: LambdaExpression, returnType: Type, returnDefault: boolean): ShapedQueryExpression | undefined;
117
+ protected TranslatePrimitiveCollection(sqlExpression: SqlExpression, property: IProperty, tableAlias: string): ShapedQueryExpression | undefined;
118
+ protected TranslateSkip(source: ShapedQueryExpression, count: Expression): ShapedQueryExpression | undefined;
119
+ protected TranslateTake(source: ShapedQueryExpression, count: Expression): ShapedQueryExpression | undefined;
120
+ protected TranslateWhere(source: ShapedQueryExpression, predicate: LambdaExpression): ShapedQueryExpression | undefined;
121
+ protected TrySerializeScalarToJson(target: JsonScalarExpression, value: SqlExpression, jsonValue: SqlExpression): boolean;
122
+ }
123
+
124
+
125
+ export interface NpgsqlQueryableMethodTranslatingExpressionVisitor$instance extends NpgsqlQueryableMethodTranslatingExpressionVisitor$protected, RelationalQueryableMethodTranslatingExpressionVisitor {
89
126
  }
90
127
 
91
128
 
92
129
  export const NpgsqlQueryableMethodTranslatingExpressionVisitor: {
93
130
  new(dependencies: QueryableMethodTranslatingExpressionVisitorDependencies, relationalDependencies: RelationalQueryableMethodTranslatingExpressionVisitorDependencies, queryCompilationContext: RelationalQueryCompilationContext, npgsqlSingletonOptions: INpgsqlSingletonOptions): NpgsqlQueryableMethodTranslatingExpressionVisitor;
131
+ new(parentVisitor: NpgsqlQueryableMethodTranslatingExpressionVisitor): NpgsqlQueryableMethodTranslatingExpressionVisitor;
94
132
  };
95
133
 
96
134
 
97
135
  export type NpgsqlQueryableMethodTranslatingExpressionVisitor = NpgsqlQueryableMethodTranslatingExpressionVisitor$instance;
98
136
 
99
- export interface NpgsqlQueryableMethodTranslatingExpressionVisitorFactory$instance {
137
+ export abstract class NpgsqlQueryableMethodTranslatingExpressionVisitorFactory$protected {
138
+ protected readonly Dependencies: QueryableMethodTranslatingExpressionVisitorDependencies;
139
+ protected readonly RelationalDependencies: RelationalQueryableMethodTranslatingExpressionVisitorDependencies;
140
+ }
141
+
142
+
143
+ export interface NpgsqlQueryableMethodTranslatingExpressionVisitorFactory$instance extends NpgsqlQueryableMethodTranslatingExpressionVisitorFactory$protected {
100
144
  Create(queryCompilationContext: QueryCompilationContext): QueryableMethodTranslatingExpressionVisitor;
101
145
  }
102
146
 
@@ -135,7 +179,48 @@ export const NpgsqlQueryCompilationContextFactory: {
135
179
 
136
180
  export type NpgsqlQueryCompilationContextFactory = NpgsqlQueryCompilationContextFactory$instance;
137
181
 
138
- export interface NpgsqlQuerySqlGenerator$instance extends QuerySqlGenerator {
182
+ export abstract class NpgsqlQuerySqlGenerator$protected {
183
+ protected GenerateLimitOffset(selectExpression: SelectExpression): void;
184
+ protected GenerateRootCommand(queryExpression: Expression): void;
185
+ protected GenerateSetOperation(setOperation: SetOperationBase): void;
186
+ protected GenerateSetOperationOperand(setOperation: SetOperationBase, operand: SelectExpression): void;
187
+ protected GenerateTop(selectExpression: SelectExpression): void;
188
+ protected GenerateValues(valuesExpression: ValuesExpression): void;
189
+ protected GetOperator(e: SqlBinaryExpression): string;
190
+ protected RequiresParentheses(outerExpression: SqlExpression, innerExpression: SqlExpression): boolean;
191
+ protected TryGenerateWithoutWrappingSelect(selectExpression: SelectExpression): boolean;
192
+ protected TryGetOperatorInfo(expression: SqlExpression, precedence: int, isAssociative: boolean): boolean;
193
+ protected VisitArrayAll(expression: PgAllExpression): Expression;
194
+ protected VisitArrayAny(expression: PgAnyExpression): Expression;
195
+ protected VisitArrayIndex(expression: SqlBinaryExpression): Expression;
196
+ protected VisitArrayIndex(expression: PgArrayIndexExpression): Expression;
197
+ protected VisitArraySlice(expression: PgArraySliceExpression): Expression;
198
+ protected VisitCollate(collateExpression: CollateExpression): Expression;
199
+ protected VisitCrossApply(crossApplyExpression: CrossApplyExpression): Expression;
200
+ protected VisitDelete(deleteExpression: DeleteExpression): Expression;
201
+ protected VisitExtension(extensionExpression: Expression): Expression;
202
+ protected VisitILike(likeExpression: PgILikeExpression, negated?: boolean): Expression;
203
+ protected VisitJsonPathTraversal(expression: PgJsonTraversalExpression): Expression;
204
+ protected VisitJsonScalar(jsonScalarExpression: JsonScalarExpression): Expression;
205
+ protected VisitNewArray(pgNewArrayExpression: PgNewArrayExpression): Expression;
206
+ protected VisitOrdering(ordering: OrderingExpression): Expression;
207
+ protected VisitOuterApply(outerApplyExpression: OuterApplyExpression): Expression;
208
+ protected VisitPgBinary(binaryExpression: PgBinaryExpression): Expression;
209
+ protected VisitPgDelete(pgDeleteExpression: PgDeleteExpression): Expression;
210
+ protected VisitPgFunction(e: PgFunctionExpression): Expression;
211
+ protected VisitPgTableValuedFunctionExpression(tableValuedFunctionExpression: PgTableValuedFunctionExpression): Expression;
212
+ protected VisitRegexMatch(expression: PgRegexMatchExpression, negated?: boolean): Expression;
213
+ protected VisitRowValue(rowValueExpression: PgRowValueExpression): Expression;
214
+ protected VisitSqlBinary(binary: SqlBinaryExpression): Expression;
215
+ protected VisitSqlConstant(sqlConstantExpression: SqlConstantExpression): Expression;
216
+ protected VisitSqlUnary(sqlUnaryExpression: SqlUnaryExpression): Expression;
217
+ protected VisitUnknownBinary(unknownBinaryExpression: PgUnknownBinaryExpression): Expression;
218
+ protected VisitUpdate(updateExpression: UpdateExpression): Expression;
219
+ protected VisitValues(valuesExpression: ValuesExpression): Expression;
220
+ }
221
+
222
+
223
+ export interface NpgsqlQuerySqlGenerator$instance extends NpgsqlQuerySqlGenerator$protected, QuerySqlGenerator {
139
224
  }
140
225
 
141
226
 
@@ -158,7 +243,13 @@ export const NpgsqlQuerySqlGeneratorFactory: {
158
243
 
159
244
  export type NpgsqlQuerySqlGeneratorFactory = NpgsqlQuerySqlGeneratorFactory$instance;
160
245
 
161
- export interface NpgsqlQueryTranslationPostprocessor$instance extends RelationalQueryTranslationPostprocessor {
246
+ export abstract class NpgsqlQueryTranslationPostprocessor$protected {
247
+ protected ProcessTypeMappings(expression: Expression): Expression;
248
+ protected Prune(query: Expression): Expression;
249
+ }
250
+
251
+
252
+ export interface NpgsqlQueryTranslationPostprocessor$instance extends NpgsqlQueryTranslationPostprocessor$protected, RelationalQueryTranslationPostprocessor {
162
253
  Process(query: Expression): Expression;
163
254
  }
164
255
 
@@ -170,7 +261,13 @@ export const NpgsqlQueryTranslationPostprocessor: {
170
261
 
171
262
  export type NpgsqlQueryTranslationPostprocessor = NpgsqlQueryTranslationPostprocessor$instance;
172
263
 
173
- export interface NpgsqlQueryTranslationPostprocessorFactory$instance {
264
+ export abstract class NpgsqlQueryTranslationPostprocessorFactory$protected {
265
+ protected readonly Dependencies: QueryTranslationPostprocessorDependencies;
266
+ protected readonly RelationalDependencies: RelationalQueryTranslationPostprocessorDependencies;
267
+ }
268
+
269
+
270
+ export interface NpgsqlQueryTranslationPostprocessorFactory$instance extends NpgsqlQueryTranslationPostprocessorFactory$protected {
174
271
  Create(queryCompilationContext: QueryCompilationContext): QueryTranslationPostprocessor;
175
272
  }
176
273
 
@@ -182,7 +279,12 @@ export const NpgsqlQueryTranslationPostprocessorFactory: {
182
279
 
183
280
  export type NpgsqlQueryTranslationPostprocessorFactory = NpgsqlQueryTranslationPostprocessorFactory$instance;
184
281
 
185
- export interface NpgsqlSetOperationTypingInjector$instance extends ExpressionVisitor {
282
+ export abstract class NpgsqlSetOperationTypingInjector$protected {
283
+ protected VisitExtension(extensionExpression: Expression): Expression;
284
+ }
285
+
286
+
287
+ export interface NpgsqlSetOperationTypingInjector$instance extends NpgsqlSetOperationTypingInjector$protected, ExpressionVisitor {
186
288
  }
187
289
 
188
290
 
@@ -193,7 +295,25 @@ export const NpgsqlSetOperationTypingInjector: {
193
295
 
194
296
  export type NpgsqlSetOperationTypingInjector = NpgsqlSetOperationTypingInjector$instance;
195
297
 
196
- export interface NpgsqlSqlNullabilityProcessor$instance extends SqlNullabilityProcessor {
298
+ export abstract class NpgsqlSqlNullabilityProcessor$protected {
299
+ protected VisitAll(allExpression: PgAllExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
300
+ protected VisitAny(anyExpression: PgAnyExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
301
+ protected VisitArrayIndex(arrayIndexExpression: PgArrayIndexExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
302
+ protected VisitArraySlice(arraySliceExpression: PgArraySliceExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
303
+ protected VisitCustomSqlExpression(sqlExpression: SqlExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
304
+ protected VisitILike(iLikeExpression: PgILikeExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
305
+ protected VisitJsonTraversal(jsonTraversalExpression: PgJsonTraversalExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
306
+ protected VisitNewArray(newArrayExpression: PgNewArrayExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
307
+ protected VisitPostgresBinary(binaryExpression: PgBinaryExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
308
+ protected VisitRegexMatch(regexMatchExpression: PgRegexMatchExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
309
+ protected VisitRowValueExpression(rowValueExpression: PgRowValueExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
310
+ protected VisitSqlBinary(sqlBinaryExpression: SqlBinaryExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
311
+ protected VisitSqlFunction(sqlFunctionExpression: SqlFunctionExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
312
+ protected VisitUnknownBinary(unknownBinaryExpression: PgUnknownBinaryExpression, allowOptimizedExpansion: boolean, nullable: boolean): SqlExpression;
313
+ }
314
+
315
+
316
+ export interface NpgsqlSqlNullabilityProcessor$instance extends NpgsqlSqlNullabilityProcessor$protected, SqlNullabilityProcessor {
197
317
  }
198
318
 
199
319
 
@@ -204,7 +324,17 @@ export const NpgsqlSqlNullabilityProcessor: {
204
324
 
205
325
  export type NpgsqlSqlNullabilityProcessor = NpgsqlSqlNullabilityProcessor$instance;
206
326
 
207
- export interface NpgsqlSqlTranslatingExpressionVisitor$instance extends RelationalSqlTranslatingExpressionVisitor {
327
+ export abstract class NpgsqlSqlTranslatingExpressionVisitor$protected {
328
+ protected VisitBinary(binaryExpression: BinaryExpression): Expression;
329
+ protected VisitConditional(conditionalExpression: ConditionalExpression): Expression;
330
+ protected VisitMethodCall(methodCallExpression: MethodCallExpression): Expression;
331
+ protected VisitNew(newExpression: NewExpression): Expression;
332
+ protected VisitNewArray(newArrayExpression: NewArrayExpression): Expression;
333
+ protected VisitUnary(unaryExpression: UnaryExpression): Expression;
334
+ }
335
+
336
+
337
+ export interface NpgsqlSqlTranslatingExpressionVisitor$instance extends NpgsqlSqlTranslatingExpressionVisitor$protected, RelationalSqlTranslatingExpressionVisitor {
208
338
  GenerateGreatest(expressions: IReadOnlyList<SqlExpression>, resultType: Type): SqlExpression;
209
339
  GenerateLeast(expressions: IReadOnlyList<SqlExpression>, resultType: Type): SqlExpression;
210
340
  }
@@ -230,7 +360,12 @@ export const NpgsqlSqlTranslatingExpressionVisitorFactory: {
230
360
 
231
361
  export type NpgsqlSqlTranslatingExpressionVisitorFactory = NpgsqlSqlTranslatingExpressionVisitorFactory$instance;
232
362
 
233
- export interface NpgsqlSqlTreePruner$instance extends SqlTreePruner {
363
+ export abstract class NpgsqlSqlTreePruner$protected {
364
+ protected VisitExtension(node: Expression): Expression;
365
+ }
366
+
367
+
368
+ export interface NpgsqlSqlTreePruner$instance extends NpgsqlSqlTreePruner$protected, SqlTreePruner {
234
369
  }
235
370
 
236
371
 
@@ -241,7 +376,12 @@ export const NpgsqlSqlTreePruner: {
241
376
 
242
377
  export type NpgsqlSqlTreePruner = NpgsqlSqlTreePruner$instance;
243
378
 
244
- export interface NpgsqlTypeMappingPostprocessor$instance extends RelationalTypeMappingPostprocessor {
379
+ export abstract class NpgsqlTypeMappingPostprocessor$protected {
380
+ protected VisitExtension(expression: Expression): Expression;
381
+ }
382
+
383
+
384
+ export interface NpgsqlTypeMappingPostprocessor$instance extends NpgsqlTypeMappingPostprocessor$protected, RelationalTypeMappingPostprocessor {
245
385
  }
246
386
 
247
387
 
@@ -7,12 +7,13 @@ import * as Internal from './Npgsql.EntityFrameworkCore.PostgreSQL.Query.Interna
7
7
 
8
8
  // Cross-namespace type imports for constraints
9
9
  import type { INpgsqlSingletonOptions } from './Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.js';
10
+ import type { PgAllExpression, PgAnyExpression, PgArrayIndexExpression, PgArraySliceExpression, PgBinaryExpression, PgDeleteExpression, PgFunctionExpression, PgILikeExpression, PgJsonTraversalExpression, PgNewArrayExpression, PgRegexMatchExpression, PgRowValueExpression, PgTableValuedFunctionExpression, PgUnknownBinaryExpression } from './Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.js';
10
11
  import type { IReadOnlyList } from '@tsonic/dotnet/System.Collections.Generic.js';
11
- import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Type, Version } from '@tsonic/dotnet/System.js';
12
- import type { Expression, ExpressionVisitor } from '@tsonic/dotnet/System.Linq.Expressions.js';
13
- import type { IModel } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js';
14
- import type { CompiledQueryCacheKeyGeneratorDependencies, EvaluatableExpressionFilterDependencies, ICompiledQueryCacheKeyGenerator, IEvaluatableExpressionFilter, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryCompilationContextFactory, IQuerySqlGeneratorFactory, IQueryTranslationPostprocessorFactory, IRelationalParameterBasedSqlProcessorFactory, IRelationalSqlTranslatingExpressionVisitorFactory, ParametersCacheDecorator, QueryableMethodTranslatingExpressionVisitor, QueryableMethodTranslatingExpressionVisitorDependencies, QueryCompilationContext, QueryCompilationContextDependencies, QueryContext, QuerySqlGenerator, QuerySqlGeneratorDependencies, QueryTranslationPostprocessor, QueryTranslationPostprocessorDependencies, RelationalCompiledQueryCacheKeyGenerator, RelationalCompiledQueryCacheKeyGeneratorDependencies, RelationalEvaluatableExpressionFilter, RelationalEvaluatableExpressionFilterDependencies, RelationalParameterBasedSqlProcessor, RelationalParameterBasedSqlProcessorDependencies, RelationalParameterBasedSqlProcessorParameters, RelationalQueryableMethodTranslatingExpressionVisitor, RelationalQueryableMethodTranslatingExpressionVisitorDependencies, RelationalQueryCompilationContext, RelationalQueryCompilationContextDependencies, RelationalQueryTranslationPostprocessor, RelationalQueryTranslationPostprocessorDependencies, RelationalSqlTranslatingExpressionVisitor, RelationalSqlTranslatingExpressionVisitorDependencies, RelationalTypeMappingPostprocessor, SqlNullabilityProcessor, SqlTreePruner } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.js';
15
- import type { SqlExpression } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.SqlExpressions.js';
12
+ import type { Boolean as ClrBoolean, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Type, Version, Void } from '@tsonic/dotnet/System.js';
13
+ import type { BinaryExpression, ConditionalExpression, Expression, ExpressionVisitor, LambdaExpression, MethodCallExpression, NewArrayExpression, NewExpression, UnaryExpression } from '@tsonic/dotnet/System.Linq.Expressions.js';
14
+ import type { IModel, IProperty } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Metadata.js';
15
+ import type { CompiledQueryCacheKeyGeneratorDependencies, EvaluatableExpressionFilterDependencies, ICompiledQueryCacheKeyGenerator, IEvaluatableExpressionFilter, IQueryableMethodTranslatingExpressionVisitorFactory, IQueryCompilationContextFactory, IQuerySqlGeneratorFactory, IQueryTranslationPostprocessorFactory, IRelationalParameterBasedSqlProcessorFactory, IRelationalSqlTranslatingExpressionVisitorFactory, JsonQueryExpression, ParametersCacheDecorator, QueryableMethodTranslatingExpressionVisitor, QueryableMethodTranslatingExpressionVisitorDependencies, QueryCompilationContext, QueryCompilationContextDependencies, QueryContext, QuerySqlGenerator, QuerySqlGeneratorDependencies, QueryTranslationPostprocessor, QueryTranslationPostprocessorDependencies, RelationalCompiledQueryCacheKeyGenerator, RelationalCompiledQueryCacheKeyGeneratorDependencies, RelationalEvaluatableExpressionFilter, RelationalEvaluatableExpressionFilterDependencies, RelationalParameterBasedSqlProcessor, RelationalParameterBasedSqlProcessorDependencies, RelationalParameterBasedSqlProcessorParameters, RelationalQueryableMethodTranslatingExpressionVisitor, RelationalQueryableMethodTranslatingExpressionVisitorDependencies, RelationalQueryCompilationContext, RelationalQueryCompilationContextDependencies, RelationalQueryTranslationPostprocessor, RelationalQueryTranslationPostprocessorDependencies, RelationalSqlTranslatingExpressionVisitor, RelationalSqlTranslatingExpressionVisitorDependencies, RelationalTypeMappingPostprocessor, ShapedQueryExpression, SqlNullabilityProcessor, SqlTreePruner } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.js';
16
+ import type { CollateExpression, CrossApplyExpression, DeleteExpression, JsonScalarExpression, OrderingExpression, OuterApplyExpression, SelectExpression, SetOperationBase, SqlBinaryExpression, SqlConstantExpression, SqlExpression, SqlFunctionExpression, SqlUnaryExpression, TableExpression, TableExpressionBase, UpdateExpression, ValuesExpression } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Query.SqlExpressions.js';
16
17
  import type { IRelationalTypeMappingSource } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js';
17
18
 
18
19
  // Public API exports (curated - no internal $instance/$views leakage)
@@ -15,6 +15,16 @@
15
15
  "isSealed": false,
16
16
  "isStatic": false,
17
17
  "arity": 0,
18
+ "baseType": {
19
+ "stableId": "Microsoft.EntityFrameworkCore.Relational:Microsoft.EntityFrameworkCore.Scaffolding.ProviderCodeGenerator",
20
+ "clrName": "Microsoft.EntityFrameworkCore.Scaffolding.ProviderCodeGenerator"
21
+ },
22
+ "interfaces": [
23
+ {
24
+ "stableId": "Microsoft.EntityFrameworkCore.Relational:Microsoft.EntityFrameworkCore.Scaffolding.IProviderConfigurationCodeGenerator",
25
+ "clrName": "Microsoft.EntityFrameworkCore.Scaffolding.IProviderConfigurationCodeGenerator"
26
+ }
27
+ ],
18
28
  "methods": [
19
29
  {
20
30
  "stableId": "Npgsql.EntityFrameworkCore.PostgreSQL:Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.NpgsqlCodeGenerator::GenerateUseProvider(System.String,Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment):Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment",
@@ -31,6 +41,7 @@
31
41
  "isVirtual": true,
32
42
  "isOverride": true,
33
43
  "isSealed": false,
44
+ "visibility": "Public",
34
45
  "declaringClrType": "Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.NpgsqlCodeGenerator",
35
46
  "declaringAssemblyName": "Npgsql.EntityFrameworkCore.PostgreSQL",
36
47
  "isExtensionMethod": false
@@ -47,6 +58,7 @@
47
58
  "normalizedSignature": "constructor|(Microsoft.EntityFrameworkCore.Scaffolding.ProviderCodeGeneratorDependencies):void|static=false",
48
59
  "isStatic": false,
49
60
  "parameterCount": 1,
61
+ "visibility": "Public",
50
62
  "declaringClrType": "Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.NpgsqlCodeGenerator",
51
63
  "declaringAssemblyName": "Npgsql.EntityFrameworkCore.PostgreSQL"
52
64
  }
@@ -63,6 +75,16 @@
63
75
  "isSealed": false,
64
76
  "isStatic": false,
65
77
  "arity": 0,
78
+ "baseType": {
79
+ "stableId": "Microsoft.EntityFrameworkCore.Relational:Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactory",
80
+ "clrName": "Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactory"
81
+ },
82
+ "interfaces": [
83
+ {
84
+ "stableId": "Microsoft.EntityFrameworkCore.Relational:Microsoft.EntityFrameworkCore.Scaffolding.IDatabaseModelFactory",
85
+ "clrName": "Microsoft.EntityFrameworkCore.Scaffolding.IDatabaseModelFactory"
86
+ }
87
+ ],
66
88
  "methods": [
67
89
  {
68
90
  "stableId": "Npgsql.EntityFrameworkCore.PostgreSQL:Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.NpgsqlDatabaseModelFactory::Create(System.String,Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactoryOptions):Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel",
@@ -79,6 +101,7 @@
79
101
  "isVirtual": true,
80
102
  "isOverride": true,
81
103
  "isSealed": false,
104
+ "visibility": "Public",
82
105
  "declaringClrType": "Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.NpgsqlDatabaseModelFactory",
83
106
  "declaringAssemblyName": "Npgsql.EntityFrameworkCore.PostgreSQL",
84
107
  "isExtensionMethod": false
@@ -98,6 +121,7 @@
98
121
  "isVirtual": true,
99
122
  "isOverride": true,
100
123
  "isSealed": false,
124
+ "visibility": "Public",
101
125
  "declaringClrType": "Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.NpgsqlDatabaseModelFactory",
102
126
  "declaringAssemblyName": "Npgsql.EntityFrameworkCore.PostgreSQL",
103
127
  "isExtensionMethod": false
@@ -114,6 +138,7 @@
114
138
  "normalizedSignature": "constructor|(Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger_1[[Microsoft.EntityFrameworkCore.DbLoggerCategory\u002BScaffolding,Microsoft.EntityFrameworkCore,Version=10.0.0.0,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):void|static=false",
115
139
  "isStatic": false,
116
140
  "parameterCount": 1,
141
+ "visibility": "Public",
117
142
  "declaringClrType": "Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.NpgsqlDatabaseModelFactory",
118
143
  "declaringAssemblyName": "Npgsql.EntityFrameworkCore.PostgreSQL"
119
144
  }