@tsonic/efcore 10.0.2 → 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 (34) hide show
  1. package/Microsoft.EntityFrameworkCore/internal/index.d.ts +18 -35
  2. package/Microsoft.EntityFrameworkCore.ChangeTracking/internal/index.d.ts +28 -69
  3. package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal/internal/index.d.ts +153 -261
  4. package/Microsoft.EntityFrameworkCore.Design/internal/index.d.ts +43 -55
  5. package/Microsoft.EntityFrameworkCore.Design.Internal/internal/index.d.ts +8 -16
  6. package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +24 -46
  7. package/Microsoft.EntityFrameworkCore.Diagnostics.Internal/internal/index.d.ts +8 -50
  8. package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +160 -247
  9. package/Microsoft.EntityFrameworkCore.Infrastructure.Internal/internal/index.d.ts +5 -9
  10. package/Microsoft.EntityFrameworkCore.Internal/internal/index.d.ts +0 -3
  11. package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +304 -407
  12. package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +130 -268
  13. package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +266 -598
  14. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/internal/index.d.ts +6 -15
  15. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal/internal/index.d.ts +1 -1
  16. package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +436 -763
  17. package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +95 -116
  18. package/Microsoft.EntityFrameworkCore.Migrations.Internal/internal/index.d.ts +56 -64
  19. package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +229 -347
  20. package/Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/internal/index.d.ts +2 -6
  21. package/Microsoft.EntityFrameworkCore.Query/internal/index.d.ts +468 -719
  22. package/Microsoft.EntityFrameworkCore.Query.Internal/internal/index.d.ts +151 -301
  23. package/Microsoft.EntityFrameworkCore.Query.SqlExpressions/internal/index.d.ts +144 -335
  24. package/Microsoft.EntityFrameworkCore.Scaffolding/internal/index.d.ts +4 -10
  25. package/Microsoft.EntityFrameworkCore.Scaffolding.Metadata/internal/index.d.ts +73 -102
  26. package/Microsoft.EntityFrameworkCore.Storage/internal/index.d.ts +244 -452
  27. package/Microsoft.EntityFrameworkCore.Storage.Internal/internal/index.d.ts +19 -47
  28. package/Microsoft.EntityFrameworkCore.Storage.Json/internal/index.d.ts +3 -32
  29. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion/internal/index.d.ts +3 -9
  30. package/Microsoft.EntityFrameworkCore.Update/internal/index.d.ts +114 -133
  31. package/Microsoft.EntityFrameworkCore.Update.Internal/internal/index.d.ts +21 -43
  32. package/Microsoft.EntityFrameworkCore.ValueGeneration/internal/index.d.ts +21 -49
  33. package/Microsoft.EntityFrameworkCore.ValueGeneration.Internal/internal/index.d.ts +5 -14
  34. package/package.json +1 -1
