@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
@@ -23,7 +23,7 @@ import type { DbLoggerCategory_Update } from "../../Microsoft.EntityFrameworkCor
23
23
  import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
24
24
  import type { IComparer, IDictionary, IEnumerable, IEqualityComparer, IList, IReadOnlyList, List } from "@tsonic/dotnet/System.Collections.Generic.js";
25
25
  import * as System_Internal from "@tsonic/dotnet/System.js";
26
- import type { AsyncCallback, Boolean as ClrBoolean, Delegate, IAsyncResult, ICloneable, IEquatable, Int32, IntPtr, MulticastDelegate, Object as ClrObject, String as ClrString, ValueTuple, ValueType, Void } from "@tsonic/dotnet/System.js";
26
+ import type { AsyncCallback, Boolean as ClrBoolean, Delegate, Func, IAsyncResult, ICloneable, IEquatable, Int32, IntPtr, MulticastDelegate, Object as ClrObject, String as ClrString, ValueTuple, ValueType, Void } from "@tsonic/dotnet/System.js";
27
27
  import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization.js";
28
28
  import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization.js";
29
29
  import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
@@ -140,6 +140,7 @@ export type IRowKeyValueFactoryFactory = IRowKeyValueFactoryFactory$instance;
140
140
 
141
141
  export interface BatchExecutor$instance {
142
142
  readonly CurrentContext: ICurrentDbContext;
143
+ readonly UpdateLogger: IDiagnosticsLogger_1<DbLoggerCategory_Update>;
143
144
  Execute(commandBatches: IEnumerable<ModificationCommandBatch>, connection: IRelationalConnection): int;
144
145
  ExecuteAsync(commandBatches: IEnumerable<ModificationCommandBatch>, connection: IRelationalConnection, cancellationToken?: CancellationToken): Task<System_Internal.Int32>;
145
146
  }
@@ -173,8 +174,10 @@ export const ColumnAccessors: {
173
174
  export type ColumnAccessors = ColumnAccessors$instance;
174
175
 
175
176
  export interface CommandBatchPreparer$instance {
177
+ readonly Dependencies: CommandBatchPreparerDependencies;
176
178
  BatchCommands(entries: IList<IUpdateEntry>, updateAdapter: IUpdateAdapter): IEnumerable<ModificationCommandBatch>;
177
179
  CreateCommandBatches(commandSet: IEnumerable<IReadOnlyModificationCommand>, moreCommandSets: boolean): IEnumerable<ModificationCommandBatch>;
180
+ CreateModificationCommands(entries: IList<IUpdateEntry>, updateAdapter: IUpdateAdapter, generateParameterName: Func<System_Internal.String>): IEnumerable<IReadOnlyModificationCommand>;
178
181
  TopologicalSort(commands: IEnumerable<IReadOnlyModificationCommand>): IReadOnlyList<List<IReadOnlyModificationCommand>>;
179
182
  }
180
183
 
@@ -218,14 +221,18 @@ export const CommandBatchPreparerDependencies: {
218
221
  export type CommandBatchPreparerDependencies = CommandBatchPreparerDependencies$instance;
219
222
 
220
223
  export interface CompositeRowForeignKeyValueFactory$instance extends CompositeRowValueFactory {
221
- readonly EqualityComparer: IEqualityComparer<(unknown | undefined)[]>;
224
+ EqualityComparer: IEqualityComparer<(unknown | undefined)[]>;
225
+ readonly ValueConverters: List<ValueConverter | undefined> | undefined;
222
226
  CreateDependentEquatableKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues?: boolean): unknown | undefined;
223
227
  CreateDependentKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues?: boolean): unknown[] | undefined;
224
228
  CreatePrincipalEquatableKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues?: boolean): unknown;
225
229
  CreatePrincipalKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues?: boolean): unknown[];
226
230
  TryCreateDependentKeyValue(keyValues: unknown[], key: unknown[]): boolean;
231
+ TryCreateDependentKeyValue(keyValues: unknown[], key: unknown[], hasNullValue: boolean): boolean;
227
232
  TryCreateDependentKeyValue(keyValues: IDictionary<System_Internal.String, unknown>, key: unknown[]): boolean;
