@tsonic/efcore 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 (87) hide show
  1. package/Microsoft.EntityFrameworkCore/bindings.json +2247 -5
  2. package/Microsoft.EntityFrameworkCore/internal/index.d.ts +30 -5
  3. package/Microsoft.EntityFrameworkCore.ChangeTracking/bindings.json +1707 -6
  4. package/Microsoft.EntityFrameworkCore.ChangeTracking/internal/index.d.ts +74 -14
  5. package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal/bindings.json +4784 -172
  6. package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal/internal/index.d.ts +210 -25
  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 +52 -3
  11. package/Microsoft.EntityFrameworkCore.Design.Internal/bindings.json +306 -2
  12. package/Microsoft.EntityFrameworkCore.Design.Internal/internal/index.d.ts +15 -2
  13. package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +2919 -10
  14. package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +28 -3
  15. package/Microsoft.EntityFrameworkCore.Diagnostics.Internal/bindings.json +1027 -77
  16. package/Microsoft.EntityFrameworkCore.Diagnostics.Internal/internal/index.d.ts +53 -17
  17. package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +4386 -655
  18. package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +229 -23
  19. package/Microsoft.EntityFrameworkCore.Infrastructure.Internal/bindings.json +251 -7
  20. package/Microsoft.EntityFrameworkCore.Infrastructure.Internal/internal/index.d.ts +11 -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 -1
  24. package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +8776 -125
  25. package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +174 -27
  26. package/Microsoft.EntityFrameworkCore.Metadata.Builders/bindings.json +5621 -147
  27. package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +255 -33
  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 +604 -79
  31. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/bindings.json +152 -3
  32. package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/internal/index.d.ts +15 -2
  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.d.ts +7 -5
  36. package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +16619 -30
  37. package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +673 -91
  38. package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +2197 -67
  39. package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +119 -11
  40. package/Microsoft.EntityFrameworkCore.Migrations.Internal/bindings.json +1304 -119
  41. package/Microsoft.EntityFrameworkCore.Migrations.Internal/internal/index.d.ts +70 -5
  42. package/Microsoft.EntityFrameworkCore.Migrations.Internal.d.ts +3 -3
  43. package/Microsoft.EntityFrameworkCore.Migrations.Operations/bindings.json +4318 -46
  44. package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +293 -36
  45. package/Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/bindings.json +102 -0
  46. package/Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/internal/index.d.ts +6 -1
  47. package/Microsoft.EntityFrameworkCore.Migrations.d.ts +5 -4
  48. package/Microsoft.EntityFrameworkCore.Query/bindings.json +17431 -7313
  49. package/Microsoft.EntityFrameworkCore.Query/internal/index.d.ts +721 -85
  50. package/Microsoft.EntityFrameworkCore.Query.Internal/bindings.json +3807 -228
  51. package/Microsoft.EntityFrameworkCore.Query.Internal/internal/index.d.ts +299 -49
  52. package/Microsoft.EntityFrameworkCore.Query.Internal.d.ts +3 -3
  53. package/Microsoft.EntityFrameworkCore.Query.SqlExpressions/bindings.json +3589 -953
  54. package/Microsoft.EntityFrameworkCore.Query.SqlExpressions/internal/index.d.ts +327 -127
  55. package/Microsoft.EntityFrameworkCore.Query.d.ts +6 -5
  56. package/Microsoft.EntityFrameworkCore.Scaffolding/bindings.json +125 -3
  57. package/Microsoft.EntityFrameworkCore.Scaffolding/internal/index.d.ts +8 -1
  58. package/Microsoft.EntityFrameworkCore.Scaffolding.Metadata/bindings.json +1160 -9
  59. package/Microsoft.EntityFrameworkCore.Scaffolding.Metadata/internal/index.d.ts +80 -10
  60. package/Microsoft.EntityFrameworkCore.Storage/bindings.json +5813 -272
  61. package/Microsoft.EntityFrameworkCore.Storage/internal/index.d.ts +432 -55
  62. package/Microsoft.EntityFrameworkCore.Storage.Internal/bindings.json +534 -6
  63. package/Microsoft.EntityFrameworkCore.Storage.Internal/internal/index.d.ts +50 -7
  64. package/Microsoft.EntityFrameworkCore.Storage.Internal.d.ts +2 -1
  65. package/Microsoft.EntityFrameworkCore.Storage.Json/bindings.json +570 -2
  66. package/Microsoft.EntityFrameworkCore.Storage.Json/internal/index.d.ts +7 -1
  67. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion/bindings.json +652 -2
  68. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion/internal/index.d.ts +9 -1
  69. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal/bindings.json +663 -16
  70. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal/internal/index.d.ts +28 -1
  71. package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal.d.ts +1 -1
  72. package/Microsoft.EntityFrameworkCore.Storage.d.ts +4 -4
  73. package/Microsoft.EntityFrameworkCore.Update/bindings.json +2027 -340
  74. package/Microsoft.EntityFrameworkCore.Update/internal/index.d.ts +89 -8
  75. package/Microsoft.EntityFrameworkCore.Update.Internal/bindings.json +1074 -6
  76. package/Microsoft.EntityFrameworkCore.Update.Internal/internal/index.d.ts +44 -8
  77. package/Microsoft.EntityFrameworkCore.Update.Internal.d.ts +1 -1
  78. package/Microsoft.EntityFrameworkCore.Update.d.ts +2 -2
  79. package/Microsoft.EntityFrameworkCore.ValueGeneration/bindings.json +479 -5
  80. package/Microsoft.EntityFrameworkCore.ValueGeneration/internal/index.d.ts +46 -7
  81. package/Microsoft.EntityFrameworkCore.ValueGeneration.Internal/bindings.json +262 -2
  82. package/Microsoft.EntityFrameworkCore.ValueGeneration.Internal/internal/index.d.ts +13 -2
  83. package/Microsoft.EntityFrameworkCore.ValueGeneration.d.ts +1 -1
  84. package/Microsoft.EntityFrameworkCore.d.ts +2 -1
  85. package/Microsoft.Extensions.DependencyInjection/bindings.json +15 -0
  86. package/System.Transactions/bindings.json +6 -0
  87. package/package.json +1 -1
