@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
|
@@ -13,7 +13,7 @@ import type { EntityEntry } from "../../Microsoft.EntityFrameworkCore.ChangeTrac
|
|
|
13
13
|
import type { IProperty, ITypeBase } from "../../Microsoft.EntityFrameworkCore.Metadata/internal/index.js";
|
|
14
14
|
import type { ValueConverter } from "../../Microsoft.EntityFrameworkCore.Storage.ValueConversion/internal/index.js";
|
|
15
15
|
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
16
|
-
import type { Boolean as ClrBoolean, Byte, Func, Guid, IDisposable, IEquatable, Int32, Int64, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System.js";
|
|
16
|
+
import type { Boolean as ClrBoolean, Byte, Func, Guid, IDisposable, IEquatable, Int32, Int64, Object as ClrObject, String as ClrString, Type, Void } from "@tsonic/dotnet/System.js";
|
|
17
17
|
import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
|
|
18
18
|
import type { Task, ValueTask } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
19
19
|
|
|
@@ -72,7 +72,13 @@ export const GuidValueGenerator: {
|
|
|
72
72
|
|
|
73
73
|
export type GuidValueGenerator = GuidValueGenerator$instance;
|
|
74
74
|
|
|
75
|
-
export
|
|
75
|
+
export abstract class HiLoValueGenerator_1$protected<TValue> {
|
|
76
|
+
protected abstract GetNewLowValue(): long;
|
|
77
|
+
protected GetNewLowValueAsync(cancellationToken?: CancellationToken): Task<System_Internal.Int64>;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
export interface HiLoValueGenerator_1$instance<TValue> extends HiLoValueGenerator_1$protected<TValue>, ValueGenerator_1<TValue> {
|
|
76
82
|
Next(entry: EntityEntry): TValue;
|
|
77
83
|
Next(entry: EntityEntry): unknown;
|
|
78
84
|
NextAsync(entry: EntityEntry, cancellationToken?: CancellationToken): ValueTask<TValue>;
|
|
@@ -81,6 +87,7 @@ export interface HiLoValueGenerator_1$instance<TValue> extends ValueGenerator_1<
|
|
|
81
87
|
|
|
82
88
|
|
|
83
89
|
export const HiLoValueGenerator_1: {
|
|
90
|
+
new<TValue>(generatorState: HiLoValueGeneratorState): HiLoValueGenerator_1<TValue>;
|
|
84
91
|
};
|
|
85
92
|
|
|
86
93
|
|
|
@@ -100,7 +107,12 @@ export const HiLoValueGeneratorState: {
|
|
|
100
107
|
|
|
101
108
|
export type HiLoValueGeneratorState = HiLoValueGeneratorState$instance;
|
|
102
109
|
|
|
103
|
-
export
|
|
110
|
+
export abstract class RelationalValueGeneratorSelector$protected {
|
|
111
|
+
protected FindForType(property: IProperty, typeBase: ITypeBase, clrType: Type): ValueGenerator | undefined;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
export interface RelationalValueGeneratorSelector$instance extends RelationalValueGeneratorSelector$protected, ValueGeneratorSelector$instance {
|
|
104
116
|
Select(property: IProperty, typeBase: ITypeBase): ValueGenerator | undefined;
|
|
105
117
|
TrySelect(property: IProperty, typeBase: ITypeBase, valueGenerator: ValueGenerator): boolean;
|
|
106
118
|
}
|
|
@@ -170,7 +182,13 @@ export const TemporaryNumberValueGeneratorFactory: {
|
|
|
170
182
|
|
|
171
183
|
export type TemporaryNumberValueGeneratorFactory = TemporaryNumberValueGeneratorFactory$instance;
|
|
172
184
|
|
|
173
|
-
export
|
|
185
|
+
export abstract class ValueGenerator$protected {
|
|
186
|
+
protected abstract NextValue(entry: EntityEntry): unknown | undefined;
|
|
187
|
+
protected NextValueAsync(entry: EntityEntry, cancellationToken?: CancellationToken): ValueTask<unknown>;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
export interface ValueGenerator$instance extends ValueGenerator$protected {
|
|
174
192
|
readonly GeneratesStableValues: boolean;
|
|
175
193
|
readonly GeneratesTemporaryValues: boolean;
|
|
176
194
|
Next(entry: EntityEntry): unknown;
|
|
@@ -180,12 +198,20 @@ export interface ValueGenerator$instance {
|
|
|
180
198
|
|
|
181
199
|
|
|
182
200
|
export const ValueGenerator: {
|
|
201
|
+
new(): ValueGenerator;
|
|
183
202
|
};
|
|
184
203
|
|
|
185
204
|
|
|
186
205
|
export type ValueGenerator = ValueGenerator$instance;
|
|
187
206
|
|
|
188
|
-
export
|
|
207
|
+
export abstract class ValueGenerator_1$protected<TValue> {
|
|
208
|
+
protected NextValue(entry: EntityEntry): unknown | undefined;
|
|
209
|
+
protected NextValueAsync2(entry: EntityEntry, cancellationToken?: CancellationToken): ValueTask<unknown>;
|
|
210
|
+
protected NextValueAsync(entry: EntityEntry, cancellationToken?: CancellationToken): ValueTask<unknown>;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
export interface ValueGenerator_1$instance<TValue> extends ValueGenerator_1$protected<TValue>, ValueGenerator {
|
|
189
215
|
Next(entry: EntityEntry): TValue;
|
|
190
216
|
Next(entry: EntityEntry): unknown;
|
|
191
217
|
NextAsync(entry: EntityEntry, cancellationToken?: CancellationToken): ValueTask<TValue>;
|
|
@@ -194,12 +220,18 @@ export interface ValueGenerator_1$instance<TValue> extends ValueGenerator {
|
|
|
194
220
|
|
|
195
221
|
|
|
196
222
|
export const ValueGenerator_1: {
|
|
223
|
+
new<TValue>(): ValueGenerator_1<TValue>;
|
|
197
224
|
};
|
|
198
225
|
|
|
199
226
|
|
|
200
227
|
export type ValueGenerator_1<TValue> = ValueGenerator_1$instance<TValue>;
|
|
201
228
|
|
|
202
|
-
export
|
|
229
|
+
export abstract class ValueGeneratorCache$protected {
|
|
230
|
+
protected readonly Dependencies: ValueGeneratorCacheDependencies;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
export interface ValueGeneratorCache$instance extends ValueGeneratorCache$protected {
|
|
203
235
|
GetOrAdd(property: IProperty, typeBase: ITypeBase, factory: Func<IProperty, ITypeBase, ValueGenerator>): ValueGenerator | undefined;
|
|
204
236
|
}
|
|
205
237
|
|
|
@@ -240,12 +272,19 @@ export interface ValueGeneratorFactory$instance {
|
|
|
240
272
|
|
|
241
273
|
|
|
242
274
|
export const ValueGeneratorFactory: {
|
|
275
|
+
new(): ValueGeneratorFactory;
|
|
243
276
|
};
|
|
244
277
|
|
|
245
278
|
|
|
246
279
|
export type ValueGeneratorFactory = ValueGeneratorFactory$instance;
|
|
247
280
|
|
|
248
|
-
export
|
|
281
|
+
export abstract class ValueGeneratorSelector$protected {
|
|
282
|
+
protected readonly Dependencies: ValueGeneratorSelectorDependencies;
|
|
283
|
+
protected FindForType(property: IProperty, typeBase: ITypeBase, clrType: Type): ValueGenerator | undefined;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
export interface ValueGeneratorSelector$instance extends ValueGeneratorSelector$protected {
|
|
249
288
|
readonly Cache: IValueGeneratorCache;
|
|
250
289
|
Create(property: IProperty, typeBase: ITypeBase): ValueGenerator;
|
|
251
290
|
Select(property: IProperty, typeBase: ITypeBase): ValueGenerator | undefined;
|