233
+ TryCreateDependentKeyValue(keyValues: IDictionary<System_Internal.String, unknown>, key: unknown[], hasNullValue: boolean): boolean;
228
234
  TryCreateDependentKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues: boolean, key: unknown[]): boolean;
235
+ TryCreateDependentKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues: boolean, key: unknown[], hasNullValue: boolean): boolean;
229
236
  }
230
237
 
231
238
 
@@ -286,14 +293,20 @@ export type CompositeRowKeyValueFactory = CompositeRowKeyValueFactory$instance &
286
293
 
287
294
 
288
295
  export interface CompositeRowValueFactory$instance {
289
- readonly EqualityComparer: IEqualityComparer<(unknown | undefined)[]>;
296
+ readonly Columns: IReadOnlyList<IColumn>;
297
+ EqualityComparer: IEqualityComparer<(unknown | undefined)[]>;
298
+ readonly ValueConverters: List<ValueConverter | undefined> | undefined;
290
299
  TryCreateDependentKeyValue(keyValues: unknown[], key: unknown[]): boolean;
300
+ TryCreateDependentKeyValue(keyValues: unknown[], key: unknown[], hasNullValue: boolean): boolean;
291
301
  TryCreateDependentKeyValue(keyValues: IDictionary<System_Internal.String, unknown>, key: unknown[]): boolean;
302
+ TryCreateDependentKeyValue(keyValues: IDictionary<System_Internal.String, unknown>, key: unknown[], hasNullValue: boolean): boolean;
292
303
  TryCreateDependentKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues: boolean, key: unknown[]): boolean;
304
+ TryCreateDependentKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues: boolean, key: unknown[], hasNullValue: boolean): boolean;
293
305
  }
294
306
 
295
307
 
296
- export const CompositeRowValueFactory: {
308
+ export const CompositeRowValueFactory: (abstract new(columns: IReadOnlyList<IColumn>) => CompositeRowValueFactory) & {
309
+ CreateEqualityComparer(columns: IReadOnlyList<IColumn>, valueConverters: List<ValueConverter>): IEqualityComparer<(unknown | undefined)[]>;
297
310
  };
298
311
 
299
312
 
@@ -335,7 +348,7 @@ export interface RowForeignKeyValueFactory_2$instance<TKey, TForeignKey> {
335
348
  readonly Column: IColumn;
336
349
  readonly ColumnAccessors: ColumnAccessors;
337
350
  readonly EqualityComparer: IEqualityComparer<TKey>;
338
- readonly ValueConverter: ValueConverter;
351
+ readonly ValueConverter: ValueConverter | undefined;
339
352
  CreateDependentEquatableKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues?: boolean): unknown | undefined;
340
353
  CreateDependentKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues?: boolean): unknown[] | undefined;
341
354
  CreatePrincipalEquatableKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues?: boolean): unknown;
@@ -346,7 +359,7 @@ export interface RowForeignKeyValueFactory_2$instance<TKey, TForeignKey> {
346
359
  }
347
360
 
348
361
 