@@ -123,7 +123,7 @@ export interface IDesignTimeServices$instance {
123
123
  export type IDesignTimeServices = IDesignTimeServices$instance;
124
124
 
125
125
  export interface IMethodCallCodeFragment$instance {
126
- readonly DeclaringType: string;
126
+ readonly DeclaringType: string | undefined;
127
127
  readonly Method: string;
128
128
  readonly TypeArguments: IEnumerable<System_Internal.String>;
129
129
  readonly Arguments: IEnumerable<unknown | undefined>;
@@ -133,48 +133,29 @@ export interface IMethodCallCodeFragment$instance {
133
133
 
134
134
  export type IMethodCallCodeFragment = IMethodCallCodeFragment$instance;
135
135
 
136
- export abstract class AnnotationCodeGenerator$protected {
137
- protected readonly Dependencies: AnnotationCodeGeneratorDependencies;
138
- protected GenerateDataAnnotation(entityType: IEntityType, annotation: IAnnotation): AttributeCodeFragment | undefined;
139
- protected GenerateDataAnnotation(property: IProperty, annotation: IAnnotation): AttributeCodeFragment | undefined;
140
- protected GenerateFluentApi(model: IModel, annotation: IAnnotation): MethodCallCodeFragment | undefined;
141
- protected GenerateFluentApi(entityType: IEntityType, annotation: IAnnotation): MethodCallCodeFragment | undefined;
142
- protected GenerateFluentApi(complexType: IComplexType, annotation: IAnnotation): MethodCallCodeFragment | undefined;
143
- protected GenerateFluentApi(fragment: IEntityTypeMappingFragment, annotation: IAnnotation): MethodCallCodeFragment | undefined;
144
- protected GenerateFluentApi(key: IKey, annotation: IAnnotation): MethodCallCodeFragment | undefined;
145
- protected GenerateFluentApi(property: IProperty, annotation: IAnnotation): MethodCallCodeFragment | undefined;
146
- protected GenerateFluentApi(complexProperty: IComplexProperty, annotation: IAnnotation): MethodCallCodeFragment | undefined;
147
- protected GenerateFluentApi(foreignKey: IForeignKey, annotation: IAnnotation): MethodCallCodeFragment | undefined;
148
- protected GenerateFluentApi(navigation: INavigation, annotation: IAnnotation): MethodCallCodeFragment | undefined;
149
- protected GenerateFluentApi(navigation: ISkipNavigation, annotation: IAnnotation): MethodCallCodeFragment | undefined;
150
- protected GenerateFluentApi(index: IIndex, annotation: IAnnotation): MethodCallCodeFragment | undefined;
151
- protected GenerateFluentApi(checkConstraint: ICheckConstraint, annotation: IAnnotation): MethodCallCodeFragment | undefined;
152
- protected GenerateFluentApi(trigger: ITrigger, annotation: IAnnotation): MethodCallCodeFragment | undefined;
153
- protected GenerateFluentApi(overrides: IRelationalPropertyOverrides, annotation: IAnnotation): MethodCallCodeFragment | undefined;
154
- protected GenerateFluentApi(sequence: ISequence, annotation: IAnnotation): MethodCallCodeFragment | undefined;
155
- protected IsHandledByConvention(model: IModel, annotation: IAnnotation): boolean;
156
- protected IsHandledByConvention(entityType: IEntityType, annotation: IAnnotation): boolean;
157
- protected IsHandledByConvention(complexType: IComplexType, annotation: IAnnotation): boolean;
158
- protected IsHandledByConvention(fragment: IEntityTypeMappingFragment, annotation: IAnnotation): boolean;
159
- protected IsHandledByConvention(key: IKey, annotation: IAnnotation): boolean;
160
- protected IsHandledByConvention(property: IProperty, annotation: IAnnotation): boolean;
161
- protected IsHandledByConvention(complexProperty: IComplexProperty, annotation: IAnnotation): boolean;
162
- protected IsHandledByConvention(foreignKey: IForeignKey, annotation: IAnnotation): boolean;
163
- protected IsHandledByConvention(navigation: INavigation, annotation: IAnnotation): boolean;
164
- protected IsHandledByConvention(navigation: ISkipNavigation, annotation: IAnnotation): boolean;
165
- protected IsHandledByConvention(index: IIndex, annotation: IAnnotation): boolean;
166
- protected IsHandledByConvention(checkConstraint: ICheckConstraint, annotation: IAnnotation): boolean;
167
- protected IsHandledByConvention(trigger: ITrigger, annotation: IAnnotation): boolean;
168
- protected IsHandledByConvention(overrides: IRelationalPropertyOverrides, annotation: IAnnotation): boolean;
169
- protected IsHandledByConvention(sequence: ISequence, annotation: IAnnotation): boolean;
170
- }
171
-
172
-
173
- export interface AnnotationCodeGenerator$instance extends AnnotationCodeGenerator$protected {
136
+ export interface AnnotationCodeGenerator$instance {
137
+ readonly Dependencies: AnnotationCodeGeneratorDependencies;
174
138
  FilterIgnoredAnnotations(annotations: IEnumerable<IAnnotation>): IEnumerable<IAnnotation>;
139
+ GenerateDataAnnotation(entityType: IEntityType, annotation: IAnnotation): AttributeCodeFragment | undefined;
140
+ GenerateDataAnnotation(property: IProperty, annotation: IAnnotation): AttributeCodeFragment | undefined;
175
141
  GenerateDataAnnotationAttributes(entityType: IEntityType, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<AttributeCodeFragment>;
176
142
  GenerateDataAnnotationAttributes(property: IProperty, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<AttributeCodeFragment>;
177
143
  GenerateDataAnnotationAttributes(annotatable: IAnnotatable, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<AttributeCodeFragment>;
144
+ GenerateFluentApi(model: IModel, annotation: IAnnotation): MethodCallCodeFragment | undefined;
145
+ GenerateFluentApi(entityType: IEntityType, annotation: IAnnotation): MethodCallCodeFragment | undefined;
146
+ GenerateFluentApi(complexType: IComplexType, annotation: IAnnotation): MethodCallCodeFragment | undefined;
147
+ GenerateFluentApi(fragment: IEntityTypeMappingFragment, annotation: IAnnotation): MethodCallCodeFragment | undefined;
148
+ GenerateFluentApi(key: IKey, annotation: IAnnotation): MethodCallCodeFragment | undefined;
149
+ GenerateFluentApi(property: IProperty, annotation: IAnnotation): MethodCallCodeFragment | undefined;
150
+ GenerateFluentApi(complexProperty: IComplexProperty, annotation: IAnnotation): MethodCallCodeFragment | undefined;
151
+ GenerateFluentApi(foreignKey: IForeignKey, annotation: IAnnotation): MethodCallCodeFragment | undefined;
152
+ GenerateFluentApi(navigation: INavigation, annotation: IAnnotation): MethodCallCodeFragment | undefined;
153
+ GenerateFluentApi(navigation: ISkipNavigation, annotation: IAnnotation): MethodCallCodeFragment | undefined;
154
+ GenerateFluentApi(index: IIndex, annotation: IAnnotation): MethodCallCodeFragment | undefined;
155
+ GenerateFluentApi(checkConstraint: ICheckConstraint, annotation: IAnnotation): MethodCallCodeFragment | undefined;
156
+ GenerateFluentApi(trigger: ITrigger, annotation: IAnnotation): MethodCallCodeFragment | undefined;
157
+ GenerateFluentApi(overrides: IRelationalPropertyOverrides, annotation: IAnnotation): MethodCallCodeFragment | undefined;
158
+ GenerateFluentApi(sequence: ISequence, annotation: IAnnotation): MethodCallCodeFragment | undefined;
178
159
  GenerateFluentApiCalls(model: IModel, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<MethodCallCodeFragment>;
179
160
  GenerateFluentApiCalls(entityType: IEntityType, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<MethodCallCodeFragment>;
180
161
  GenerateFluentApiCalls(complexType: IComplexType, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<MethodCallCodeFragment>;
@@ -191,6 +172,21 @@ export interface AnnotationCodeGenerator$instance extends AnnotationCodeGenerato
191
172
  GenerateFluentApiCalls(overrides: IRelationalPropertyOverrides, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<MethodCallCodeFragment>;
192
173
  GenerateFluentApiCalls(sequence: ISequence, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<MethodCallCodeFragment>;
193
174
  GenerateFluentApiCalls(annotatable: IAnnotatable, annotations: IDictionary<System_Internal.String, IAnnotation>): IReadOnlyList<MethodCallCodeFragment>;
175
+ IsHandledByConvention(model: IModel, annotation: IAnnotation): boolean;
176
+ IsHandledByConvention(entityType: IEntityType, annotation: IAnnotation): boolean;
177
+ IsHandledByConvention(complexType: IComplexType, annotation: IAnnotation): boolean;
178
+ IsHandledByConvention(fragment: IEntityTypeMappingFragment, annotation: IAnnotation): boolean;
179
+ IsHandledByConvention(key: IKey, annotation: IAnnotation): boolean;
180
+ IsHandledByConvention(property: IProperty, annotation: IAnnotation): boolean;
181
+ IsHandledByConvention(complexProperty: IComplexProperty, annotation: IAnnotation): boolean;
182
+ IsHandledByConvention(foreignKey: IForeignKey, annotation: IAnnotation): boolean;
183
+ IsHandledByConvention(navigation: INavigation, annotation: IAnnotation): boolean;
184
+ IsHandledByConvention(navigation: ISkipNavigation, annotation: IAnnotation): boolean;
185
+ IsHandledByConvention(index: IIndex, annotation: IAnnotation): boolean;
186
+ IsHandledByConvention(checkConstraint: ICheckConstraint, annotation: IAnnotation): boolean;
187
+ IsHandledByConvention(trigger: ITrigger, annotation: IAnnotation): boolean;
188
+ IsHandledByConvention(overrides: IRelationalPropertyOverrides, annotation: IAnnotation): boolean;
189
+ IsHandledByConvention(sequence: ISequence, annotation: IAnnotation): boolean;
194
190
  RemoveAnnotationsHandledByConventions(model: IModel, annotations: IDictionary<System_Internal.String, IAnnotation>): void;
195
191
  RemoveAnnotationsHandledByConventions(entityType: IEntityType, annotations: IDictionary<System_Internal.String, IAnnotation>): void;
196
192
  RemoveAnnotationsHandledByConventions(complexType: IComplexType, annotations: IDictionary<System_Internal.String, IAnnotation>): void;
@@ -280,14 +276,10 @@ export const DesignTimeServicesReferenceAttribute: {
280
276
 
281
277
  export type DesignTimeServicesReferenceAttribute = DesignTimeServicesReferenceAttribute$instance;
282
278
 
283
- export abstract class EntityFrameworkDesignServicesBuilder$protected {
284
- protected TryGetServiceCharacteristics2(serviceType: Type): Nullable<ServiceCharacteristics>;
285
- protected TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
286
- }
287
-
288
-
289
- export interface EntityFrameworkDesignServicesBuilder$instance extends EntityFrameworkDesignServicesBuilder$protected, EntityFrameworkServicesBuilder {
279
+ export interface EntityFrameworkDesignServicesBuilder$instance extends EntityFrameworkServicesBuilder {
290
280
  TryAddCoreServices(): EntityFrameworkServicesBuilder;
281
+ TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
282
+ TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
291
283
  }
292
284
 
293
285
 
@@ -299,14 +291,10 @@ export const EntityFrameworkDesignServicesBuilder: {
299
291
 
300
292
  export type EntityFrameworkDesignServicesBuilder = EntityFrameworkDesignServicesBuilder$instance;
301
293
 
302
- export abstract class EntityFrameworkRelationalDesignServicesBuilder$protected {
303
- protected TryGetServiceCharacteristics2(serviceType: Type): Nullable<ServiceCharacteristics>;
304
- protected TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
305
- }
306
-
307
-
308
- export interface EntityFrameworkRelationalDesignServicesBuilder$instance extends EntityFrameworkRelationalDesignServicesBuilder$protected, EntityFrameworkDesignServicesBuilder {
294
+ export interface EntityFrameworkRelationalDesignServicesBuilder$instance extends EntityFrameworkDesignServicesBuilder {
309
295
  TryAddCoreServices(): EntityFrameworkServicesBuilder;
296
+ TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
297
+ TryGetServiceCharacteristics(serviceType: Type): Nullable<ServiceCharacteristics>;
310
298
  }
311
299
 
312
300
 
@@ -321,10 +309,10 @@ export type EntityFrameworkRelationalDesignServicesBuilder = EntityFrameworkRela
321
309
  export interface MethodCallCodeFragment$instance {
322
310
  readonly Arguments: IReadOnlyList<unknown | undefined>;
323
311
  readonly ChainedCall: MethodCallCodeFragment | undefined;
324
- readonly DeclaringType: string;
312
+ readonly DeclaringType: string | undefined;
325
313
  readonly Method: string;
326
314
  readonly MethodInfo: MethodInfo | undefined;
327
- readonly Namespace: string;
315
+ readonly Namespace: string | undefined;
328
316
  Chain(methodInfo: MethodInfo, ...arguments: unknown[]): MethodCallCodeFragment;
329
317
  Chain(method: string, ...arguments: unknown[]): MethodCallCodeFragment;
330
318
  Chain(call: MethodCallCodeFragment): MethodCallCodeFragment;
@@ -51,7 +51,7 @@ export interface QualifiedName$instance {
51
51
  Equals(obj: unknown): boolean;
52
52
  Equals(other: QualifiedName): boolean;
53
53
  GetHashCode(): int;
54
- ToString(): string | undefined;
54
+ ToString(): string;
55
55
  }
56
56
 
57
57
 
@@ -62,18 +62,12 @@ export const QualifiedName: {
62
62
 
63
63
  export type QualifiedName = QualifiedName$instance;
64
64
 
65
- export abstract class CSharpRuntimeAnnotationCodeGenerator$protected {
66
- protected readonly Dependencies: CSharpRuntimeAnnotationCodeGeneratorDependencies;
67
- protected CreateDefaultTypeMapping(typeMapping: CoreTypeMapping, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): CoreTypeMapping | undefined;
68
- protected GenerateSimpleAnnotation(annotationName: string, valueString: string, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
69
- protected GenerateSimpleAnnotations(parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
70
- }
71
-
72
-
73
- export interface CSharpRuntimeAnnotationCodeGenerator$instance extends CSharpRuntimeAnnotationCodeGenerator$protected {
65
+ export interface CSharpRuntimeAnnotationCodeGenerator$instance {
66
+ readonly Dependencies: CSharpRuntimeAnnotationCodeGeneratorDependencies;
74
67
  Create(converter: ValueConverter, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
75
68
  Create(comparer: ValueComparer, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
76
69
  Create(typeMapping: CoreTypeMapping, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters, valueComparer?: ValueComparer, keyValueComparer?: ValueComparer, providerValueComparer?: ValueComparer): boolean;
70
+ CreateDefaultTypeMapping(typeMapping: CoreTypeMapping, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): CoreTypeMapping | undefined;
77
71
  Generate(model: IModel, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
78
72
  Generate(entityType: IEntityType, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
79
73
  Generate(complexProperty: IComplexProperty, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
@@ -88,6 +82,8 @@ export interface CSharpRuntimeAnnotationCodeGenerator$instance extends CSharpRun
88
82
  Generate(index: IIndex, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
89
83
  Generate(trigger: ITrigger, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
90
84
  Generate(typeConfiguration: ITypeMappingConfiguration, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
85
+ GenerateSimpleAnnotation(annotationName: string, valueString: string, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
86
+ GenerateSimpleAnnotations(parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
91
87
  }
92
88
 
93
89
 
@@ -154,12 +150,8 @@ export const CSharpRuntimeAnnotationCodeGeneratorParameters: {
154
150
 
155
151
  export type CSharpRuntimeAnnotationCodeGeneratorParameters = CSharpRuntimeAnnotationCodeGeneratorParameters$instance;
156
152
 
157
- export abstract class RelationalCSharpRuntimeAnnotationCodeGenerator$protected {
158
- protected readonly RelationalDependencies: RelationalCSharpRuntimeAnnotationCodeGeneratorDependencies;
159
- }
160
-
161
-
162
- export interface RelationalCSharpRuntimeAnnotationCodeGenerator$instance extends RelationalCSharpRuntimeAnnotationCodeGenerator$protected, CSharpRuntimeAnnotationCodeGenerator$instance {
153
+ export interface RelationalCSharpRuntimeAnnotationCodeGenerator$instance extends CSharpRuntimeAnnotationCodeGenerator$instance {
154
+ readonly RelationalDependencies: RelationalCSharpRuntimeAnnotationCodeGeneratorDependencies;
163
155
  Create(typeMapping: CoreTypeMapping, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters, valueComparer?: ValueComparer, keyValueComparer?: ValueComparer, providerValueComparer?: ValueComparer): boolean;
164
156
  Create(converter: ValueConverter, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
165
157
  Create(comparer: ValueComparer, parameters: CSharpRuntimeAnnotationCodeGeneratorParameters): void;
@@ -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,8 +811,7 @@ export interface DbCommandInterceptor$instance extends IInterceptor {
811
811
  }
812
812
 
813
813
 
814
- export const DbCommandInterceptor: {
815
- new(): DbCommandInterceptor;
814
+ export const DbCommandInterceptor: (abstract new() => DbCommandInterceptor) & {
816
815
  };
817
816
 
818
817
 
@@ -847,8 +846,7 @@ export interface DbConnectionInterceptor$instance extends IInterceptor {
847
846
  }
848
847
 
849
848
 
850
- export const DbConnectionInterceptor: {
851
- new(): DbConnectionInterceptor;
849
+ export const DbConnectionInterceptor: (abstract new() => DbConnectionInterceptor) & {
852
850
  };
853
851
 
854
852
 
@@ -881,7 +879,7 @@ export type DbContextErrorEventData = DbContextErrorEventData$instance & __DbCon
881
879
 
882
880
 
883
881
  export interface DbContextEventData$instance extends EventData {
884
- readonly Context: DbContext;
882
+ readonly Context: DbContext | undefined;
885
883
  }
886
884
 
887
885
 
@@ -955,8 +953,7 @@ export interface DbTransactionInterceptor$instance extends IInterceptor {
955
953
  }
956
954
 
957
955
 
958
- export const DbTransactionInterceptor: {
959
- new(): DbTransactionInterceptor;
956
+ export const DbTransactionInterceptor: (abstract new() => DbTransactionInterceptor) & {
960
957
  };
961
958
 
962
959
 
@@ -1112,21 +1109,16 @@ export const EventDefinition_6: {
1112
1109
 
1113
1110
  export type EventDefinition_6<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6> = EventDefinition_6$instance<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6>;
1114
1111
 
1115
- export abstract class EventDefinitionBase$protected {
1116
- protected WarningAsError(message: string): Exception;
1117
- }
1118
-
1119
-
1120
- export interface EventDefinitionBase$instance extends EventDefinitionBase$protected {
1112
+ export interface EventDefinitionBase$instance {
1121
1113
  readonly EventId: EventId;
1122
1114
  readonly EventIdCode: string;
1123
1115
  readonly Level: LogLevel;
1124
1116
  readonly WarningBehavior: WarningBehavior;
1117
+ WarningAsError(message: string): Exception;
1125
1118
  }
1126
1119
 
1127
1120
 
1128
- export const EventDefinitionBase: {
1129
- new(loggingOptions: ILoggingOptions, eventId: EventId, level: LogLevel, eventIdCode: string): EventDefinitionBase;
1121
+ export const EventDefinitionBase: (abstract new(loggingOptions: ILoggingOptions, eventId: EventId, level: LogLevel, eventIdCode: string) => EventDefinitionBase) & {
1130
1122
  };
1131
1123
 
1132
1124
 
@@ -1218,7 +1210,7 @@ export type IgnoringIdentityResolutionInterceptor = IgnoringIdentityResolutionIn
1218
1210
 
1219
1211
  export interface IndexEventData$instance extends EventData {
1220
1212
  readonly EntityType: IEntityType;
1221
- readonly Name: string;
1213
+ readonly Name: string | undefined;
1222
1214
  readonly PropertyNames: List<System_Internal.String>;
1223
1215
  }
1224
1216
 
@@ -1232,7 +1224,7 @@ export type IndexEventData = IndexEventData$instance;
1232
1224
 
1233
1225
  export interface IndexWithPropertiesEventData$instance extends EventData {
1234
1226
  readonly EntityType: IEntityType;
1235
- readonly Name: string;
1227
+ readonly Name: string | undefined;
1236
1228
  readonly Property1Name: string;
1237
1229
  readonly Property2Name: string;
1238
1230
  readonly PropertyNames: List<System_Internal.String>;
@@ -1250,7 +1242,7 @@ export type IndexWithPropertiesEventData = IndexWithPropertiesEventData$instance
1250
1242
 
1251
1243
  export interface IndexWithPropertyEventData$instance extends EventData {
1252
1244
  readonly EntityType: IEntityType;
1253
- readonly Name: string;
1245
+ readonly Name: string | undefined;
1254
1246
  readonly PropertyName: string;
1255
1247
  readonly PropertyNames: List<System_Internal.String>;
1256
1248
  }
@@ -1263,19 +1255,14 @@ export const IndexWithPropertyEventData: {
1263
1255
 
1264
1256
  export type IndexWithPropertyEventData = IndexWithPropertyEventData$instance;
1265
1257
 
1266
- export abstract class InterceptorAggregator_1$protected<TInterceptor extends IInterceptor> {
1267
- protected abstract CreateChain(interceptors: IEnumerable<TInterceptor>): TInterceptor;
1268
- }
1269
-
1270
-
1271
- export interface InterceptorAggregator_1$instance<TInterceptor extends IInterceptor> extends InterceptorAggregator_1$protected<TInterceptor> {
1258
+ export interface InterceptorAggregator_1$instance<TInterceptor extends IInterceptor> {
1272
1259
  readonly InterceptorType: Type;
1273
1260
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
1261
+ CreateChain(interceptors: IEnumerable<TInterceptor>): TInterceptor;
1274
1262
  }
1275
1263
 
1276
1264
 
1277
- export const InterceptorAggregator_1: {
1278
- new<TInterceptor extends IInterceptor>(): InterceptorAggregator_1<TInterceptor>;
1265
+ export const InterceptorAggregator_1: (abstract new<TInterceptor extends IInterceptor>() => InterceptorAggregator_1<TInterceptor>) & {
1279
1266
  };
1280
1267
 
1281
1268
 
@@ -1331,8 +1318,7 @@ export interface LoggerCategory_1$instance<T> {
1331
1318
  }
1332
1319
 
1333
1320
 
1334
- export const LoggerCategory_1: {
1335
- new<T>(): LoggerCategory_1<T>;
1321
+ export const LoggerCategory_1: (abstract new<T>() => LoggerCategory_1<T>) & {
1336
1322
  readonly Name: string;
1337
1323
  };
1338
1324
 
@@ -1430,8 +1416,7 @@ export interface LoggingDefinitions$instance {
1430
1416
  }
1431
1417
 
1432
1418
 
1433
- export const LoggingDefinitions: {
1434
- new(): LoggingDefinitions;
1419
+ export const LoggingDefinitions: (abstract new() => LoggingDefinitions) & {
1435
1420
  };
1436
1421
 
1437
1422
 
@@ -1766,8 +1751,7 @@ export interface RelationalLoggingDefinitions$instance extends LoggingDefinition
1766
1751
  }
1767
1752
 
1768
1753
 
1769
- export const RelationalLoggingDefinitions: {
1770
- new(): RelationalLoggingDefinitions;
1754
+ export const RelationalLoggingDefinitions: (abstract new() => RelationalLoggingDefinitions) & {
1771
1755
  };
1772
1756
 
1773
1757
 
@@ -1812,8 +1796,7 @@ export interface SaveChangesInterceptor$instance extends IInterceptor {
1812
1796
  }
1813
1797
 
1814
1798
 
1815
- export const SaveChangesInterceptor: {
1816
- new(): SaveChangesInterceptor;
1799
+ export const SaveChangesInterceptor: (abstract new() => SaveChangesInterceptor) & {
1817
1800
  };
1818
1801
 
1819
1802
 
@@ -2159,13 +2142,9 @@ export const ValueConverterEventData: {
2159
2142
 
2160
2143
  export type ValueConverterEventData = ValueConverterEventData$instance;
2161
2144
 
2162
- export abstract class WarningsConfiguration$protected {
2163
- protected Clone(): WarningsConfiguration;
2164
- }
2165
-
2166
-
2167
- export interface WarningsConfiguration$instance extends WarningsConfiguration$protected {
2145
+ export interface WarningsConfiguration$instance {
2168
2146
  readonly DefaultBehavior: WarningBehavior;
2147
+ Clone(): WarningsConfiguration;
2169
2148
  GetBehavior(eventId: EventId): Nullable<WarningBehavior>;
2170
2149
  GetLevel(eventId: EventId): Nullable<LogLevel>;
2171
2150
  GetServiceProviderHashCode(): int;
@@ -2179,7 +2158,6 @@ export interface WarningsConfiguration$instance extends WarningsConfiguration$pr
2179
2158
 
2180
2159
  export const WarningsConfiguration: {
2181
2160
  new(): WarningsConfiguration;
2182
- new(copyFrom: WarningsConfiguration): WarningsConfiguration;
2183
2161
  };
2184
2162
 
2185
2163
 
@@ -27,13 +27,7 @@ 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
-
35
-
36
- export interface DbCommandInterceptorAggregator$instance extends DbCommandInterceptorAggregator$protected, InterceptorAggregator_1<IDbCommandInterceptor> {
30
+ export interface DbCommandInterceptorAggregator$instance extends InterceptorAggregator_1<IDbCommandInterceptor> {
37
31
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
38
32
  }
39
33
 
@@ -50,13 +44,7 @@ export interface __DbCommandInterceptorAggregator$views {
50
44
  export type DbCommandInterceptorAggregator = DbCommandInterceptorAggregator$instance & __DbCommandInterceptorAggregator$views;
51
45
 
52
46
 
53
- export abstract class DbConnectionInterceptorAggregator$protected {
54
- protected CreateChain2(interceptors: IEnumerable<IDbConnectionInterceptor>): IDbConnectionInterceptor;
55
- protected abstract CreateChain(interceptors: IEnumerable<unknown>): unknown;
56
- }
57
-
58
-
59
- export interface DbConnectionInterceptorAggregator$instance extends DbConnectionInterceptorAggregator$protected, InterceptorAggregator_1<IDbConnectionInterceptor> {
47
+ export interface DbConnectionInterceptorAggregator$instance extends InterceptorAggregator_1<IDbConnectionInterceptor> {
60
48
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
61
49
  }
62
50
 
@@ -73,13 +61,7 @@ export interface __DbConnectionInterceptorAggregator$views {
73
61
  export type DbConnectionInterceptorAggregator = DbConnectionInterceptorAggregator$instance & __DbConnectionInterceptorAggregator$views;
74
62
 
75
63
 
76
- export abstract class DbTransactionInterceptorAggregator$protected {
77
- protected CreateChain2(interceptors: IEnumerable<IDbTransactionInterceptor>): IDbTransactionInterceptor;
78
- protected abstract CreateChain(interceptors: IEnumerable<unknown>): unknown;
79
- }
80
-
81
-
82
- export interface DbTransactionInterceptorAggregator$instance extends DbTransactionInterceptorAggregator$protected, InterceptorAggregator_1<IDbTransactionInterceptor> {
64
+ export interface DbTransactionInterceptorAggregator$instance extends InterceptorAggregator_1<IDbTransactionInterceptor> {
83
65
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
84
66
  }
85
67
 
@@ -120,7 +102,7 @@ export interface DiagnosticsLogger_1$instance<TLoggerCategory extends LoggerCate
120
102
  readonly DbContextLogger: IDbContextLogger;
121
103
  readonly Definitions: LoggingDefinitions;
122
104
  readonly DiagnosticSource: DiagnosticSource;
123
- readonly Interceptors: IInterceptors;
105
+ readonly Interceptors: IInterceptors | undefined;
124
106
  readonly Logger: ILogger;
125
107
  readonly Options: ILoggingOptions;
126
108
  ShouldLogSensitiveData(): boolean;
@@ -159,13 +141,7 @@ export interface FormattingDbContextLogger$instance extends Microsoft_EntityFram
159
141
  export type FormattingDbContextLogger = FormattingDbContextLogger$instance & __FormattingDbContextLogger$views;
160
142
 
161
143
 
162
- export abstract class IdentityResolutionInterceptorAggregator$protected {
163
- protected CreateChain2(interceptors: IEnumerable<IIdentityResolutionInterceptor>): IIdentityResolutionInterceptor;
164
- protected abstract CreateChain(interceptors: IEnumerable<unknown>): unknown;
165
- }
166
-
167
-
168
- export interface IdentityResolutionInterceptorAggregator$instance extends IdentityResolutionInterceptorAggregator$protected, InterceptorAggregator_1<IIdentityResolutionInterceptor> {
144
+ export interface IdentityResolutionInterceptorAggregator$instance extends InterceptorAggregator_1<IIdentityResolutionInterceptor> {
169
145
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
170
146
  }
171
147
 
@@ -225,13 +201,7 @@ export interface __LoggingOptions$views {
225
201
  export type LoggingOptions = LoggingOptions$instance & __LoggingOptions$views;
226
202
 
227
203
 
228
- export abstract class MaterializationInterceptorAggregator$protected {
229
- protected CreateChain2(interceptors: IEnumerable<IMaterializationInterceptor>): IMaterializationInterceptor;
230
- protected abstract CreateChain(interceptors: IEnumerable<unknown>): unknown;
231
- }
232
-
233
-
234
- export interface MaterializationInterceptorAggregator$instance extends MaterializationInterceptorAggregator$protected, InterceptorAggregator_1<IMaterializationInterceptor> {
204
+ export interface MaterializationInterceptorAggregator$instance extends InterceptorAggregator_1<IMaterializationInterceptor> {
235
205
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
236
206
  }
237
207
 
@@ -268,13 +238,7 @@ export interface NullDbContextLogger$instance extends Microsoft_EntityFrameworkC
268
238
  export type NullDbContextLogger = NullDbContextLogger$instance & __NullDbContextLogger$views;
269
239
 
270
240
 
271
- export abstract class QueryExpressionInterceptorAggregator$protected {
272
- protected CreateChain2(interceptors: IEnumerable<IQueryExpressionInterceptor>): IQueryExpressionInterceptor;
273
- protected abstract CreateChain(interceptors: IEnumerable<unknown>): unknown;
274
- }
275
-
276
-
277
- export interface QueryExpressionInterceptorAggregator$instance extends QueryExpressionInterceptorAggregator$protected, InterceptorAggregator_1<IQueryExpressionInterceptor> {
241
+ export interface QueryExpressionInterceptorAggregator$instance extends InterceptorAggregator_1<IQueryExpressionInterceptor> {
278
242
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
279
243
  }
280
244
 
@@ -377,13 +341,7 @@ export interface __RelationalConnectionDiagnosticsLogger$views {
377
341
  export type RelationalConnectionDiagnosticsLogger = RelationalConnectionDiagnosticsLogger$instance & __RelationalConnectionDiagnosticsLogger$views;
378
342
 
379
343
 
380
- export abstract class SaveChangesInterceptorAggregator$protected {
381
- protected CreateChain2(interceptors: IEnumerable<ISaveChangesInterceptor>): ISaveChangesInterceptor;
382
- protected abstract CreateChain(interceptors: IEnumerable<unknown>): unknown;
383
- }
384
-
385
-
386
- export interface SaveChangesInterceptorAggregator$instance extends SaveChangesInterceptorAggregator$protected, InterceptorAggregator_1<ISaveChangesInterceptor> {
344
+ export interface SaveChangesInterceptorAggregator$instance extends InterceptorAggregator_1<ISaveChangesInterceptor> {
387
345
  AggregateInterceptors(interceptors: IReadOnlyList<IInterceptor>): IInterceptor | undefined;
388
346
  }
389
347