@tsonic/efcore-sqlserver 0.1.2 → 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/Azure/bindings.json +1638 -2427
- package/Azure/internal/index.d.ts +169 -139
- package/Azure.Core/bindings.json +2874 -3751
- package/Azure.Core/internal/index.d.ts +326 -295
- package/Azure.Core.Cryptography/bindings.json +51 -65
- package/Azure.Core.Cryptography/internal/index.d.ts +5 -5
- package/Azure.Core.Diagnostics/bindings.json +79 -69
- package/Azure.Core.Diagnostics/internal/index.d.ts +13 -7
- package/Azure.Core.Diagnostics.d.ts +2 -2
- package/Azure.Core.Extensions/bindings.json +71 -57
- package/Azure.Core.Extensions/internal/index.d.ts +4 -4
- package/Azure.Core.GeoJson/bindings.json +814 -1379
- package/Azure.Core.GeoJson/internal/index.d.ts +67 -67
- package/Azure.Core.Pipeline/bindings.json +847 -880
- package/Azure.Core.Pipeline/internal/index.d.ts +79 -56
- package/Azure.Core.Pipeline.d.ts +2 -2
- package/Azure.Core.Serialization/bindings.json +251 -302
- package/Azure.Core.Serialization/internal/index.d.ts +22 -21
- package/Azure.Core.d.ts +1 -1
- package/Azure.Identity/bindings.json +2882 -7099
- package/Azure.Identity/internal/index.d.ts +250 -229
- package/Azure.Identity.d.ts +1 -1
- package/Azure.Messaging/bindings.json +166 -230
- package/Azure.Messaging/internal/index.d.ts +27 -22
- package/Azure.d.ts +1 -1
- package/Microsoft.Data/bindings.json +34 -27
- package/Microsoft.Data/internal/index.d.ts +2 -2
- package/Microsoft.Data.Sql/bindings.json +57 -94
- package/Microsoft.Data.Sql/internal/index.d.ts +5 -5
- package/Microsoft.Data.SqlClient/bindings.json +6187 -8407
- package/Microsoft.Data.SqlClient/internal/index.d.ts +718 -626
- package/Microsoft.Data.SqlClient.DataClassification/bindings.json +173 -283
- package/Microsoft.Data.SqlClient.DataClassification/internal/index.d.ts +12 -12
- package/Microsoft.Data.SqlClient.Diagnostics/bindings.json +1458 -1995
- package/Microsoft.Data.SqlClient.Diagnostics/internal/index.d.ts +159 -159
- package/Microsoft.Data.SqlClient.Server/bindings.json +1112 -1776
- package/Microsoft.Data.SqlClient.Server/internal/index.d.ts +131 -131
- package/Microsoft.Data.SqlTypes/bindings.json +257 -405
- package/Microsoft.Data.SqlTypes/internal/index.d.ts +30 -30
- package/Microsoft.EntityFrameworkCore/bindings.json +7017 -8970
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +533 -526
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +92 -304
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +26 -26
- package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +269 -289
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +22 -21
- package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +44 -59
- package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +4 -4
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/bindings.json +311 -536
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +32 -32
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +1083 -457
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +111 -39
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +41 -30
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +946 -40
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +58 -8
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/bindings.json +72 -61
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +4 -4
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +6 -5
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/bindings.json +233 -207
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +25 -17
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/bindings.json +60 -267
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/internal/index.d.ts +23 -23
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/bindings.json +175 -257
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/internal/index.d.ts +23 -23
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/bindings.json +666 -569
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +69 -45
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/bindings.json +565 -879
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/internal/index.d.ts +79 -79
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/bindings.json +138 -469
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/index.d.ts +41 -41
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/bindings.json +204 -211
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +23 -17
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/bindings.json +3431 -2277
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/index.d.ts +326 -147
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/bindings.json +71 -60
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +12 -7
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.d.ts +5 -5
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/bindings.json +90 -98
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/index.d.ts +6 -6
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/bindings.json +2295 -1113
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +263 -93
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/bindings.json +548 -284
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.d.ts +54 -23
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/bindings.json +252 -204
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/index.d.ts +25 -12
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal.d.ts +3 -1
- package/Microsoft.EntityFrameworkCore.d.ts +1 -1
- package/Microsoft.Extensions.DependencyInjection/bindings.json +62 -70
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client/bindings.json +6237 -13523
- package/Microsoft.Identity.Client/internal/index.d.ts +741 -675
- package/Microsoft.Identity.Client.Advanced/bindings.json +21 -15
- package/Microsoft.Identity.Client.Advanced/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.AppConfig/bindings.json +90 -148
- package/Microsoft.Identity.Client.AppConfig/internal/index.d.ts +10 -10
- package/Microsoft.Identity.Client.AuthScheme/bindings.json +48 -72
- package/Microsoft.Identity.Client.AuthScheme/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client.AuthScheme.PoP/bindings.json +29 -39
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/index.d.ts +3 -3
- package/Microsoft.Identity.Client.Cache/bindings.json +65 -95
- package/Microsoft.Identity.Client.Cache/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client.Extensibility/bindings.json +297 -380
- package/Microsoft.Identity.Client.Extensibility/internal/index.d.ts +27 -26
- package/Microsoft.Identity.Client.Extensions.Msal/bindings.json +379 -668
- package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +51 -50
- package/Microsoft.Identity.Client.Extensions.Msal.d.ts +1 -1
- package/Microsoft.Identity.Client.Kerberos/bindings.json +191 -288
- package/Microsoft.Identity.Client.Kerberos/internal/index.d.ts +21 -21
- package/Microsoft.Identity.Client.ManagedIdentity/bindings.json +50 -103
- package/Microsoft.Identity.Client.ManagedIdentity/internal/index.d.ts +8 -8
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/bindings.json +30 -12
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/index.d.ts +2 -1
- package/Microsoft.Identity.Client.RP/bindings.json +39 -30
- package/Microsoft.Identity.Client.RP/internal/index.d.ts +2 -2
- package/Microsoft.Identity.Client.Region/bindings.json +46 -81
- package/Microsoft.Identity.Client.Region/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client.SSHCertificates/bindings.json +28 -26
- package/Microsoft.Identity.Client.SSHCertificates/internal/index.d.ts +2 -2
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/bindings.json +20 -25
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.Utils/bindings.json +56 -70
- package/Microsoft.Identity.Client.Utils/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client.Utils.Windows/bindings.json +28 -26
- package/Microsoft.Identity.Client.Utils.Windows/internal/index.d.ts +2 -2
- package/Microsoft.IdentityModel.Abstractions/bindings.json +426 -581
- package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +42 -41
- package/Microsoft.IdentityModel.JsonWebTokens/bindings.json +828 -1776
- package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +154 -147
- package/Microsoft.IdentityModel.JsonWebTokens.d.ts +1 -1
- package/Microsoft.IdentityModel.Logging/bindings.json +516 -773
- package/Microsoft.IdentityModel.Logging/internal/index.d.ts +69 -64
- package/Microsoft.IdentityModel.Logging.d.ts +1 -1
- package/Microsoft.IdentityModel.Protocols/bindings.json +507 -898
- package/Microsoft.IdentityModel.Protocols/internal/index.d.ts +47 -46
- package/Microsoft.IdentityModel.Protocols.Configuration/bindings.json +43 -94
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +3 -2
- package/Microsoft.IdentityModel.Protocols.Configuration.d.ts +1 -1
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/bindings.json +2335 -4306
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.d.ts +316 -301
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/bindings.json +45 -50
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/index.d.ts +2 -2
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.d.ts +1 -1
- package/Microsoft.IdentityModel.Tokens/bindings.json +5594 -8774
- package/Microsoft.IdentityModel.Tokens/internal/index.d.ts +578 -478
- package/Microsoft.IdentityModel.Tokens.Configuration/bindings.json +40 -71
- package/Microsoft.IdentityModel.Tokens.Configuration/internal/index.d.ts +5 -5
- package/Microsoft.IdentityModel.Tokens.d.ts +1 -1
- package/Microsoft.SqlServer.Server/bindings.json +385 -633
- package/Microsoft.SqlServer.Server/internal/index.d.ts +40 -40
- package/System/bindings.json +236 -402
- package/System/internal/index.d.ts +28 -28
- package/System.ClientModel/bindings.json +448 -433
- package/System.ClientModel/internal/index.d.ts +48 -32
- package/System.ClientModel.Primitives/bindings.json +2665 -2310
- package/System.ClientModel.Primitives/internal/index.d.ts +269 -175
- package/System.ClientModel.Primitives.d.ts +2 -2
- package/System.Configuration/bindings.json +9039 -12341
- package/System.Configuration/internal/index.d.ts +837 -565
- package/System.Configuration.Internal/bindings.json +985 -1442
- package/System.Configuration.Internal/internal/index.d.ts +115 -115
- package/System.Configuration.Provider/bindings.json +155 -188
- package/System.Configuration.Provider/internal/index.d.ts +16 -14
- package/System.Configuration.Provider.d.ts +1 -1
- package/System.Configuration.d.ts +3 -3
- package/System.Diagnostics/bindings.json +28 -15
- package/System.Diagnostics/internal/index.d.ts +1 -1
- package/System.Drawing.Configuration/bindings.json +39 -137
- package/System.Drawing.Configuration/internal/index.d.ts +12 -4
- package/System.Drawing.Configuration.d.ts +5 -2
- package/System.IdentityModel.Tokens.Jwt/bindings.json +1367 -2255
- package/System.IdentityModel.Tokens.Jwt/internal/index.d.ts +184 -170
- package/System.Security.Cryptography/bindings.json +66 -63
- package/System.Security.Cryptography/internal/index.d.ts +4 -4
- package/System.Text.Json.Serialization/bindings.json +32 -36
- package/System.Text.Json.Serialization/internal/index.d.ts +2 -2
- package/__build/scripts/generate.sh +4 -4
- package/__internal/extensions/index.d.ts +27 -27
- package/package.json +5 -5
- package/Azure/internal/metadata.json +0 -2772
- package/Azure.Core/internal/metadata.json +0 -5291
- package/Azure.Core.Cryptography/internal/metadata.json +0 -122
- package/Azure.Core.Diagnostics/internal/metadata.json +0 -87
- package/Azure.Core.Extensions/internal/metadata.json +0 -139
- package/Azure.Core.GeoJson/internal/metadata.json +0 -1469
- package/Azure.Core.Pipeline/internal/metadata.json +0 -1181
- package/Azure.Core.Serialization/internal/metadata.json +0 -468
- package/Azure.Identity/internal/metadata.json +0 -5255
- package/Azure.Messaging/internal/metadata.json +0 -316
- package/Microsoft.Data/internal/metadata.json +0 -59
- package/Microsoft.Data.Sql/internal/metadata.json +0 -136
- package/Microsoft.Data.SqlClient/internal/metadata.json +0 -10965
- package/Microsoft.Data.SqlClient.DataClassification/internal/metadata.json +0 -383
- package/Microsoft.Data.SqlClient.Diagnostics/internal/metadata.json +0 -2693
- package/Microsoft.Data.SqlClient.Server/internal/metadata.json +0 -2235
- package/Microsoft.Data.SqlTypes/internal/metadata.json +0 -558
- package/Microsoft.EntityFrameworkCore/internal/metadata.json +0 -9025
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/metadata.json +0 -303
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/metadata.json +0 -455
- package/Microsoft.EntityFrameworkCore.Metadata/internal/metadata.json +0 -72
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/metadata.json +0 -660
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/metadata.json +0 -706
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/metadata.json +0 -88
- package/Microsoft.EntityFrameworkCore.Migrations/internal/metadata.json +0 -81
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/metadata.json +0 -100
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/metadata.json +0 -317
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/internal/metadata.json +0 -238
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/internal/metadata.json +0 -393
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/metadata.json +0 -790
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/internal/metadata.json +0 -1294
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/metadata.json +0 -452
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/metadata.json +0 -317
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/metadata.json +0 -3289
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/metadata.json +0 -95
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/metadata.json +0 -167
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/metadata.json +0 -1697
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/metadata.json +0 -500
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/metadata.json +0 -339
- package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +0 -127
- package/Microsoft.Identity.Client/internal/metadata.json +0 -11985
- package/Microsoft.Identity.Client.Advanced/internal/metadata.json +0 -41
- package/Microsoft.Identity.Client.AppConfig/internal/metadata.json +0 -212
- package/Microsoft.Identity.Client.AuthScheme/internal/metadata.json +0 -118
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/metadata.json +0 -72
- package/Microsoft.Identity.Client.Cache/internal/metadata.json +0 -123
- package/Microsoft.Identity.Client.Extensibility/internal/metadata.json +0 -620
- package/Microsoft.Identity.Client.Extensions.Msal/internal/metadata.json +0 -877
- package/Microsoft.Identity.Client.Kerberos/internal/metadata.json +0 -386
- package/Microsoft.Identity.Client.ManagedIdentity/internal/metadata.json +0 -106
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/metadata.json +0 -41
- package/Microsoft.Identity.Client.RP/internal/metadata.json +0 -74
- package/Microsoft.Identity.Client.Region/internal/metadata.json +0 -88
- package/Microsoft.Identity.Client.SSHCertificates/internal/metadata.json +0 -57
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/internal/metadata.json +0 -46
- package/Microsoft.Identity.Client.Utils/internal/metadata.json +0 -121
- package/Microsoft.Identity.Client.Utils.Windows/internal/metadata.json +0 -57
- package/Microsoft.IdentityModel.Abstractions/internal/metadata.json +0 -843
- package/Microsoft.IdentityModel.JsonWebTokens/internal/metadata.json +0 -1997
- package/Microsoft.IdentityModel.Logging/internal/metadata.json +0 -1117
- package/Microsoft.IdentityModel.Protocols/internal/metadata.json +0 -1067
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/metadata.json +0 -72
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/metadata.json +0 -4288
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/metadata.json +0 -80
- package/Microsoft.IdentityModel.Tokens/internal/metadata.json +0 -10430
- package/Microsoft.IdentityModel.Tokens.Configuration/internal/metadata.json +0 -101
- package/Microsoft.SqlServer.Server/internal/metadata.json +0 -792
- package/System/internal/metadata.json +0 -523
- package/System.ClientModel/internal/metadata.json +0 -637
- package/System.ClientModel.Primitives/internal/metadata.json +0 -3433
- package/System.Configuration/internal/metadata.json +0 -11888
- package/System.Configuration.Internal/internal/metadata.json +0 -2269
- package/System.Configuration.Provider/internal/metadata.json +0 -284
- package/System.Diagnostics/internal/metadata.json +0 -48
- package/System.Drawing.Configuration/internal/metadata.json +0 -46
- package/System.IdentityModel.Tokens.Jwt/internal/metadata.json +0 -2556
- package/System.Security.Cryptography/internal/metadata.json +0 -104
- package/System.Text.Json.Serialization/internal/metadata.json +0 -70
|
@@ -11,24 +11,29 @@ import type { ptr } from "@tsonic/core/types.js";
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import type { IReadOnlyList } from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
13
13
|
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
14
|
-
import type { Boolean as ClrBoolean, Int32, Object as ClrObject, Void } from "@tsonic/dotnet/System.js";
|
|
14
|
+
import type { Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, Void } from "@tsonic/dotnet/System.js";
|
|
15
15
|
import type { StringBuilder } from "@tsonic/dotnet/System.Text.js";
|
|
16
16
|
import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
|
|
17
17
|
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
18
18
|
import type { IDbContextOptions } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js";
|
|
19
|
-
import type { IRelationalConnection } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js";
|
|
19
|
+
import type { IRelationalConnection, ISqlGenerationHelper } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js";
|
|
20
20
|
import * as Microsoft_EntityFrameworkCore_Update_Internal from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Update.js";
|
|
21
|
-
import type { AffectedCountModificationCommandBatch, IModificationCommand, IModificationCommandBatchFactory, IModificationCommandFactory, INonTrackedModificationCommand, IReadOnlyModificationCommand, IUpdateSqlGenerator, ModificationCommand, ModificationCommandBatch, ModificationCommandBatchFactoryDependencies, ModificationCommandParameters, NonTrackedModificationCommandParameters, ResultSetMapping, UpdateAndSelectSqlGenerator, UpdateSqlGeneratorDependencies } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Update.js";
|
|
21
|
+
import type { AffectedCountModificationCommandBatch, ColumnModificationParameters, IColumnModification, IModificationCommand, IModificationCommandBatchFactory, IModificationCommandFactory, INonTrackedModificationCommand, IReadOnlyModificationCommand, IUpdateSqlGenerator, ModificationCommand, ModificationCommandBatch, ModificationCommandBatchFactoryDependencies, ModificationCommandParameters, NonTrackedModificationCommandParameters, ResultSetMapping, UpdateAndSelectSqlGenerator, UpdateSqlGeneratorDependencies } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Update.js";
|
|
22
22
|
|
|
23
23
|
export interface ISqlServerUpdateSqlGenerator$instance extends IUpdateSqlGenerator {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
AppendBulkInsertOperation(commandStringBuilder: StringBuilder, modificationCommands: IReadOnlyList<IReadOnlyModificationCommand>, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
|
|
25
|
+
AppendBulkInsertOperation(commandStringBuilder: StringBuilder, modificationCommands: IReadOnlyList<IReadOnlyModificationCommand>, commandPosition: int): ResultSetMapping;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
export type ISqlServerUpdateSqlGenerator = ISqlServerUpdateSqlGenerator$instance;
|
|
30
30
|
|
|
31
|
-
export
|
|
31
|
+
export abstract class SqlServerModificationCommand$protected {
|
|
32
|
+
protected ProcessSinglePropertyJsonUpdate(parameters: ColumnModificationParameters): void;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
export interface SqlServerModificationCommand$instance extends SqlServerModificationCommand$protected, ModificationCommand {
|
|
32
37
|
}
|
|
33
38
|
|
|
34
39
|
|
|
@@ -40,11 +45,19 @@ export const SqlServerModificationCommand: {
|
|
|
40
45
|
|
|
41
46
|
export type SqlServerModificationCommand = SqlServerModificationCommand$instance;
|
|
42
47
|
|
|
43
|
-
export
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
export abstract class SqlServerModificationCommandBatch$protected {
|
|
49
|
+
protected readonly UpdateSqlGenerator: ISqlServerUpdateSqlGenerator;
|
|
50
|
+
protected AddCommand(modificationCommand: IReadOnlyModificationCommand): void;
|
|
51
|
+
protected IsValid(): boolean;
|
|
52
|
+
protected RollbackLastCommand(modificationCommand: IReadOnlyModificationCommand): void;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
export interface SqlServerModificationCommandBatch$instance extends SqlServerModificationCommandBatch$protected, AffectedCountModificationCommandBatch {
|
|
57
|
+
Complete(moreBatchesExpected: boolean): void;
|
|
58
|
+
Execute(connection: IRelationalConnection): void;
|
|
59
|
+
ExecuteAsync(connection: IRelationalConnection, cancellationToken?: CancellationToken): Task;
|
|
60
|
+
TryAddCommand(modificationCommand: IReadOnlyModificationCommand): boolean;
|
|
48
61
|
}
|
|
49
62
|
|
|
50
63
|
|
|
@@ -55,8 +68,13 @@ export const SqlServerModificationCommandBatch: {
|
|
|
55
68
|
|
|
56
69
|
export type SqlServerModificationCommandBatch = SqlServerModificationCommandBatch$instance;
|
|
57
70
|
|
|
58
|
-
export
|
|
59
|
-
|
|
71
|
+
export abstract class SqlServerModificationCommandBatchFactory$protected {
|
|
72
|
+
protected readonly Dependencies: ModificationCommandBatchFactoryDependencies;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
export interface SqlServerModificationCommandBatchFactory$instance extends SqlServerModificationCommandBatchFactory$protected {
|
|
77
|
+
Create(): ModificationCommandBatch;
|
|
60
78
|
}
|
|
61
79
|
|
|
62
80
|
|
|
@@ -68,8 +86,8 @@ export const SqlServerModificationCommandBatchFactory: {
|
|
|
68
86
|
export type SqlServerModificationCommandBatchFactory = SqlServerModificationCommandBatchFactory$instance;
|
|
69
87
|
|
|
70
88
|
export interface SqlServerModificationCommandFactory$instance {
|
|
71
|
-
|
|
72
|
-
|
|
89
|
+
CreateModificationCommand(modificationCommandParameters: ModificationCommandParameters): IModificationCommand;
|
|
90
|
+
CreateNonTrackedModificationCommand(modificationCommandParameters: NonTrackedModificationCommandParameters): INonTrackedModificationCommand;
|
|
73
91
|
}
|
|
74
92
|
|
|
75
93
|
|
|
@@ -80,14 +98,27 @@ export const SqlServerModificationCommandFactory: {
|
|
|
80
98
|
|
|
81
99
|
export type SqlServerModificationCommandFactory = SqlServerModificationCommandFactory$instance;
|
|
82
100
|
|
|
83
|
-
export
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
101
|
+
export abstract class SqlServerUpdateSqlGenerator$protected {
|
|
102
|
+
protected readonly MergeIntoMinimumThreshold: int;
|
|
103
|
+
protected AppendDeleteCommand(commandStringBuilder: StringBuilder, name: string, schema: string, readOperations: IReadOnlyList<IColumnModification>, conditionOperations: IReadOnlyList<IColumnModification>, appendReturningOneClause?: boolean): void;
|
|
104
|
+
protected AppendIdentityWhereCondition(commandStringBuilder: StringBuilder, columnModification: IColumnModification): void;
|
|
105
|
+
protected AppendInsertCommand(commandStringBuilder: StringBuilder, name: string, schema: string, writeOperations: IReadOnlyList<IColumnModification>, readOperations: IReadOnlyList<IColumnModification>): void;
|
|
106
|
+
protected AppendReturningClause(commandStringBuilder: StringBuilder, operations: IReadOnlyList<IColumnModification>, additionalValues?: string): void;
|
|
107
|
+
protected AppendRowsAffectedWhereCondition(commandStringBuilder: StringBuilder, expectedRowsAffected: int): void;
|
|
108
|
+
protected AppendSelectAffectedCountCommand(commandStringBuilder: StringBuilder, name: string, schema: string, commandPosition: int): ResultSetMapping;
|
|
109
|
+
protected AppendUpdateColumnValue(updateSqlGeneratorHelper: ISqlGenerationHelper, columnModification: IColumnModification, stringBuilder: StringBuilder, name: string, schema: string): void;
|
|
110
|
+
protected AppendUpdateCommand(commandStringBuilder: StringBuilder, name: string, schema: string, writeOperations: IReadOnlyList<IColumnModification>, readOperations: IReadOnlyList<IColumnModification>, conditionOperations: IReadOnlyList<IColumnModification>, appendReturningOneClause?: boolean): void;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
export interface SqlServerUpdateSqlGenerator$instance extends SqlServerUpdateSqlGenerator$protected, UpdateAndSelectSqlGenerator {
|
|
115
|
+
AppendBatchHeader(commandStringBuilder: StringBuilder): void;
|
|
116
|
+
AppendBulkInsertOperation(commandStringBuilder: StringBuilder, modificationCommands: IReadOnlyList<IReadOnlyModificationCommand>, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
|
|
117
|
+
AppendDeleteOperation(commandStringBuilder: StringBuilder, command: IReadOnlyModificationCommand, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
|
|
118
|
+
AppendInsertOperation(commandStringBuilder: StringBuilder, command: IReadOnlyModificationCommand, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
|
|
119
|
+
AppendStoredProcedureCall(commandStringBuilder: StringBuilder, command: IReadOnlyModificationCommand, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
|
|
120
|
+
AppendUpdateOperation(commandStringBuilder: StringBuilder, command: IReadOnlyModificationCommand, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
|
|
121
|
+
PrependEnsureAutocommit(commandStringBuilder: StringBuilder): void;
|
|
91
122
|
}
|
|
92
123
|
|
|
93
124
|
|
|
@@ -7,13 +7,13 @@ import * as Internal from './Microsoft.EntityFrameworkCore.SqlServer.Update.Inte
|
|
|
7
7
|
|
|
8
8
|
// Cross-namespace type imports for constraints
|
|
9
9
|
import type { IReadOnlyList } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
10
|
-
import type { Boolean as ClrBoolean, Int32, Object as ClrObject, Void } from '@tsonic/dotnet/System.js';
|
|
10
|
+
import type { Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, Void } from '@tsonic/dotnet/System.js';
|
|
11
11
|
import type { StringBuilder } from '@tsonic/dotnet/System.Text.js';
|
|
12
12
|
import type { CancellationToken } from '@tsonic/dotnet/System.Threading.js';
|
|
13
13
|
import type { Task } from '@tsonic/dotnet/System.Threading.Tasks.js';
|
|
14
14
|
import type { IDbContextOptions } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Infrastructure.js';
|
|
15
|
-
import type { IRelationalConnection } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js';
|
|
16
|
-
import type { AffectedCountModificationCommandBatch, IModificationCommand, IModificationCommandBatchFactory, IModificationCommandFactory, INonTrackedModificationCommand, IReadOnlyModificationCommand, IUpdateSqlGenerator, ModificationCommand, ModificationCommandBatch, ModificationCommandBatchFactoryDependencies, ModificationCommandParameters, NonTrackedModificationCommandParameters, ResultSetMapping, UpdateAndSelectSqlGenerator, UpdateSqlGeneratorDependencies } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Update.js';
|
|
15
|
+
import type { IRelationalConnection, ISqlGenerationHelper } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js';
|
|
16
|
+
import type { AffectedCountModificationCommandBatch, ColumnModificationParameters, IColumnModification, IModificationCommand, IModificationCommandBatchFactory, IModificationCommandFactory, INonTrackedModificationCommand, IReadOnlyModificationCommand, IUpdateSqlGenerator, ModificationCommand, ModificationCommandBatch, ModificationCommandBatchFactoryDependencies, ModificationCommandParameters, NonTrackedModificationCommandParameters, ResultSetMapping, UpdateAndSelectSqlGenerator, UpdateSqlGeneratorDependencies } from '@tsonic/efcore/Microsoft.EntityFrameworkCore.Update.js';
|
|
17
17
|
|
|
18
18
|
// Public API exports (curated - no internal $instance/$views leakage)
|
|
19
19
|
export type ISqlServerUpdateSqlGenerator = Internal.ISqlServerUpdateSqlGenerator;
|