@tsonic/efcore 10.0.2 → 10.0.5

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 (37) hide show
  1. package/Microsoft.EntityFrameworkCore/internal/index.d.ts +52 -34
  2. package/Microsoft.EntityFrameworkCore.ChangeTracking/internal/index.d.ts +131 -65
  3. package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal/internal/index.d.ts +350 -252
  4. package/Microsoft.EntityFrameworkCore.Design/internal/index.d.ts +58 -54
  5. package/Microsoft.EntityFrameworkCore.Design.Internal/internal/index.d.ts +20 -14
  6. package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +115 -45
  7. package/Microsoft.EntityFrameworkCore.Diagnostics.Internal/internal/index.d.ts +40 -43
  8. package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +264 -236
  9. package/Microsoft.EntityFrameworkCore.Infrastructure.Internal/internal/index.d.ts +27 -9
  10. package/Microsoft.EntityFrameworkCore.Internal/internal/index.d.ts +100 -7
  11. package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +763 -381
  12. package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +311 -241
  13. package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +704 -539
  14. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/internal/index.d.ts +18 -13
  15. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal/internal/index.d.ts +11 -1
  16. package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +1041 -691
  17. package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +125 -114
  18. package/Microsoft.EntityFrameworkCore.Migrations.Internal/internal/index.d.ts +65 -63
  19. package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +367 -311
  20. package/Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/internal/index.d.ts +7 -5
  21. package/Microsoft.EntityFrameworkCore.Query/internal/index.d.ts +647 -685
  22. package/Microsoft.EntityFrameworkCore.Query.Internal/internal/index.d.ts +294 -283
  23. package/Microsoft.EntityFrameworkCore.Query.SqlExpressions/internal/index.d.ts +233 -294
  24. package/Microsoft.EntityFrameworkCore.Scaffolding/internal/index.d.ts +17 -9
  25. package/Microsoft.EntityFrameworkCore.Scaffolding.Metadata/internal/index.d.ts +103 -92
  26. package/Microsoft.EntityFrameworkCore.Storage/internal/index.d.ts +372 -435
  27. package/Microsoft.EntityFrameworkCore.Storage.Internal/internal/index.d.ts +46 -45
  28. package/Microsoft.EntityFrameworkCore.Storage.Internal.d.ts +3 -0
  29. package/Microsoft.EntityFrameworkCore.Storage.Json/internal/index.d.ts +19 -31
  30. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion/internal/index.d.ts +8 -8
  31. package/Microsoft.EntityFrameworkCore.Update/internal/index.d.ts +155 -130
  32. package/Microsoft.EntityFrameworkCore.Update.Internal/internal/index.d.ts +94 -39
  33. package/Microsoft.EntityFrameworkCore.ValueGeneration/internal/index.d.ts +34 -46
  34. package/Microsoft.EntityFrameworkCore.ValueGeneration.Internal/internal/index.d.ts +5 -14
  35. package/Microsoft.Extensions.DependencyInjection.d.ts +3 -0
  36. package/__internal/extensions/index.d.ts +860 -595
  37. package/package.json +1 -1
@@ -27,13 +27,9 @@ import type { Task, ValueTask } from "@tsonic/dotnet/System.Threading.Tasks.js";
27
27
  import * as Microsoft_Extensions_Logging_Internal from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
28
28
  import type { EventId, ILogger, ILoggerFactory, ILoggerProvider, LogLevel } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
29
29
 
