@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.
- package/Microsoft.EntityFrameworkCore/bindings.json +2247 -5
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +30 -5
- package/Microsoft.EntityFrameworkCore.ChangeTracking/bindings.json +1707 -6
- package/Microsoft.EntityFrameworkCore.ChangeTracking/internal/index.d.ts +74 -14
- package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal/bindings.json +4784 -172
- package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal/internal/index.d.ts +210 -25
- package/Microsoft.EntityFrameworkCore.ChangeTracking.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.ChangeTracking.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Design/bindings.json +1175 -171
- package/Microsoft.EntityFrameworkCore.Design/internal/index.d.ts +52 -3
- package/Microsoft.EntityFrameworkCore.Design.Internal/bindings.json +306 -2
- package/Microsoft.EntityFrameworkCore.Design.Internal/internal/index.d.ts +15 -2
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +2919 -10
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +28 -3
- package/Microsoft.EntityFrameworkCore.Diagnostics.Internal/bindings.json +1027 -77
- package/Microsoft.EntityFrameworkCore.Diagnostics.Internal/internal/index.d.ts +53 -17
- package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +4386 -655
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +229 -23
- package/Microsoft.EntityFrameworkCore.Infrastructure.Internal/bindings.json +251 -7
- package/Microsoft.EntityFrameworkCore.Infrastructure.Internal/internal/index.d.ts +11 -4
- package/Microsoft.EntityFrameworkCore.Infrastructure.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.Internal/bindings.json +754 -2
- package/Microsoft.EntityFrameworkCore.Internal/internal/index.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +8776 -125
- package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +174 -27
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/bindings.json +5621 -147
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +255 -33
- package/Microsoft.EntityFrameworkCore.Metadata.Builders.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +8740 -1109
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +604 -79
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/bindings.json +152 -3
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure/internal/index.d.ts +15 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.d.ts +1 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal/bindings.json +144 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +7 -5
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +16619 -30
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +673 -91
- package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +2197 -67
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +119 -11
- package/Microsoft.EntityFrameworkCore.Migrations.Internal/bindings.json +1304 -119
- package/Microsoft.EntityFrameworkCore.Migrations.Internal/internal/index.d.ts +70 -5
- package/Microsoft.EntityFrameworkCore.Migrations.Internal.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/bindings.json +4318 -46
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +293 -36
- package/Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/bindings.json +102 -0
- package/Microsoft.EntityFrameworkCore.Migrations.Operations.Builders/internal/index.d.ts +6 -1
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +5 -4
- package/Microsoft.EntityFrameworkCore.Query/bindings.json +17431 -7313
- package/Microsoft.EntityFrameworkCore.Query/internal/index.d.ts +721 -85
- package/Microsoft.EntityFrameworkCore.Query.Internal/bindings.json +3807 -228
- package/Microsoft.EntityFrameworkCore.Query.Internal/internal/index.d.ts +299 -49
- package/Microsoft.EntityFrameworkCore.Query.Internal.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Query.SqlExpressions/bindings.json +3589 -953
- package/Microsoft.EntityFrameworkCore.Query.SqlExpressions/internal/index.d.ts +327 -127
- package/Microsoft.EntityFrameworkCore.Query.d.ts +6 -5
- package/Microsoft.EntityFrameworkCore.Scaffolding/bindings.json +125 -3
- package/Microsoft.EntityFrameworkCore.Scaffolding/internal/index.d.ts +8 -1
- package/Microsoft.EntityFrameworkCore.Scaffolding.Metadata/bindings.json +1160 -9
- package/Microsoft.EntityFrameworkCore.Scaffolding.Metadata/internal/index.d.ts +80 -10
- package/Microsoft.EntityFrameworkCore.Storage/bindings.json +5813 -272
- package/Microsoft.EntityFrameworkCore.Storage/internal/index.d.ts +432 -55
- package/Microsoft.EntityFrameworkCore.Storage.Internal/bindings.json +534 -6
- package/Microsoft.EntityFrameworkCore.Storage.Internal/internal/index.d.ts +50 -7
- package/Microsoft.EntityFrameworkCore.Storage.Internal.d.ts +2 -1
- package/Microsoft.EntityFrameworkCore.Storage.Json/bindings.json +570 -2
- package/Microsoft.EntityFrameworkCore.Storage.Json/internal/index.d.ts +7 -1
- package/Microsoft.EntityFrameworkCore.Storage.ValueConversion/bindings.json +652 -2
- package/Microsoft.EntityFrameworkCore.Storage.ValueConversion/internal/index.d.ts +9 -1
- package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal/bindings.json +663 -16
- package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal/internal/index.d.ts +28 -1
- package/Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.Storage.d.ts +4 -4
- package/Microsoft.EntityFrameworkCore.Update/bindings.json +2027 -340
- package/Microsoft.EntityFrameworkCore.Update/internal/index.d.ts +89 -8
- package/Microsoft.EntityFrameworkCore.Update.Internal/bindings.json +1074 -6
- package/Microsoft.EntityFrameworkCore.Update.Internal/internal/index.d.ts +44 -8
- package/Microsoft.EntityFrameworkCore.Update.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.Update.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.ValueGeneration/bindings.json +479 -5
- package/Microsoft.EntityFrameworkCore.ValueGeneration/internal/index.d.ts +46 -7
- package/Microsoft.EntityFrameworkCore.ValueGeneration.Internal/bindings.json +262 -2
- package/Microsoft.EntityFrameworkCore.ValueGeneration.Internal/internal/index.d.ts +13 -2
- package/Microsoft.EntityFrameworkCore.ValueGeneration.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.d.ts +2 -1
- package/Microsoft.Extensions.DependencyInjection/bindings.json +15 -0
- package/System.Transactions/bindings.json +6 -0
- 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";
|
|
@@ -138,7 +138,12 @@ export interface IRowKeyValueFactoryFactory$instance {
|
|
|
138
138
|
|
|
139
139
|
export type IRowKeyValueFactoryFactory = IRowKeyValueFactoryFactory$instance;
|
|
140
140
|
|
|
141
|
-
export
|
|
141
|
+
export abstract class BatchExecutor$protected {
|
|
142
|
+
protected readonly UpdateLogger: IDiagnosticsLogger_1<DbLoggerCategory_Update>;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
export interface BatchExecutor$instance extends BatchExecutor$protected {
|
|
142
147
|
readonly CurrentContext: ICurrentDbContext;
|
|
143
148
|
Execute(commandBatches: IEnumerable<ModificationCommandBatch>, connection: IRelationalConnection): int;
|
|
144
149
|
ExecuteAsync(commandBatches: IEnumerable<ModificationCommandBatch>, connection: IRelationalConnection, cancellationToken?: CancellationToken): Task<System_Internal.Int32>;
|
|
@@ -172,7 +177,13 @@ export const ColumnAccessors: {
|
|
|
172
177
|
|
|
173
178
|
export type ColumnAccessors = ColumnAccessors$instance;
|
|
174
179
|
|
|
175
|
-
export
|
|
180
|
+
export abstract class CommandBatchPreparer$protected {
|
|
181
|
+
protected readonly Dependencies: CommandBatchPreparerDependencies;
|
|
182
|
+
protected CreateModificationCommands(entries: IList<IUpdateEntry>, updateAdapter: IUpdateAdapter, generateParameterName: Func<System_Internal.String>): IEnumerable<IReadOnlyModificationCommand>;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
export interface CommandBatchPreparer$instance extends CommandBatchPreparer$protected {
|
|
176
187
|
BatchCommands(entries: IList<IUpdateEntry>, updateAdapter: IUpdateAdapter): IEnumerable<ModificationCommandBatch>;
|
|
177
188
|
CreateCommandBatches(commandSet: IEnumerable<IReadOnlyModificationCommand>, moreCommandSets: boolean): IEnumerable<ModificationCommandBatch>;
|
|
178
189
|
TopologicalSort(commands: IEnumerable<IReadOnlyModificationCommand>): IReadOnlyList<List<IReadOnlyModificationCommand>>;
|
|
@@ -217,8 +228,16 @@ export const CommandBatchPreparerDependencies: {
|
|
|
217
228
|
|
|
218
229
|
export type CommandBatchPreparerDependencies = CommandBatchPreparerDependencies$instance;
|
|
219
230
|
|
|
220
|
-
export
|
|
221
|
-
readonly
|
|
231
|
+
export abstract class CompositeRowForeignKeyValueFactory$protected {
|
|
232
|
+
protected readonly ValueConverters: List<ValueConverter | undefined> | undefined;
|
|
233
|
+
protected TryCreateDependentKeyValue2(keyValues: unknown[], key: unknown[], hasNullValue: boolean): boolean;
|
|
234
|
+
protected TryCreateDependentKeyValue4(keyValues: IDictionary<System_Internal.String, unknown>, key: unknown[], hasNullValue: boolean): boolean;
|
|
235
|
+
protected TryCreateDependentKeyValue6(command: IReadOnlyModificationCommand, fromOriginalValues: boolean, key: unknown[], hasNullValue: boolean): boolean;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
export interface CompositeRowForeignKeyValueFactory$instance extends CompositeRowForeignKeyValueFactory$protected, CompositeRowValueFactory {
|
|
240
|
+
EqualityComparer: IEqualityComparer<(unknown | undefined)[]>;
|
|
222
241
|
CreateDependentEquatableKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues?: boolean): unknown | undefined;
|
|
223
242
|
CreateDependentKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues?: boolean): unknown[] | undefined;
|
|
224
243
|
CreatePrincipalEquatableKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues?: boolean): unknown;
|
|
@@ -285,8 +304,17 @@ export interface __CompositeRowKeyValueFactory$views {
|
|
|
285
304
|
export type CompositeRowKeyValueFactory = CompositeRowKeyValueFactory$instance & __CompositeRowKeyValueFactory$views;
|
|
286
305
|
|
|
287
306
|
|
|
288
|
-
export
|
|
289
|
-
readonly
|
|
307
|
+
export abstract class CompositeRowValueFactory$protected {
|
|
308
|
+
protected readonly Columns: IReadOnlyList<IColumn>;
|
|
309
|
+
protected readonly ValueConverters: List<ValueConverter | undefined> | undefined;
|
|
310
|
+
protected TryCreateDependentKeyValue(keyValues: unknown[], key: unknown[], hasNullValue: boolean): boolean;
|
|
311
|
+
protected TryCreateDependentKeyValue(keyValues: IDictionary<System_Internal.String, unknown>, key: unknown[], hasNullValue: boolean): boolean;
|
|
312
|
+
protected TryCreateDependentKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues: boolean, key: unknown[], hasNullValue: boolean): boolean;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
export interface CompositeRowValueFactory$instance extends CompositeRowValueFactory$protected {
|
|
317
|
+
EqualityComparer: IEqualityComparer<(unknown | undefined)[]>;
|
|
290
318
|
TryCreateDependentKeyValue(keyValues: unknown[], key: unknown[]): boolean;
|
|
291
319
|
TryCreateDependentKeyValue(keyValues: IDictionary<System_Internal.String, unknown>, key: unknown[]): boolean;
|
|
292
320
|
TryCreateDependentKeyValue(command: IReadOnlyModificationCommand, fromOriginalValues: boolean, key: unknown[]): boolean;
|
|
@@ -294,6 +322,8 @@ export interface CompositeRowValueFactory$instance {
|
|
|
294
322
|
|
|
295
323
|
|
|
296
324
|
export const CompositeRowValueFactory: {
|
|
325
|
+
new(columns: IReadOnlyList<IColumn>): CompositeRowValueFactory;
|
|
326
|
+
CreateEqualityComparer(columns: IReadOnlyList<IColumn>, valueConverters: List<ValueConverter>): IEqualityComparer<(unknown | undefined)[]>;
|
|
297
327
|
};
|
|
298
328
|
|
|
299
329
|
|
|
@@ -347,6 +377,7 @@ export interface RowForeignKeyValueFactory_2$instance<TKey, TForeignKey> {
|
|
|
347
377
|
|
|
348
378
|
|
|
349
379
|
export const RowForeignKeyValueFactory_2: {
|
|
380
|
+
new<TKey, TForeignKey>(foreignKey: IForeignKeyConstraint, column: IColumn, columnAccessors: ColumnAccessors): RowForeignKeyValueFactory_2<TKey, TForeignKey>;
|
|
350
381
|
};
|
|
351
382
|
|
|
352
383
|
|
|
@@ -379,7 +410,12 @@ export interface RowForeignKeyValueFactoryFactory$instance extends IRowForeignKe
|
|
|
379
410
|
export type RowForeignKeyValueFactoryFactory = RowForeignKeyValueFactoryFactory$instance & __RowForeignKeyValueFactoryFactory$views;
|
|
380
411
|
|
|
381
412
|
|
|
382
|
-
export
|
|
413
|
+
export abstract class RowIdentityMap_1$protected<TKey> {
|
|
414
|
+
protected Add(key: TKey, command: INonTrackedModificationCommand): void;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
export interface RowIdentityMap_1$instance<TKey> extends RowIdentityMap_1$protected<TKey> {
|
|
383
419
|
readonly Rows: IEnumerable<INonTrackedModificationCommand>;
|
|
384
420
|
Add(keyValues: unknown[], command: INonTrackedModificationCommand): void;
|
|
385
421
|
Clear(): 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';
|