@tsonic/efcore 10.0.1 → 10.0.3

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 (88) hide show
  1. package/Microsoft.EntityFrameworkCore/bindings.json +2247 -5
  2. package/Microsoft.EntityFrameworkCore/internal/index.d.ts +18 -10
  3. package/Microsoft.EntityFrameworkCore.ChangeTracking/bindings.json +1707 -6
  4. package/Microsoft.EntityFrameworkCore.ChangeTracking/internal/index.d.ts +29 -10
  5. package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal/bindings.json +4784 -172
  6. package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal/internal/index.d.ts +135 -58
  7. package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal.d.ts +1 -1
  8. package/Microsoft.EntityFrameworkCore.ChangeTracking.d.ts +3 -3
  9. package/Microsoft.EntityFrameworkCore.Design/bindings.json +1175 -171
  10. package/Microsoft.EntityFrameworkCore.Design/internal/index.d.ts +40 -3
  11. package/Microsoft.EntityFrameworkCore.Design.Internal/bindings.json +306 -2
  12. package/Microsoft.EntityFrameworkCore.Design.Internal/internal/index.d.ts +6 -1
  13. package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +2919 -10
  14. package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +21 -18
  15. package/Microsoft.EntityFrameworkCore.Diagnostics.Internal/bindings.json +1027 -77
  16. package/Microsoft.EntityFrameworkCore.Diagnostics.Internal/internal/index.d.ts +5 -11
  17. package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +4386 -655
  18. package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +144 -25
  19. package/Microsoft.EntityFrameworkCore.Infrastructure.Internal/bindings.json +251 -7
  20. package/Microsoft.EntityFrameworkCore.Infrastructure.Internal/internal/index.d.ts +7 -4
  21. package/Microsoft.EntityFrameworkCore.Infrastructure.d.ts +3 -2
  22. package/Microsoft.EntityFrameworkCore.Internal/bindings.json +754 -2
  23. package/Microsoft.EntityFrameworkCore.Internal/internal/index.d.ts +1 -4
  24. package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +8776 -125
  25. package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +280 -236
  26. package/Microsoft.EntityFrameworkCore.Metadata.Builders/bindings.json +5621 -147
  27. package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +99 -15
  28. package/Microsoft.EntityFrameworkCore.Metadata.Builders.d.ts +1 -1
  29. package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +8740 -1109
  30. package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +205 -12
  31. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/bindings.json +152 -3
  32. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/internal/index.d.ts +5 -1
  33. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.d.ts +1 -0
  34. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal/bindings.json +144 -0
  35. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal/internal/index.d.ts +1 -1
  36. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +7 -5
  37. package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +16619 -30
  38. package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +372 -117
  39. package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +2197 -67
  40. package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +99 -12
  41. package/Microsoft.EntityFrameworkCore.Migrations.Internal/bindings.json +1304 -119
  42. package/Microsoft.EntityFrameworkCore.Migrations.Internal/internal/index.d.ts +60 -3
  43. package/Microsoft.EntityFrameworkCore.Migrations.Internal.d.ts +3 -3
  44. package/Microsoft.EntityFrameworkCore.Migrations.Operations/bindings.json +4318 -46
  45. package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +193 -54
  46. package/Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/bindings.json +102 -0
  47. package/Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/internal/index.d.ts +1 -0
  48. package/Microsoft.EntityFrameworkCore.Migrations.d.ts +5 -4
  49. package/Microsoft.EntityFrameworkCore.Query/bindings.json +17431 -7313
  50. package/Microsoft.EntityFrameworkCore.Query/internal/index.d.ts +421 -36
  51. package/Microsoft.EntityFrameworkCore.Query.Internal/bindings.json +3807 -228
  52. package/Microsoft.EntityFrameworkCore.Query.Internal/internal/index.d.ts +116 -16
  53. package/Microsoft.EntityFrameworkCore.Query.Internal.d.ts +3 -3
  54. package/Microsoft.EntityFrameworkCore.Query.SqlExpressions/bindings.json +3589 -953
  55. package/Microsoft.EntityFrameworkCore.Query.SqlExpressions/internal/index.d.ts +77 -68
  56. package/Microsoft.EntityFrameworkCore.Query.d.ts +6 -5
  57. package/Microsoft.EntityFrameworkCore.Scaffolding/bindings.json +125 -3
  58. package/Microsoft.EntityFrameworkCore.Scaffolding/internal/index.d.ts +3 -2
  59. package/Microsoft.EntityFrameworkCore.Scaffolding.Metadata/bindings.json +1160 -9
  60. package/Microsoft.EntityFrameworkCore.Scaffolding.Metadata/internal/index.d.ts +63 -22
  61. package/Microsoft.EntityFrameworkCore.Storage/bindings.json +5813 -272
  62. package/Microsoft.EntityFrameworkCore.Storage/internal/index.d.ts +213 -44
  63. package/Microsoft.EntityFrameworkCore.Storage.Internal/bindings.json +534 -6
  64. package/Microsoft.EntityFrameworkCore.Storage.Internal/internal/index.d.ts +18 -3
  65. package/Microsoft.EntityFrameworkCore.Storage.Internal.d.ts +2 -1
  66. package/Microsoft.EntityFrameworkCore.Storage.Json/bindings.json +570 -2
  67. package/Microsoft.EntityFrameworkCore.Storage.Json/internal/index.d.ts +2 -25
  68. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion/bindings.json +652 -2
  69. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion/internal/index.d.ts +3 -1
  70. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal/bindings.json +663 -16
  71. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal/internal/index.d.ts +28 -1
  72. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal.d.ts +1 -1
  73. package/Microsoft.EntityFrameworkCore.Storage.d.ts +4 -4
  74. package/Microsoft.EntityFrameworkCore.Update/bindings.json +2027 -340
  75. package/Microsoft.EntityFrameworkCore.Update/internal/index.d.ts +113 -51
  76. package/Microsoft.EntityFrameworkCore.Update.Internal/bindings.json +1074 -6
  77. package/Microsoft.EntityFrameworkCore.Update.Internal/internal/index.d.ts +20 -6
  78. package/Microsoft.EntityFrameworkCore.Update.Internal.d.ts +1 -1
  79. package/Microsoft.EntityFrameworkCore.Update.d.ts +2 -2
  80. package/Microsoft.EntityFrameworkCore.ValueGeneration/bindings.json +479 -5
  81. package/Microsoft.EntityFrameworkCore.ValueGeneration/internal/index.d.ts +16 -5
  82. package/Microsoft.EntityFrameworkCore.ValueGeneration.Internal/bindings.json +262 -2
  83. package/Microsoft.EntityFrameworkCore.ValueGeneration.Internal/internal/index.d.ts +3 -1
  84. package/Microsoft.EntityFrameworkCore.ValueGeneration.d.ts +1 -1
  85. package/Microsoft.EntityFrameworkCore.d.ts +2 -1
  86. package/Microsoft.Extensions.DependencyInjection/bindings.json +15 -0
  87. package/System.Transactions/bindings.json +6 -0
  88. package/package.json +1 -1