30
- export abstract class DbCommandInterceptorAggregator$protected {
31
- protected CreateChain2(interceptors: IEnumerable<IDbCommandInterceptor>): IDbCommandInterceptor;
32
- protected abstract CreateChain(interceptors: IEnumerable<unknown>): unknown;
33
- }
34
-
30
+ export interface DbCommandInterceptorAggregator$instance extends InterceptorAggregator_1<IDbCommandInterceptor> {
31
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IInterceptorAggregator: never;
35
32
 
36
- export interface DbCommandInterceptorAggregator$instance extends DbCommandInterceptorAggregator$protected, InterceptorAggregator_1<IDbCommandInterceptor> {
37
33
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
38
34
  }
39
35
 
@@ -50,13 +46,9 @@ export interface __DbCommandInterceptorAggregator$views {
50
46
  export type DbCommandInterceptorAggregator = DbCommandInterceptorAggregator$instance & __DbCommandInterceptorAggregator$views;
51
47
 
52
48
 
53
- export abstract class DbConnectionInterceptorAggregator$protected {
54
- protected CreateChain2(interceptors: IEnumerable<IDbConnectionInterceptor>): IDbConnectionInterceptor;
55
- protected abstract CreateChain(interceptors: IEnumerable<unknown>): unknown;
56
- }
57
-
49
+ export interface DbConnectionInterceptorAggregator$instance extends InterceptorAggregator_1<IDbConnectionInterceptor> {
50
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IInterceptorAggregator: never;
58
51
 
59
- export interface DbConnectionInterceptorAggregator$instance extends DbConnectionInterceptorAggregator$protected, InterceptorAggregator_1<IDbConnectionInterceptor> {
60
52
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
61
53
  }
62
54
 
@@ -73,13 +65,9 @@ export interface __DbConnectionInterceptorAggregator$views {
73
65
  export type DbConnectionInterceptorAggregator = DbConnectionInterceptorAggregator$instance & __DbConnectionInterceptorAggregator$views;
74
66
 
75
67
 
76
- export abstract class DbTransactionInterceptorAggregator$protected {
77
- protected CreateChain2(interceptors: IEnumerable<IDbTransactionInterceptor>): IDbTransactionInterceptor;
78
- protected abstract CreateChain(interceptors: IEnumerable<unknown>): unknown;
79
- }
80
-
68
+ export interface DbTransactionInterceptorAggregator$instance extends InterceptorAggregator_1<IDbTransactionInterceptor> {
69
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IInterceptorAggregator: never;
81
70
 
82
- export interface DbTransactionInterceptorAggregator$instance extends DbTransactionInterceptorAggregator$protected, InterceptorAggregator_1<IDbTransactionInterceptor> {
83
71
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
84
72
  }
85
73
 
@@ -97,6 +85,8 @@ export type DbTransactionInterceptorAggregator = DbTransactionInterceptorAggrega
97
85
 
98
86
 
99
87
  export interface DelegatingDbContextLogger$instance {
88
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IDbContextLogger: never;
89
+
100
90
  Log(eventData: EventData): void;
101
91
  ShouldLog(eventId: EventId, logLevel: LogLevel): boolean;
102
92
  }
@@ -117,10 +107,13 @@ export type DelegatingDbContextLogger = DelegatingDbContextLogger$instance & __D
117
107
 
118
108
 
119
109
  export interface DiagnosticsLogger_1$instance<TLoggerCategory extends LoggerCategory_1<TLoggerCategory>> {
110
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IDiagnosticsLogger: never;
111
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IDiagnosticsLogger_1: never;
112
+
120
113
  readonly DbContextLogger: IDbContextLogger;
121
114
  readonly Definitions: LoggingDefinitions;
122
115
  readonly DiagnosticSource: DiagnosticSource;
123
- readonly Interceptors: IInterceptors;
116
+ readonly Interceptors: IInterceptors | undefined;
124
117
  readonly Logger: ILogger;
125
118
  readonly Options: ILoggingOptions;
126
119
  ShouldLogSensitiveData(): boolean;
@@ -140,6 +133,8 @@ export type DiagnosticsLogger_1<TLoggerCategory extends LoggerCategory_1<TLogger
140
133
 
141
134
 
142
135
  export interface FormattingDbContextLogger$instance {
136
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IDbContextLogger: never;
137
+
143
138
  Log(eventData: EventData): void;
144
139
  ShouldLog(eventId: EventId, logLevel: LogLevel): boolean;
145
140
  }
@@ -159,13 +154,9 @@ export interface FormattingDbContextLogger$instance extends Microsoft_EntityFram
159
154
  export type FormattingDbContextLogger = FormattingDbContextLogger$instance & __FormattingDbContextLogger$views;
160
155
 
161
156
 
162
- export abstract class IdentityResolutionInterceptorAggregator$protected {
163
- protected CreateChain2(interceptors: IEnumerable<IIdentityResolutionInterceptor>): IIdentityResolutionInterceptor;
164
- protected abstract CreateChain(interceptors: IEnumerable<unknown>): unknown;
165
- }
166
-
157
+ export interface IdentityResolutionInterceptorAggregator$instance extends InterceptorAggregator_1<IIdentityResolutionInterceptor> {
158
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IInterceptorAggregator: never;
167
159
 
168
- export interface IdentityResolutionInterceptorAggregator$instance extends IdentityResolutionInterceptorAggregator$protected, InterceptorAggregator_1<IIdentityResolutionInterceptor> {
169
160
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
170
161
  }
171
162
 
@@ -183,6 +174,8 @@ export type IdentityResolutionInterceptorAggregator = IdentityResolutionIntercep
183
174
 
184
175
 
185
176
  export interface Interceptors$instance {
177
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IInterceptors: never;
178
+
186
179
  Aggregate<TInterceptor extends IInterceptor>(): TInterceptor | undefined;
187
180
  }
188
181
 
@@ -202,6 +195,9 @@ export type Interceptors = Interceptors$instance & __Interceptors$views;
202
195
 
203
196
 
204
197
  export interface LoggingOptions$instance {
198
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_ILoggingOptions: never;
199
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_ISingletonOptions: never;
200
+
205
201
  DetailedErrorsEnabled: boolean;
206
202
  IsSensitiveDataLoggingEnabled: boolean;
207
203
  IsSensitiveDataLoggingWarned: boolean;
@@ -225,13 +221,9 @@ export interface __LoggingOptions$views {
225
221
  export type LoggingOptions = LoggingOptions$instance & __LoggingOptions$views;
226
222
 
227
223
 
228
- export abstract class MaterializationInterceptorAggregator$protected {
229
- protected CreateChain2(interceptors: IEnumerable<IMaterializationInterceptor>): IMaterializationInterceptor;
230
- protected abstract CreateChain(interceptors: IEnumerable<unknown>): unknown;
231
- }
232
-
224
+ export interface MaterializationInterceptorAggregator$instance extends InterceptorAggregator_1<IMaterializationInterceptor> {
225
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IInterceptorAggregator: never;
233
226
 
234
- export interface MaterializationInterceptorAggregator$instance extends MaterializationInterceptorAggregator$protected, InterceptorAggregator_1<IMaterializationInterceptor> {
235
227
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
236
228
  }
237
229
 
@@ -249,6 +241,8 @@ export type MaterializationInterceptorAggregator = MaterializationInterceptorAgg
249
241
 
250
242
 
251
243
  export interface NullDbContextLogger$instance {
244
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IDbContextLogger: never;
245
+
252
246
  Log(eventData: EventData): void;
253
247
  ShouldLog(eventId: EventId, logLevel: LogLevel): boolean;
254
248
  }
@@ -268,13 +262,9 @@ export interface NullDbContextLogger$instance extends Microsoft_EntityFrameworkC
268
262
  export type NullDbContextLogger = NullDbContextLogger$instance & __NullDbContextLogger$views;
269
263
 
270
264
 
271
- export abstract class QueryExpressionInterceptorAggregator$protected {
272
- protected CreateChain2(interceptors: IEnumerable<IQueryExpressionInterceptor>): IQueryExpressionInterceptor;
273
- protected abstract CreateChain(interceptors: IEnumerable<unknown>): unknown;
274
- }
275
-
265
+ export interface QueryExpressionInterceptorAggregator$instance extends InterceptorAggregator_1<IQueryExpressionInterceptor> {
266
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IInterceptorAggregator: never;
276
267
 
277
- export interface QueryExpressionInterceptorAggregator$instance extends QueryExpressionInterceptorAggregator$protected, InterceptorAggregator_1<IQueryExpressionInterceptor> {
278
268
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
279
269
  }
280
270
 
@@ -292,6 +282,10 @@ export type QueryExpressionInterceptorAggregator = QueryExpressionInterceptorAgg
292
282
 
293
283
 
294
284
  export interface RelationalCommandDiagnosticsLogger$instance extends DiagnosticsLogger_1$instance<DbLoggerCategory_Database_Command> {
285
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IDiagnosticsLogger: never;
286
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IDiagnosticsLogger_1: never;
287
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IRelationalCommandDiagnosticsLogger: never;
288
+
295
289
  CommandCanceled(connection: IRelationalConnection, command: DbCommand, logCommandText: string, context: DbContext, executeMethod: DbCommandMethod, commandId: Guid, connectionId: Guid, startTime: DateTimeOffset, duration: TimeSpan, commandSource: CommandSource): void;
296
290
  CommandCanceledAsync(connection: IRelationalConnection, command: DbCommand, logCommandText: string, context: DbContext, executeMethod: DbCommandMethod, commandId: Guid, connectionId: Guid, startTime: DateTimeOffset, duration: TimeSpan, commandSource: CommandSource, cancellationToken?: CancellationToken): Task;
297
291
  CommandCreated(connection: IRelationalConnection, command: DbCommand, commandMethod: DbCommandMethod, context: DbContext, commandId: Guid, connectionId: Guid, startTime: DateTimeOffset, duration: TimeSpan, commandSource: CommandSource): DbCommand;
@@ -337,6 +331,10 @@ export type RelationalCommandDiagnosticsLogger = RelationalCommandDiagnosticsLog
337
331
 
338
332
 
339
333
  export interface RelationalConnectionDiagnosticsLogger$instance extends DiagnosticsLogger_1$instance<DbLoggerCategory_Database_Connection> {
334
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IDiagnosticsLogger: never;
335
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IDiagnosticsLogger_1: never;
336
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IRelationalConnectionDiagnosticsLogger: never;
337
+
340
338
  ConnectionCanceled(connection: IRelationalConnection, startTime: DateTimeOffset, duration: TimeSpan): void;
341
339
  ConnectionCanceledAsync(connection: IRelationalConnection, startTime: DateTimeOffset, duration: TimeSpan, cancellationToken?: CancellationToken): Task;
342
340
  ConnectionClosed(connection: IRelationalConnection, startTime: DateTimeOffset, duration: TimeSpan): void;
@@ -377,13 +375,9 @@ export interface __RelationalConnectionDiagnosticsLogger$views {
377
375
  export type RelationalConnectionDiagnosticsLogger = RelationalConnectionDiagnosticsLogger$instance & __RelationalConnectionDiagnosticsLogger$views;
378
376
 
379
377
 
380
- export abstract class SaveChangesInterceptorAggregator$protected {
381
- protected CreateChain2(interceptors: IEnumerable<ISaveChangesInterceptor>): ISaveChangesInterceptor;
382
- protected abstract CreateChain(interceptors: IEnumerable<unknown>): unknown;
383
- }
378
+ export interface SaveChangesInterceptorAggregator$instance extends InterceptorAggregator_1<ISaveChangesInterceptor> {
379
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Diagnostics_IInterceptorAggregator: never;
384
380
 
385
-
386
- export interface SaveChangesInterceptorAggregator$instance extends SaveChangesInterceptorAggregator$protected, InterceptorAggregator_1<ISaveChangesInterceptor> {
387
381
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
388
382
  }
389
383
 
@@ -401,6 +395,9 @@ export type SaveChangesInterceptorAggregator = SaveChangesInterceptorAggregator$
401
395
 
402
396
 
403
397
  export interface ScopedLoggerFactory$instance {
398
+ readonly __tsonic_iface_Microsoft_Extensions_Logging_ILoggerFactory: never;
399
+ readonly __tsonic_iface_System_IDisposable: never;
400
+
404
401
  AddProvider(provider: ILoggerProvider): void;
405
402
  CreateLogger(categoryName: string): ILogger;
406
403
  Dispose(): void;