@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
@@ -123,6 +123,8 @@ export enum WarningBehavior {
123
123
 
124
124
 
125
125
  export interface IDbContextFactory_1$instance<TContext extends DbContext> {
126
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_IDbContextFactory_1: never;
127
+
126
128
  CreateDbContext(): TContext;
127
129
  CreateDbContextAsync(cancellationToken?: CancellationToken): Task<TContext>;
128
130
  }
@@ -131,6 +133,8 @@ export interface IDbContextFactory_1$instance<TContext extends DbContext> {
131
133
  export type IDbContextFactory_1<TContext extends DbContext> = IDbContextFactory_1$instance<TContext>;
132
134
 
133
135
  export interface IEntityTypeConfiguration_1$instance<TEntity> {
136
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_IEntityTypeConfiguration_1: never;
137
+
134
138
  Configure(builder: EntityTypeBuilder_1<TEntity>): void;
135
139
  }
136
140
 
@@ -178,14 +182,15 @@ export const CommentAttribute: {
178
182
 
179
183
  export type CommentAttribute = CommentAttribute$instance;
180
184
 
181
- export abstract class DbContext$protected {
182
- protected ConfigureConventions(configurationBuilder: ModelConfigurationBuilder): void;
183
- protected OnConfiguring(optionsBuilder: DbContextOptionsBuilder): void;
184
- protected OnModelCreating(modelBuilder: ModelBuilder): void;
185
- }
185
+ export interface DbContext$instance {
186
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_IInfrastructure_1: never;
187
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_IResettableService: never;
188
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Internal_IDbContextDependencies: never;
189
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Internal_IDbContextPoolable: never;
190
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Internal_IDbSetCache: never;
191
+ readonly __tsonic_iface_System_IAsyncDisposable: never;
192
+ readonly __tsonic_iface_System_IDisposable: never;
186
193
 
187
-
188
- export interface DbContext$instance extends DbContext$protected {
189
194
  readonly ChangeTracker: ChangeTracker;
190
195
  readonly ContextId: DbContextId;
191
196
  readonly Database: DatabaseFacade;
@@ -202,6 +207,7 @@ export interface DbContext$instance extends DbContext$protected {
202
207
  Attach(entity: unknown): EntityEntry;
203
208
  AttachRange(...entities: unknown[]): void;
204
209
  AttachRange(entities: IEnumerable__System_Collections_Generic<unknown>): void;
210
+ ConfigureConventions(configurationBuilder: ModelConfigurationBuilder): void;
205
211
  Dispose(): void;
206
212
  DisposeAsync(): ValueTask;
207
213
  Entry<TEntity>(entity: TEntity): EntityEntry_1<TEntity>;
@@ -215,6 +221,8 @@ export interface DbContext$instance extends DbContext$protected {
215
221
  FindAsync<TEntity>(keyValues: unknown[], cancellationToken: CancellationToken): ValueTask<TEntity>;
216
222
  FromExpression<TResult>(expression: Expression<Func<IQueryable<TResult>>>): IQueryable<TResult>;
217
223
  GetHashCode(): int;
224
+ OnConfiguring(optionsBuilder: DbContextOptionsBuilder): void;
225
+ OnModelCreating(modelBuilder: ModelBuilder): void;
218
226
  Remove<TEntity>(entity: TEntity): EntityEntry_1<TEntity>;
219
227
  Remove(entity: unknown): EntityEntry;
220
228
  RemoveRange(...entities: unknown[]): void;
@@ -234,7 +242,6 @@ export interface DbContext$instance extends DbContext$protected {
234
242
 
235
243
 
236
244
  export const DbContext: {
237
- new(): DbContext;
238
245
  new(options: DbContextOptions): DbContext;
239
246
  };
240
247
 
@@ -252,17 +259,15 @@ export interface DbContext$instance extends Microsoft_EntityFrameworkCore_Infras
252
259
  export type DbContext = DbContext$instance & __DbContext$views;
253
260
 
254
261
 
255
- export abstract class DbContextOptions$protected {
256
- protected readonly ExtensionsMap: ImmutableSortedDictionary<Type, ValueTuple<IDbContextOptionsExtension, System_Internal.Int32>>;
257
- protected Equals(other: DbContextOptions): boolean;
258
- }
262
+ export interface DbContextOptions$instance {
263
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_IDbContextOptions: never;
259
264
 
260
-
261
- export interface DbContextOptions$instance extends DbContextOptions$protected {
262
265
  readonly ContextType: Type;
263
266
  readonly Extensions: IEnumerable__System_Collections_Generic<IDbContextOptionsExtension>;
267
+ readonly ExtensionsMap: ImmutableSortedDictionary<Type, ValueTuple<IDbContextOptionsExtension, System_Internal.Int32>>;
264
268
  IsFrozen: boolean;
265
269
  Equals(obj: unknown): boolean;
270
+ Equals(other: DbContextOptions): boolean;
266
271
  FindExtension<TExtension extends IDbContextOptionsExtension>(): TExtension | undefined;
267
272
  Freeze(): void;
268
273
  GetExtension<TExtension extends IDbContextOptionsExtension>(): TExtension;
@@ -271,10 +276,7 @@ export interface DbContextOptions$instance extends DbContextOptions$protected {
271
276
  }
272
277
 
273
278
 
274
- export const DbContextOptions: {
275
- new(): DbContextOptions;
276
- new(extensions: IReadOnlyDictionary<Type, IDbContextOptionsExtension>): DbContextOptions;
277
- new(extensions: ImmutableSortedDictionary<Type, ValueTuple<IDbContextOptionsExtension, System_Internal.Int32>>): DbContextOptions;
279
+ export const DbContextOptions: (abstract new() => DbContextOptions) & (abstract new(extensions: IReadOnlyDictionary<Type, IDbContextOptionsExtension>) => DbContextOptions) & (abstract new(extensions: ImmutableSortedDictionary<Type, ValueTuple<IDbContextOptionsExtension, System_Internal.Int32>>) => DbContextOptions) & {
278
280
  };
279
281
 
280
282
 
@@ -288,6 +290,8 @@ export type DbContextOptions = DbContextOptions$instance & __DbContextOptions$vi
288
290
 
289
291
 
290
292
  export interface DbContextOptions_1$instance<TContext extends DbContext> extends DbContextOptions$instance {
293
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_IDbContextOptions: never;
294
+
291
295
  readonly ContextType: Type;
292
296
  FindExtension<TExtension extends IDbContextOptionsExtension>(): TExtension | undefined;
293
297
  WithExtension<TExtension extends IDbContextOptionsExtension>(extension: TExtension): DbContextOptions;
@@ -308,6 +312,8 @@ export type DbContextOptions_1<TContext extends DbContext> = DbContextOptions_1$
308
312
 
309
313
 
310
314
  export interface DbContextOptionsBuilder$instance {
315
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_IDbContextOptionsBuilderInfrastructure: never;
316
+
311
317
  readonly IsConfigured: boolean;
312
318
  readonly Options: DbContextOptions | DbContextOptions_1<TContext>;
313
319
  AddInterceptors(interceptors: IEnumerable__System_Collections_Generic<IInterceptor>): DbContextOptionsBuilder;
@@ -356,6 +362,8 @@ export type DbContextOptionsBuilder = DbContextOptionsBuilder$instance & __DbCon
356
362
 
357
363
 
358
364
  export interface DbContextOptionsBuilder_1$instance<TContext extends DbContext> extends DbContextOptionsBuilder$instance {
365
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_IDbContextOptionsBuilderInfrastructure: never;
366
+
359
367
  AddInterceptors(interceptors: IEnumerable__System_Collections_Generic<IInterceptor>): DbContextOptionsBuilder_1<TContext>;
360
368
  AddInterceptors(interceptors: IEnumerable__System_Collections_Generic<IInterceptor>): DbContextOptionsBuilder;
361
369
  AddInterceptors(...interceptors: IInterceptor[]): DbContextOptionsBuilder;
@@ -407,9 +415,10 @@ export interface DbFunctionAttribute$instance extends Attribute {
407
415
  IsBuiltIn: boolean;
408
416
  IsNullable: boolean;
409
417
  readonly IsNullableHasValue: boolean;
410
- Name: string;
418
+ get Name(): string | undefined;
419
+ set Name(value: string | undefined);
411
420
  get Schema(): string | undefined;
412
- set Schema(value: string);
421
+ set Schema(value: string | undefined);
413
422
  }
414
423
 
415
424
 
@@ -429,7 +438,6 @@ export interface DbFunctions$instance {
429
438
 
430
439
 
431
440
  export const DbFunctions: {
432
- new(): DbFunctions;
433
441
  };
434
442
 
435
443
 
@@ -568,6 +576,13 @@ export const DbLoggerCategory_Update: {
568
576
  export type DbLoggerCategory_Update = DbLoggerCategory_Update$instance;
569
577
 
570
578
  export interface DbSet_1$instance<TEntity> {
579
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_IInfrastructure_1: never;
580
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
581
+ readonly __tsonic_iface_System_Collections_IEnumerable: never;
582
+ readonly __tsonic_iface_System_ComponentModel_IListSource: never;
583
+ readonly __tsonic_iface_System_Linq_IQueryable: never;
584
+ readonly __tsonic_iface_System_Linq_IQueryable_1: never;
585
+
571
586
  readonly EntityType: IEntityType;
572
587
  readonly Local: LocalView_1<TEntity>;
573
588
  Add(entity: TEntity): EntityEntry_1<TEntity>;
@@ -598,8 +613,7 @@ export interface DbSet_1$instance<TEntity> {
598
613
  }
599
614
 
600
615
 
601
- export const DbSet_1: {
602
- new<TEntity>(): DbSet_1<TEntity>;
616
+ export const DbSet_1: (abstract new<TEntity>() => DbSet_1<TEntity>) & {
603
617
  };
604
618
 
605
619
 
@@ -607,12 +621,14 @@ export interface __DbSet_1$views<TEntity> {
607
621
  As_IInfrastructure_1(): Microsoft_EntityFrameworkCore_Infrastructure_Internal.IInfrastructure_1$instance<IServiceProvider>;
608
622
  }
609
623
 
610
- export interface DbSet_1$instance<TEntity> extends Microsoft_EntityFrameworkCore_Infrastructure_Internal.IInfrastructure_1$instance<IServiceProvider> {}
624
+ export interface DbSet_1$instance<TEntity> extends Microsoft_EntityFrameworkCore_Infrastructure_Internal.IInfrastructure_1$instance<IServiceProvider>, System_Collections_Generic_Internal.IEnumerable<TEntity>, System_ComponentModel_Internal.IListSource, System_Linq_Internal.IQueryable<TEntity> {}
611
625
 
612
626
  export type DbSet_1<TEntity> = DbSet_1$instance<TEntity> & __DbSet_1$views<TEntity>;
613
627
 
614
628
 
615
629
  export interface DbUpdateConcurrencyException$instance extends DbUpdateException {
630
+ readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
631
+
616
632
  }
617
633
 
618
634
 
@@ -629,6 +645,8 @@ export const DbUpdateConcurrencyException: {
629
645
  export type DbUpdateConcurrencyException = DbUpdateConcurrencyException$instance;
630
646
 
631
647
  export interface DbUpdateException$instance extends Exception {
648
+ readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
649
+
632
650
  readonly Entries: IReadOnlyList<EntityEntry>;
633
651
  }
634
652
 
@@ -685,10 +703,11 @@ export type EntityTypeConfigurationAttribute_2<TConfiguration extends IEntityTyp
685
703
  export interface IndexAttribute$instance extends Attribute {
686
704
  AllDescending: boolean;
687
705
  get IsDescending(): boolean[] | undefined;
688
- set IsDescending(value: boolean[]);
706
+ set IsDescending(value: boolean[] | undefined);
689
707
  IsUnique: boolean;
690
708
  readonly IsUniqueHasValue: boolean;
691
- Name: string;
709
+ get Name(): string | undefined;
710
+ set Name(value: string | undefined);
692
711
  readonly PropertyNames: IReadOnlyList<System_Internal.String>;
693
712
  }
694
713
 
@@ -713,6 +732,8 @@ export const KeylessAttribute: {
713
732
  export type KeylessAttribute = KeylessAttribute$instance;
714
733
 
715
734
  export interface ModelBuilder$instance {
735
+ readonly __tsonic_iface_Microsoft_EntityFrameworkCore_Infrastructure_IInfrastructure_1: never;
736
+
716
737
  readonly Model: IMutableModel;
717
738
  ApplyConfiguration<TEntity>(configuration: IEntityTypeConfiguration_1<TEntity>): ModelBuilder;
718
739
  ApplyConfigurationsFromAssembly(assembly: Assembly, predicate?: Func<Type, System_Internal.Boolean>): ModelBuilder;
@@ -760,13 +781,9 @@ export interface ModelBuilder$instance extends Microsoft_EntityFrameworkCore_Inf
760
781
  export type ModelBuilder = ModelBuilder$instance & __ModelBuilder$views;
761
782
 
762
783
 
763
- export abstract class ModelConfigurationBuilder$protected {
764
- protected readonly ModelConfiguration: ModelConfiguration;
765
- }
766
-
767
-
768
- export interface ModelConfigurationBuilder$instance extends ModelConfigurationBuilder$protected {
784
+ export interface ModelConfigurationBuilder$instance {
769
785
  readonly Conventions: ConventionSetBuilder;
786
+ readonly ModelConfiguration: ModelConfiguration;
770
787
  ComplexProperties<TProperty>(): ComplexPropertiesConfigurationBuilder_1<TProperty>;
771
788
  ComplexProperties(propertyType: Type): ComplexPropertiesConfigurationBuilder;
772
789
  CreateModelBuilder(modelDependencies: ModelDependencies): ModelBuilder;
@@ -794,6 +811,8 @@ export const ModelConfigurationBuilder: {
794
811
  export type ModelConfigurationBuilder = ModelConfigurationBuilder$instance;
795
812
 
796
813
  export interface ModelCreationDependencies$instance {
814
+ readonly __tsonic_iface_System_IEquatable_1: never;
815
+
797
816
  ConventionSetBuilder: IConventionSetBuilder;
798
817
  ModelDependencies: ModelDependencies;
799
818
  ModelRuntimeInitializer: IModelRuntimeInitializer;
@@ -856,8 +875,7 @@ export interface SaveChangesEventArgs$instance extends EventArgs {
856
875
  }
857
876
 
858
877
 
859
- export const SaveChangesEventArgs: {
860
- new(acceptAllChangesOnSuccess: boolean): SaveChangesEventArgs;
878
+ export const SaveChangesEventArgs: (abstract new(acceptAllChangesOnSuccess: boolean) => SaveChangesEventArgs) & {
861
879
  };
862
880
 
863
881