@@ -159,7 +159,7 @@ export interface IDiagnosticsLogger$instance {
159
159
  readonly Logger: ILogger;
160
160
  readonly DiagnosticSource: DiagnosticSource;
161
161
  readonly DbContextLogger: IDbContextLogger;
162
- readonly Interceptors: IInterceptors;
162
+ readonly Interceptors: IInterceptors | undefined;
163
163
  DispatchEventData(definition: EventDefinitionBase, eventData: EventData, diagnosticSourceEnabled: boolean, simpleLogEnabled: boolean): void;
164
164
  NeedsEventData(definition: EventDefinitionBase, diagnosticSourceEnabled: boolean, simpleLogEnabled: boolean): boolean;
165
165
  NeedsEventData<TInterceptor extends IInterceptor>(definition: EventDefinitionBase, interceptor: TInterceptor, diagnosticSourceEnabled: boolean, simpleLogEnabled: boolean): boolean;
@@ -176,7 +176,7 @@ export interface IDiagnosticsLogger_1$instance<TLoggerCategory extends LoggerCat
176
176
  readonly Logger: ILogger;
177
177
  readonly DiagnosticSource: DiagnosticSource;
178
178
  readonly DbContextLogger: IDbContextLogger;
179
- readonly Interceptors: IInterceptors;
179
+ readonly Interceptors: IInterceptors | undefined;
180
180
  DispatchEventData(definition: EventDefinitionBase, eventData: EventData, diagnosticSourceEnabled: boolean, simpleLogEnabled: boolean): void;
181
181
  NeedsEventData(definition: EventDefinitionBase, diagnosticSourceEnabled: boolean, simpleLogEnabled: boolean): boolean;
182
182
  NeedsEventData<TInterceptor extends IInterceptor>(definition: EventDefinitionBase, interceptor: TInterceptor, diagnosticSourceEnabled: boolean, simpleLogEnabled: boolean): boolean;
@@ -283,7 +283,7 @@ export interface IRelationalCommandDiagnosticsLogger$instance extends IDiagnosti
283
283
  readonly Logger: ILogger;
284
284
  readonly DiagnosticSource: DiagnosticSource;
285
285
  readonly DbContextLogger: IDbContextLogger;
286
- readonly Interceptors: IInterceptors;
286
+ readonly Interceptors: IInterceptors | undefined;
287
287
  CommandCanceled(connection: IRelationalConnection, command: DbCommand, logCommandText: string, context: DbContext, executeMethod: DbCommandMethod, commandId: Guid, connectionId: Guid, startTime: DateTimeOffset, duration: TimeSpan, commandSource: CommandSource): void;
288
288
  CommandCanceledAsync(connection: IRelationalConnection, command: DbCommand, logCommandText: string, context: DbContext, executeMethod: DbCommandMethod, commandId: Guid, connectionId: Guid, startTime: DateTimeOffset, duration: TimeSpan, commandSource: CommandSource, cancellationToken?: CancellationToken): Task;
289
289
  CommandCreated(connection: IRelationalConnection, command: DbCommand, commandMethod: DbCommandMethod, context: DbContext, commandId: Guid, connectionId: Guid, startTime: DateTimeOffset, duration: TimeSpan, commandSource: CommandSource): DbCommand;
@@ -319,7 +319,7 @@ export interface IRelationalConnectionDiagnosticsLogger$instance extends IDiagno
319
319
  readonly Logger: ILogger;
320
320
  readonly DiagnosticSource: DiagnosticSource;
321
321
  readonly DbContextLogger: IDbContextLogger;
322
- readonly Interceptors: IInterceptors;
322
+ readonly Interceptors: IInterceptors | undefined;
323
323
  ConnectionCreated(connection: IRelationalConnection, startTime: DateTimeOffset, duration: TimeSpan): DbConnection;
324
324
  ConnectionCreating(connection: IRelationalConnection, startTime: DateTimeOffset): InterceptionResult_1<DbConnection>;
325
325
  ConnectionDisposed(connection: IRelationalConnection, startTime: DateTimeOffset, duration: TimeSpan): void;
@@ -600,7 +600,7 @@ export const CommandEventData: {
600
600
  export type CommandEventData = CommandEventData$instance;
601
601
 
602
602
  export interface CommandExecutedEventData$instance extends CommandEndEventData {
603
- readonly Result: unknown;
603
+ readonly Result: unknown | undefined;
604
604
  }
605
605
 
606
606
 
@@ -811,7 +811,7 @@ export interface DbCommandInterceptor$instance extends IInterceptor {
811
811
  }
812
812
 
813
813
 
814
- export const DbCommandInterceptor: {
814
+ export const DbCommandInterceptor: (abstract new() => DbCommandInterceptor) & {
815
815
  };
816
816
 
817
817
 
@@ -846,7 +846,7 @@ export interface DbConnectionInterceptor$instance extends IInterceptor {
846
846
  }
847
847
 
848
848
 
849
- export const DbConnectionInterceptor: {
849
+ export const DbConnectionInterceptor: (abstract new() => DbConnectionInterceptor) & {
850
850
  };
851
851
 
852
852
 
@@ -879,7 +879,7 @@ export type DbContextErrorEventData = DbContextErrorEventData$instance & __DbCon
879
879
 
880
880
 
881
881
  export interface DbContextEventData$instance extends EventData {
882
- readonly Context: DbContext;
882
+ readonly Context: DbContext | undefined;
883
883
  }
884
884
 
885
885
 
@@ -953,7 +953,7 @@ export interface DbTransactionInterceptor$instance extends IInterceptor {
953
953
  }
954
954
 
955
955
 
956
- export const DbTransactionInterceptor: {
956
+ export const DbTransactionInterceptor: (abstract new() => DbTransactionInterceptor) & {
957
957
  };
958
958
 
959
959
 
@@ -1114,10 +1114,11 @@ export interface EventDefinitionBase$instance {
1114
1114
  readonly EventIdCode: string;
1115
1115
  readonly Level: LogLevel;
1116
1116
  readonly WarningBehavior: WarningBehavior;
1117
+ WarningAsError(message: string): Exception;
1117
1118
  }
1118
1119
 
1119
1120
 
1120
- export const EventDefinitionBase: {
1121
+ export const EventDefinitionBase: (abstract new(loggingOptions: ILoggingOptions, eventId: EventId, level: LogLevel, eventIdCode: string) => EventDefinitionBase) & {
1121
1122
  };
1122
1123
 
1123
1124
 
@@ -1209,7 +1210,7 @@ export type IgnoringIdentityResolutionInterceptor = IgnoringIdentityResolutionIn
1209
1210
 
1210
1211
  export interface IndexEventData$instance extends EventData {
1211
1212
  readonly EntityType: IEntityType;
1212
- readonly Name: string;
1213
+ readonly Name: string | undefined;
1213
1214
  readonly PropertyNames: List<System_Internal.String>;
1214
1215
  }
1215
1216
 
@@ -1223,7 +1224,7 @@ export type IndexEventData = IndexEventData$instance;
1223
1224
 
1224
1225
  export interface IndexWithPropertiesEventData$instance extends EventData {
1225
1226
  readonly EntityType: IEntityType;
1226
- readonly Name: string;
1227
+ readonly Name: string | undefined;
1227
1228
  readonly Property1Name: string;
1228
1229
  readonly Property2Name: string;
1229
1230
  readonly PropertyNames: List<System_Internal.String>;
@@ -1241,7 +1242,7 @@ export type IndexWithPropertiesEventData = IndexWithPropertiesEventData$instance
1241
1242
 
1242
1243
  export interface IndexWithPropertyEventData$instance extends EventData {
1243
1244
  readonly EntityType: IEntityType;
1244
- readonly Name: string;
1245
+ readonly Name: string | undefined;
1245
1246
  readonly PropertyName: string;
1246
1247
  readonly PropertyNames: List<System_Internal.String>;
1247
1248
  }
@@ -1257,10 +1258,11 @@ export type IndexWithPropertyEventData = IndexWithPropertyEventData$instance;
1257
1258
  export interface InterceptorAggregator_1$instance<TInterceptor extends IInterceptor> {
1258
1259
  readonly InterceptorType: Type;
1259
1260
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
1261
+ CreateChain(interceptors: IEnumerable<TInterceptor>): TInterceptor;
1260
1262
  }
1261
1263
 
1262
1264
 
1263
- export const InterceptorAggregator_1: {
1265
+ export const InterceptorAggregator_1: (abstract new<TInterceptor extends IInterceptor>() => InterceptorAggregator_1<TInterceptor>) & {
1264
1266
  };
1265
1267
 
1266
1268
 
@@ -1316,7 +1318,7 @@ export interface LoggerCategory_1$instance<T> {
1316
1318
  }
1317
1319
 
1318
1320
 
1319
- export const LoggerCategory_1: {
1321
+ export const LoggerCategory_1: (abstract new<T>() => LoggerCategory_1<T>) & {
1320
1322
  readonly Name: string;
1321
1323
  };
1322
1324
 
@@ -1414,7 +1416,7 @@ export interface LoggingDefinitions$instance {
1414
1416
  }
1415
1417
 
1416
1418
 
1417
- export const LoggingDefinitions: {
1419
+ export const LoggingDefinitions: (abstract new() => LoggingDefinitions) & {
1418
1420
  };
1419
1421
 
1420
1422
 
@@ -1749,7 +1751,7 @@ export interface RelationalLoggingDefinitions$instance extends LoggingDefinition
1749
1751
  }
1750
1752
 
1751
1753
 
1752
- export const RelationalLoggingDefinitions: {
1754
+ export const RelationalLoggingDefinitions: (abstract new() => RelationalLoggingDefinitions) & {
1753
1755
  };
1754
1756
 
1755
1757
 
@@ -1794,7 +1796,7 @@ export interface SaveChangesInterceptor$instance extends IInterceptor {
1794
1796
  }
1795
1797
 
1796
1798
 
1797
- export const SaveChangesInterceptor: {
1799
+ export const SaveChangesInterceptor: (abstract new() => SaveChangesInterceptor) & {
1798
1800
  };
1799
1801
 
1800
1802
 
@@ -2142,6 +2144,7 @@ export type ValueConverterEventData = ValueConverterEventData$instance;
2142
2144
 
2143
2145
  export interface WarningsConfiguration$instance {
2144
2146
  readonly DefaultBehavior: WarningBehavior;
2147
+ Clone(): WarningsConfiguration;
2145
2148
  GetBehavior(eventId: EventId): Nullable<WarningBehavior>;
2146
2149
  GetLevel(eventId: EventId): Nullable<LogLevel>;
2147
2150
  GetServiceProviderHashCode(): int;