@@ -29,6 +29,7 @@ import type { ExecutionResult_1, IDbContextTransaction, IExceptionDetector, IExe
29
29
  import type { IUpdateEntry } from "../../Microsoft.EntityFrameworkCore.Update/internal/index.js";
30
30
  import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
31
31
  import type { Dictionary, HashSet, IAsyncEnumerable, IAsyncEnumerator, IEnumerable as IEnumerable__System_Collections_Generic, IEqualityComparer, IReadOnlyCollection, IReadOnlyDictionary, IReadOnlyList, List } from "@tsonic/dotnet/System.Collections.Generic.js";
32
+ import type { ImmutableSortedDictionary } from "@tsonic/dotnet/System.Collections.Immutable.js";
32
33
  import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
33
34
  import type { IEnumerable } from "@tsonic/dotnet/System.Collections.js";
34
35
  import type { ObservableCollection } from "@tsonic/dotnet/System.Collections.ObjectModel.js";
@@ -37,7 +38,7 @@ import type { BindingList, IListSource } from "@tsonic/dotnet/System.ComponentMo
37
38
  import type { DbCommand, DbConnection, DbTransaction } from "@tsonic/dotnet/System.Data.Common.js";
38
39
  import type { IsolationLevel } from "@tsonic/dotnet/System.Data.js";
39
40
  import * as System_Internal from "@tsonic/dotnet/System.js";
40
- import type { Action, Attribute, Boolean as ClrBoolean, Decimal, Double, Enum, EventArgs, EventHandler, Exception, FormattableString, Func, Guid, IAsyncDisposable, IComparable, IConvertible, IDisposable, IEquatable, IFormattable, Int32, Int64, IServiceProvider, ISpanFormattable, Nullable, Object as ClrObject, Single, String as ClrString, TimeSpan, Type, ValueType, Void } from "@tsonic/dotnet/System.js";
41
+ import type { Action, Attribute, Boolean as ClrBoolean, Decimal, Double, Enum, EventArgs, EventHandler, Exception, FormattableString, Func, Guid, IAsyncDisposable, IComparable, IConvertible, IDisposable, IEquatable, IFormattable, Int32, Int64, IServiceProvider, ISpanFormattable, Nullable, Object as ClrObject, Single, String as ClrString, TimeSpan, Type, ValueTuple, ValueType, Void } from "@tsonic/dotnet/System.js";
41
42
  import type { Expression } from "@tsonic/dotnet/System.Linq.Expressions.js";
42
43
  import * as System_Linq_Internal from "@tsonic/dotnet/System.Linq.js";
43
44
  import type { IQueryable } from "@tsonic/dotnet/System.Linq.js";
@@ -177,7 +178,14 @@ export const CommentAttribute: {
177
178
 
178
179
  export type CommentAttribute = CommentAttribute$instance;
179
180
 
180
- export interface DbContext$instance {
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
+ }
186
+
187
+
188
+ export interface DbContext$instance extends DbContext$protected {
181
189
  readonly ChangeTracker: ChangeTracker;
182
190
  readonly ContextId: DbContextId;
183
191
  readonly Database: DatabaseFacade;
@@ -226,6 +234,7 @@ export interface DbContext$instance {
226
234
 
227
235
 
228
236
  export const DbContext: {
237
+ new(): DbContext;
229
238
  new(options: DbContextOptions): DbContext;
230
239
  };
231
240
 
@@ -243,10 +252,16 @@ export interface DbContext$instance extends Microsoft_EntityFrameworkCore_Infras
243
252
  export type DbContext = DbContext$instance & __DbContext$views;
244
253
 
245
254
 
246
- export interface DbContextOptions$instance {
255
+ export abstract class DbContextOptions$protected {
256
+ protected readonly ExtensionsMap: ImmutableSortedDictionary<Type, ValueTuple<IDbContextOptionsExtension, System_Internal.Int32>>;
257
+ protected Equals(other: DbContextOptions): boolean;
258
+ }
259
+
260
+
261
+ export interface DbContextOptions$instance extends DbContextOptions$protected {
247
262
  readonly ContextType: Type;
248
263
  readonly Extensions: IEnumerable__System_Collections_Generic<IDbContextOptionsExtension>;
249
- readonly IsFrozen: boolean;
264
+ IsFrozen: boolean;
250
265
  Equals(obj: unknown): boolean;
251
266
  FindExtension<TExtension extends IDbContextOptionsExtension>(): TExtension | undefined;
252
267
  Freeze(): void;
@@ -257,6 +272,9 @@ export interface DbContextOptions$instance {
257
272
 
258
273
 
259
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;
260
278
  };
261
279
 
262
280
 
@@ -581,6 +599,7 @@ export interface DbSet_1$instance<TEntity> {
581
599
 
582
600
 
583
601
  export const DbSet_1: {
602
+ new<TEntity>(): DbSet_1<TEntity>;
584
603
  };
585
604
 
586
605
 
@@ -741,7 +760,12 @@ export interface ModelBuilder$instance extends Microsoft_EntityFrameworkCore_Inf
741
760
  export type ModelBuilder = ModelBuilder$instance & __ModelBuilder$views;
742
761
 
743
762
 
744
- export interface ModelConfigurationBuilder$instance {
763
+ export abstract class ModelConfigurationBuilder$protected {
764
+ protected readonly ModelConfiguration: ModelConfiguration;
765
+ }
766
+
767
+
768
+ export interface ModelConfigurationBuilder$instance extends ModelConfigurationBuilder$protected {
745
769
  readonly Conventions: ConventionSetBuilder;
746
770
  ComplexProperties<TProperty>(): ComplexPropertiesConfigurationBuilder_1<TProperty>;
747
771
  ComplexProperties(propertyType: Type): ComplexPropertiesConfigurationBuilder;
@@ -833,6 +857,7 @@ export interface SaveChangesEventArgs$instance extends EventArgs {
833
857
 
834
858
 
835
859
  export const SaveChangesEventArgs: {
860
+ new(acceptAllChangesOnSuccess: boolean): SaveChangesEventArgs;
836
861
  };
837
862
 
838
863