349
- export const RowForeignKeyValueFactory_2: {
362
+ export const RowForeignKeyValueFactory_2: (abstract new<TKey, TForeignKey>(foreignKey: IForeignKeyConstraint, column: IColumn, columnAccessors: ColumnAccessors) => RowForeignKeyValueFactory_2<TKey, TForeignKey>) & {
350
363
  };
351
364
 
352
365
 
@@ -382,6 +395,7 @@ export type RowForeignKeyValueFactoryFactory = RowForeignKeyValueFactoryFactory$
382
395
  export interface RowIdentityMap_1$instance<TKey> {
383
396
  readonly Rows: IEnumerable<INonTrackedModificationCommand>;
384
397
  Add(keyValues: unknown[], command: INonTrackedModificationCommand): void;
398
+ Add(key: TKey, command: INonTrackedModificationCommand): void;
385
399
  Clear(): void;
386
400
  FindCommand(keyValues: unknown[]): INonTrackedModificationCommand | undefined;
387
401
  Remove(command: INonTrackedModificationCommand): void;
@@ -16,7 +16,7 @@ import type { IParameterNameGeneratorFactory, IRelationalConnection } from './Mi
16
16
  import type { IBatchExecutor, ICommandBatchPreparer, IModificationCommand, IModificationCommandBatchFactory, IModificationCommandFactory, INonTrackedModificationCommand, IReadOnlyModificationCommand, IUpdateAdapter, IUpdateAdapterFactory, IUpdateEntry, ModificationCommandBatch, ModificationCommandParameters, NonTrackedModificationCommandParameters } from './Microsoft.EntityFrameworkCore.Update/internal/index.js';
17
17
  import type { DbLoggerCategory_Update } from './Microsoft.EntityFrameworkCore/internal/index.js';
18
18
  import type { IComparer, IDictionary, IEnumerable, IEqualityComparer, IList, IReadOnlyList, List } from '@tsonic/dotnet/System.Collections.Generic.js';
19
- import type { AsyncCallback, Boolean as ClrBoolean, Delegate, IAsyncResult, ICloneable, IEquatable, Int32, IntPtr, MulticastDelegate, Object as ClrObject, String as ClrString, ValueTuple, ValueType, Void } from '@tsonic/dotnet/System.js';
19
+ import type { AsyncCallback, Boolean as ClrBoolean, Delegate, Func, IAsyncResult, ICloneable, IEquatable, Int32, IntPtr, MulticastDelegate, Object as ClrObject, String as ClrString, ValueTuple, ValueType, Void } from '@tsonic/dotnet/System.js';
20
20
  import type { ISerializable } from '@tsonic/dotnet/System.Runtime.Serialization.js';
21
21
  import type { CancellationToken } from '@tsonic/dotnet/System.Threading.js';
22
22
  import type { Task } from '@tsonic/dotnet/System.Threading.Tasks.js';
@@ -10,9 +10,9 @@ import type { CascadeTiming, ChangeTrackerDebugStringOptions, EntityEntry } from
10
10
  import type { IDiagnosticsLogger_1, IRelationalCommandDiagnosticsLogger } from './Microsoft.EntityFrameworkCore.Diagnostics/internal/index.js';
11
11
  import type { IAnnotatable, ICurrentDbContext, IResettableService } from './Microsoft.EntityFrameworkCore.Infrastructure/internal/index.js';
12
12
  import type { IColumn, IColumnBase, IComplexProperty, IEntityType, IForeignKey, IKey, IModel, IProperty, IPropertyBase, IStoreStoredProcedure, ITable } from './Microsoft.EntityFrameworkCore.Metadata/internal/index.js';
13
- import type { IRelationalCommandBuilderFactory, IRelationalConnection, IRelationalTypeMappingSource, ISqlGenerationHelper, RelationalDataReader, RelationalTypeMapping } from './Microsoft.EntityFrameworkCore.Storage/internal/index.js';
13
+ import type { IRelationalCommandBuilder, IRelationalCommandBuilderFactory, IRelationalConnection, IRelationalTypeMappingSource, ISqlGenerationHelper, RawSqlCommand, RelationalDataReader, RelationalTypeMapping } from './Microsoft.EntityFrameworkCore.Storage/internal/index.js';
14
14
  import type { DbContext, DbLoggerCategory_Update, EntityState } from './Microsoft.EntityFrameworkCore/internal/index.js';
15
- import type { IComparer, IDictionary, IEnumerable, IEqualityComparer, IList, IReadOnlyList } from '@tsonic/dotnet/System.Collections.Generic.js';
15
+ import type { Dictionary, IComparer, IDictionary, IEnumerable, IEqualityComparer, IList, IReadOnlyList } from '@tsonic/dotnet/System.Collections.Generic.js';
16
16
  import type { DbParameterCollection } from '@tsonic/dotnet/System.Data.Common.js';
17
17
  import type { Boolean as ClrBoolean, Enum, Func, IComparable, IConvertible, IEquatable, IFormattable, Int32, ISpanFormattable, Nullable, Object as ClrObject, String as ClrString, ValueType, Void } from '@tsonic/dotnet/System.js';
18
18
  import type { StringBuilder } from '@tsonic/dotnet/System.Text.js';