@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
|
@@ -36,129 +36,129 @@ import type { Task } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
|
36
36
|
import type { XmlReader } from "@tsonic/dotnet/System.Xml.js";
|
|
37
37
|
|
|
38
38
|
export enum ApplicationIntent {
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
ReadWrite = 0,
|
|
40
|
+
ReadOnly = 1
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
export enum PoolBlockingPeriod {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
Auto = 0,
|
|
46
|
+
AlwaysBlock = 1,
|
|
47
|
+
NeverBlock = 2
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
export enum SortOrder {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
Unspecified = -1,
|
|
53
|
+
Ascending = 0,
|
|
54
|
+
Descending = 1
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
export enum SqlAuthenticationMethod {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
59
|
+
NotSpecified = 0,
|
|
60
|
+
SqlPassword = 1,
|
|
61
|
+
ActiveDirectoryPassword = 2,
|
|
62
|
+
ActiveDirectoryIntegrated = 3,
|
|
63
|
+
ActiveDirectoryInteractive = 4,
|
|
64
|
+
ActiveDirectoryServicePrincipal = 5,
|
|
65
|
+
ActiveDirectoryDeviceCodeFlow = 6,
|
|
66
|
+
ActiveDirectoryManagedIdentity = 7,
|
|
67
|
+
ActiveDirectoryMSI = 8,
|
|
68
|
+
ActiveDirectoryDefault = 9,
|
|
69
|
+
ActiveDirectoryWorkloadIdentity = 10
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
export enum SqlBulkCopyOptions {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
74
|
+
Default = 0,
|
|
75
|
+
KeepIdentity = 1,
|
|
76
|
+
CheckConstraints = 2,
|
|
77
|
+
TableLock = 4,
|
|
78
|
+
KeepNulls = 8,
|
|
79
|
+
FireTriggers = 16,
|
|
80
|
+
UseInternalTransaction = 32,
|
|
81
|
+
AllowEncryptedValueModifications = 64
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
export enum SqlCommandColumnEncryptionSetting {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
UseConnectionSetting = 0,
|
|
87
|
+
Enabled = 1,
|
|
88
|
+
ResultSetOnly = 2,
|
|
89
|
+
Disabled = 3
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
export enum SqlConnectionAttestationProtocol {
|
|
94
|
-
|
|
94
|
+
NotSpecified = 0,
|
|
95
95
|
AAS = 1,
|
|
96
|
-
|
|
96
|
+
None = 2,
|
|
97
97
|
HGS = 3
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
export enum SqlConnectionColumnEncryptionSetting {
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
Disabled = 0,
|
|
103
|
+
Enabled = 1
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
export enum SqlConnectionIPAddressPreference {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
108
|
+
IPv4First = 0,
|
|
109
|
+
IPv6First = 1,
|
|
110
|
+
UsePlatformDefault = 2
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
|
|
114
114
|
export enum SqlConnectionOverrides {
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
None = 0,
|
|
116
|
+
OpenWithoutRetry = 1
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
|
|
120
120
|
export enum SqlNotificationInfo {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
121
|
+
AlreadyChanged = -2,
|
|
122
|
+
Unknown = -1,
|
|
123
|
+
Truncate = 0,
|
|
124
|
+
Insert = 1,
|
|
125
|
+
Update = 2,
|
|
126
|
+
Delete = 3,
|
|
127
|
+
Drop = 4,
|
|
128
|
+
Alter = 5,
|
|
129
|
+
Restart = 6,
|
|
130
|
+
Error = 7,
|
|
131
|
+
Query = 8,
|
|
132
|
+
Invalid = 9,
|
|
133
|
+
Options = 10,
|
|
134
|
+
Isolation = 11,
|
|
135
|
+
Expired = 12,
|
|
136
|
+
Resource = 13,
|
|
137
|
+
PreviousFire = 14,
|
|
138
|
+
TemplateLimit = 15,
|
|
139
|
+
Merge = 16
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
export enum SqlNotificationSource {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
144
|
+
Client = -2,
|
|
145
|
+
Unknown = -1,
|
|
146
|
+
Data = 0,
|
|
147
|
+
Timeout = 1,
|
|
148
|
+
Object = 2,
|
|
149
|
+
Database = 3,
|
|
150
|
+
System = 4,
|
|
151
|
+
Statement = 5,
|
|
152
|
+
Environment = 6,
|
|
153
|
+
Execution = 7,
|
|
154
|
+
Owner = 8
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
|
|
158
158
|
export enum SqlNotificationType {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
Unknown = -1,
|
|
160
|
+
Change = 0,
|
|
161
|
+
Subscribe = 1
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
|
|
@@ -178,12 +178,12 @@ export type SqlRowUpdatingEventHandler = (sender: unknown, e: SqlRowUpdatingEven
|
|
|
178
178
|
|
|
179
179
|
|
|
180
180
|
export interface ActiveDirectoryAuthenticationProvider$instance extends SqlAuthenticationProvider {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
181
|
+
AcquireTokenAsync(parameters: SqlAuthenticationParameters): Task<SqlAuthenticationToken>;
|
|
182
|
+
BeforeLoad(authentication: SqlAuthenticationMethod): void;
|
|
183
|
+
BeforeUnload(authentication: SqlAuthenticationMethod): void;
|
|
184
|
+
IsSupported(authentication: SqlAuthenticationMethod): boolean;
|
|
185
|
+
SetAcquireAuthorizationCodeAsyncCallback(acquireAuthorizationCodeAsyncCallback: Func<Uri, Uri, CancellationToken, Task<Uri>>): void;
|
|
186
|
+
SetDeviceCodeFlowCallback(deviceCodeFlowCallbackMethod: Func<DeviceCodeResult, Task>): void;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
|
|
@@ -191,62 +191,64 @@ export const ActiveDirectoryAuthenticationProvider: {
|
|
|
191
191
|
new(): ActiveDirectoryAuthenticationProvider;
|
|
192
192
|
new(deviceCodeFlowCallbackMethod: Func<DeviceCodeResult, Task>, applicationClientId: string): ActiveDirectoryAuthenticationProvider;
|
|
193
193
|
new(applicationClientId: string): ActiveDirectoryAuthenticationProvider;
|
|
194
|
-
|
|
194
|
+
ClearUserTokenCache(): void;
|
|
195
195
|
};
|
|
196
196
|
|
|
197
197
|
|
|
198
198
|
export type ActiveDirectoryAuthenticationProvider = ActiveDirectoryAuthenticationProvider$instance;
|
|
199
199
|
|
|
200
200
|
export interface SqlAuthenticationInitializer$instance {
|
|
201
|
-
|
|
201
|
+
Initialize(): void;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
|
|
205
205
|
export const SqlAuthenticationInitializer: {
|
|
206
|
+
new(): SqlAuthenticationInitializer;
|
|
206
207
|
};
|
|
207
208
|
|
|
208
209
|
|
|
209
210
|
export type SqlAuthenticationInitializer = SqlAuthenticationInitializer$instance;
|
|
210
211
|
|
|
211
212
|
export interface SqlAuthenticationParameters$instance {
|
|
212
|
-
readonly
|
|
213
|
-
readonly
|
|
214
|
-
readonly
|
|
215
|
-
readonly
|
|
216
|
-
readonly
|
|
217
|
-
readonly
|
|
218
|
-
readonly
|
|
219
|
-
readonly
|
|
220
|
-
readonly
|
|
213
|
+
readonly AuthenticationMethod: SqlAuthenticationMethod;
|
|
214
|
+
readonly Authority: string;
|
|
215
|
+
readonly ConnectionId: Guid;
|
|
216
|
+
readonly ConnectionTimeout: int;
|
|
217
|
+
readonly DatabaseName: string;
|
|
218
|
+
readonly Password: string;
|
|
219
|
+
readonly Resource: string;
|
|
220
|
+
readonly ServerName: string;
|
|
221
|
+
readonly UserId: string;
|
|
221
222
|
}
|
|
222
223
|
|
|
223
224
|
|
|
224
225
|
export const SqlAuthenticationParameters: {
|
|
225
|
-
new(): SqlAuthenticationParameters;
|
|
226
|
+
new(authenticationMethod: SqlAuthenticationMethod, serverName: string, databaseName: string, resource: string, authority: string, userId: string, password: string, connectionId: Guid, connectionTimeout: int): SqlAuthenticationParameters;
|
|
226
227
|
};
|
|
227
228
|
|
|
228
229
|
|
|
229
230
|
export type SqlAuthenticationParameters = SqlAuthenticationParameters$instance;
|
|
230
231
|
|
|
231
232
|
export interface SqlAuthenticationProvider$instance {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
233
|
+
AcquireTokenAsync(parameters: SqlAuthenticationParameters): Task<SqlAuthenticationToken>;
|
|
234
|
+
BeforeLoad(authenticationMethod: SqlAuthenticationMethod): void;
|
|
235
|
+
BeforeUnload(authenticationMethod: SqlAuthenticationMethod): void;
|
|
236
|
+
IsSupported(authenticationMethod: SqlAuthenticationMethod): boolean;
|
|
236
237
|
}
|
|
237
238
|
|
|
238
239
|
|
|
239
240
|
export const SqlAuthenticationProvider: {
|
|
240
|
-
|
|
241
|
-
|
|
241
|
+
new(): SqlAuthenticationProvider;
|
|
242
|
+
GetProvider(authenticationMethod: SqlAuthenticationMethod): SqlAuthenticationProvider;
|
|
243
|
+
SetProvider(authenticationMethod: SqlAuthenticationMethod, provider: SqlAuthenticationProvider): boolean;
|
|
242
244
|
};
|
|
243
245
|
|
|
244
246
|
|
|
245
247
|
export type SqlAuthenticationProvider = SqlAuthenticationProvider$instance;
|
|
246
248
|
|
|
247
249
|
export interface SqlAuthenticationToken$instance {
|
|
248
|
-
readonly
|
|
249
|
-
readonly
|
|
250
|
+
readonly AccessToken: string;
|
|
251
|
+
readonly ExpiresOn: DateTimeOffset;
|
|
250
252
|
}
|
|
251
253
|
|
|
252
254
|
|
|
@@ -257,22 +259,32 @@ export const SqlAuthenticationToken: {
|
|
|
257
259
|
|
|
258
260
|
export type SqlAuthenticationToken = SqlAuthenticationToken$instance;
|
|
259
261
|
|
|
260
|
-
export
|
|
261
|
-
readonly
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
262
|
+
export abstract class SqlBatch$protected {
|
|
263
|
+
protected readonly DbBatchCommands: DbBatchCommandCollection;
|
|
264
|
+
protected DbConnection: DbConnection;
|
|
265
|
+
protected DbTransaction: DbTransaction;
|
|
266
|
+
protected CreateDbBatchCommand(): DbBatchCommand;
|
|
267
|
+
protected ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
268
|
+
protected ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<DbDataReader>;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
export interface SqlBatch$instance extends SqlBatch$protected, DbBatch {
|
|
273
|
+
readonly BatchCommands: SqlBatchCommandCollection;
|
|
274
|
+
readonly Commands: List<SqlBatchCommand>;
|
|
275
|
+
Connection: SqlConnection;
|
|
276
|
+
Timeout: int;
|
|
277
|
+
Transaction: SqlTransaction;
|
|
278
|
+
Cancel(): void;
|
|
279
|
+
Dispose(): void;
|
|
280
|
+
ExecuteNonQuery(): int;
|
|
281
|
+
ExecuteNonQueryAsync(cancellationToken?: CancellationToken): Task<System_Internal.Int32>;
|
|
282
|
+
ExecuteReader(): SqlDataReader;
|
|
283
|
+
ExecuteReaderAsync(cancellationToken?: CancellationToken): Task<SqlDataReader>;
|
|
284
|
+
ExecuteScalar(): unknown;
|
|
285
|
+
ExecuteScalarAsync(cancellationToken?: CancellationToken): Task<unknown>;
|
|
286
|
+
Prepare(): void;
|
|
287
|
+
PrepareAsync(cancellationToken?: CancellationToken): Task;
|
|
276
288
|
}
|
|
277
289
|
|
|
278
290
|
|
|
@@ -284,13 +296,18 @@ export const SqlBatch: {
|
|
|
284
296
|
|
|
285
297
|
export type SqlBatch = SqlBatch$instance;
|
|
286
298
|
|
|
287
|
-
export
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
299
|
+
export abstract class SqlBatchCommand$protected {
|
|
300
|
+
protected readonly DbParameterCollection: DbParameterCollection;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
export interface SqlBatchCommand$instance extends SqlBatchCommand$protected, DbBatchCommand {
|
|
305
|
+
ColumnEncryptionSetting: SqlCommandColumnEncryptionSetting;
|
|
306
|
+
CommandBehavior: CommandBehavior;
|
|
307
|
+
CommandText: string;
|
|
308
|
+
CommandType: CommandType;
|
|
309
|
+
readonly Parameters: SqlParameterCollection;
|
|
310
|
+
readonly RecordsAffected: int;
|
|
294
311
|
}
|
|
295
312
|
|
|
296
313
|
|
|
@@ -302,25 +319,31 @@ export const SqlBatchCommand: {
|
|
|
302
319
|
|
|
303
320
|
export type SqlBatchCommand = SqlBatchCommand$instance;
|
|
304
321
|
|
|
305
|
-
export
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
322
|
+
export abstract class SqlBatchCommandCollection$protected {
|
|
323
|
+
protected GetBatchCommand(index: int): DbBatchCommand;
|
|
324
|
+
protected SetBatchCommand(index: int, batchCommand: DbBatchCommand): void;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
export interface SqlBatchCommandCollection$instance extends SqlBatchCommandCollection$protected, DbBatchCommandCollection {
|
|
329
|
+
readonly Count: int;
|
|
330
|
+
readonly IsReadOnly: boolean;
|
|
331
|
+
Item: SqlBatchCommand;
|
|
332
|
+
Add(item: SqlBatchCommand): void;
|
|
333
|
+
Add(item: DbBatchCommand): void;
|
|
334
|
+
Clear(): void;
|
|
335
|
+
Contains(item: SqlBatchCommand): boolean;
|
|
336
|
+
Contains(item: DbBatchCommand): boolean;
|
|
337
|
+
CopyTo(array: SqlBatchCommand[], arrayIndex: int): void;
|
|
338
|
+
CopyTo(array: DbBatchCommand[], arrayIndex: int): void;
|
|
339
|
+
GetEnumerator(): IEnumerator__System_Collections_Generic<DbBatchCommand>;
|
|
340
|
+
IndexOf(item: SqlBatchCommand): int;
|
|
341
|
+
IndexOf(item: DbBatchCommand): int;
|
|
342
|
+
Insert(index: int, item: SqlBatchCommand): void;
|
|
343
|
+
Insert(index: int, item: DbBatchCommand): void;
|
|
344
|
+
Remove(item: SqlBatchCommand): boolean;
|
|
345
|
+
Remove(item: DbBatchCommand): boolean;
|
|
346
|
+
RemoveAt(index: int): void;
|
|
324
347
|
}
|
|
325
348
|
|
|
326
349
|
|
|
@@ -332,31 +355,31 @@ export const SqlBatchCommandCollection: {
|
|
|
332
355
|
export type SqlBatchCommandCollection = SqlBatchCommandCollection$instance;
|
|
333
356
|
|
|
334
357
|
export interface SqlBulkCopy$instance {
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
readonly
|
|
338
|
-
readonly
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
readonly
|
|
343
|
-
readonly
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
358
|
+
BatchSize: int;
|
|
359
|
+
BulkCopyTimeout: int;
|
|
360
|
+
readonly ColumnMappings: SqlBulkCopyColumnMappingCollection;
|
|
361
|
+
readonly ColumnOrderHints: SqlBulkCopyColumnOrderHintCollection;
|
|
362
|
+
DestinationTableName: string;
|
|
363
|
+
EnableStreaming: boolean;
|
|
364
|
+
NotifyAfter: int;
|
|
365
|
+
readonly RowsCopied: int;
|
|
366
|
+
readonly RowsCopied64: long;
|
|
367
|
+
Close(): void;
|
|
368
|
+
WriteToServer(reader: DbDataReader): void;
|
|
369
|
+
WriteToServer(rows: DataRow[]): void;
|
|
370
|
+
WriteToServer(table: DataTable): void;
|
|
371
|
+
WriteToServer(table: DataTable, rowState: DataRowState): void;
|
|
372
|
+
WriteToServer(reader: IDataReader): void;
|
|
373
|
+
WriteToServerAsync(reader: DbDataReader): Task;
|
|
374
|
+
WriteToServerAsync(reader: DbDataReader, cancellationToken: CancellationToken): Task;
|
|
375
|
+
WriteToServerAsync(rows: DataRow[]): Task;
|
|
376
|
+
WriteToServerAsync(rows: DataRow[], cancellationToken: CancellationToken): Task;
|
|
377
|
+
WriteToServerAsync(table: DataTable): Task;
|
|
378
|
+
WriteToServerAsync(table: DataTable, rowState: DataRowState): Task;
|
|
379
|
+
WriteToServerAsync(table: DataTable, rowState: DataRowState, cancellationToken: CancellationToken): Task;
|
|
380
|
+
WriteToServerAsync(table: DataTable, cancellationToken: CancellationToken): Task;
|
|
381
|
+
WriteToServerAsync(reader: IDataReader): Task;
|
|
382
|
+
WriteToServerAsync(reader: IDataReader, cancellationToken: CancellationToken): Task;
|
|
360
383
|
}
|
|
361
384
|
|
|
362
385
|
|
|
@@ -371,10 +394,10 @@ export const SqlBulkCopy: {
|
|
|
371
394
|
export type SqlBulkCopy = SqlBulkCopy$instance;
|
|
372
395
|
|
|
373
396
|
export interface SqlBulkCopyColumnMapping$instance {
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
397
|
+
DestinationColumn: string;
|
|
398
|
+
DestinationOrdinal: int;
|
|
399
|
+
SourceColumn: string;
|
|
400
|
+
SourceOrdinal: int;
|
|
378
401
|
}
|
|
379
402
|
|
|
380
403
|
|
|
@@ -390,19 +413,19 @@ export const SqlBulkCopyColumnMapping: {
|
|
|
390
413
|
export type SqlBulkCopyColumnMapping = SqlBulkCopyColumnMapping$instance;
|
|
391
414
|
|
|
392
415
|
export interface SqlBulkCopyColumnMappingCollection$instance extends CollectionBase {
|
|
393
|
-
readonly
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
416
|
+
readonly Item: SqlBulkCopyColumnMapping;
|
|
417
|
+
Add(bulkCopyColumnMapping: SqlBulkCopyColumnMapping): SqlBulkCopyColumnMapping;
|
|
418
|
+
Add(sourceColumnIndex: int, destinationColumnIndex: int): SqlBulkCopyColumnMapping;
|
|
419
|
+
Add(sourceColumnIndex: int, destinationColumn: string): SqlBulkCopyColumnMapping;
|
|
420
|
+
Add(sourceColumn: string, destinationColumnIndex: int): SqlBulkCopyColumnMapping;
|
|
421
|
+
Add(sourceColumn: string, destinationColumn: string): SqlBulkCopyColumnMapping;
|
|
422
|
+
Clear(): void;
|
|
423
|
+
Contains(value: SqlBulkCopyColumnMapping): boolean;
|
|
424
|
+
CopyTo(array: SqlBulkCopyColumnMapping[], index: int): void;
|
|
425
|
+
IndexOf(value: SqlBulkCopyColumnMapping): int;
|
|
426
|
+
Insert(index: int, value: SqlBulkCopyColumnMapping): void;
|
|
427
|
+
Remove(value: SqlBulkCopyColumnMapping): void;
|
|
428
|
+
RemoveAt(index: int): void;
|
|
406
429
|
}
|
|
407
430
|
|
|
408
431
|
|
|
@@ -414,8 +437,8 @@ export const SqlBulkCopyColumnMappingCollection: {
|
|
|
414
437
|
export type SqlBulkCopyColumnMappingCollection = SqlBulkCopyColumnMappingCollection$instance;
|
|
415
438
|
|
|
416
439
|
export interface SqlBulkCopyColumnOrderHint$instance {
|
|
417
|
-
|
|
418
|
-
|
|
440
|
+
Column: string;
|
|
441
|
+
SortOrder: SortOrder;
|
|
419
442
|
}
|
|
420
443
|
|
|
421
444
|
|
|
@@ -427,16 +450,16 @@ export const SqlBulkCopyColumnOrderHint: {
|
|
|
427
450
|
export type SqlBulkCopyColumnOrderHint = SqlBulkCopyColumnOrderHint$instance;
|
|
428
451
|
|
|
429
452
|
export interface SqlBulkCopyColumnOrderHintCollection$instance extends CollectionBase {
|
|
430
|
-
readonly
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
453
|
+
readonly Item: SqlBulkCopyColumnOrderHint;
|
|
454
|
+
Add(columnOrderHint: SqlBulkCopyColumnOrderHint): SqlBulkCopyColumnOrderHint;
|
|
455
|
+
Add(column: string, sortOrder: SortOrder): SqlBulkCopyColumnOrderHint;
|
|
456
|
+
Clear(): void;
|
|
457
|
+
Contains(value: SqlBulkCopyColumnOrderHint): boolean;
|
|
458
|
+
CopyTo(array: SqlBulkCopyColumnOrderHint[], index: int): void;
|
|
459
|
+
IndexOf(value: SqlBulkCopyColumnOrderHint): int;
|
|
460
|
+
Insert(index: int, columnOrderHint: SqlBulkCopyColumnOrderHint): void;
|
|
461
|
+
Remove(columnOrderHint: SqlBulkCopyColumnOrderHint): void;
|
|
462
|
+
RemoveAt(index: int): void;
|
|
440
463
|
}
|
|
441
464
|
|
|
442
465
|
|
|
@@ -448,33 +471,33 @@ export const SqlBulkCopyColumnOrderHintCollection: {
|
|
|
448
471
|
export type SqlBulkCopyColumnOrderHintCollection = SqlBulkCopyColumnOrderHintCollection$instance;
|
|
449
472
|
|
|
450
473
|
export interface SqlClientFactory$instance extends DbProviderFactory {
|
|
451
|
-
readonly
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
474
|
+
readonly CanCreateBatch: boolean;
|
|
475
|
+
CreateBatch(): DbBatch;
|
|
476
|
+
CreateBatchCommand(): DbBatchCommand;
|
|
477
|
+
CreateCommand(): DbCommand;
|
|
478
|
+
CreateCommandBuilder(): DbCommandBuilder;
|
|
479
|
+
CreateConnection(): DbConnection;
|
|
480
|
+
CreateConnectionStringBuilder(): DbConnectionStringBuilder;
|
|
481
|
+
CreateDataAdapter(): DbDataAdapter;
|
|
482
|
+
CreateDataSourceEnumerator(): DbDataSourceEnumerator;
|
|
483
|
+
CreateParameter(): DbParameter;
|
|
461
484
|
}
|
|
462
485
|
|
|
463
486
|
|
|
464
487
|
export const SqlClientFactory: {
|
|
465
488
|
new(): SqlClientFactory;
|
|
466
|
-
readonly
|
|
489
|
+
readonly Instance: SqlClientFactory;
|
|
467
490
|
};
|
|
468
491
|
|
|
469
492
|
|
|
470
493
|
export type SqlClientFactory = SqlClientFactory$instance;
|
|
471
494
|
|
|
472
495
|
export interface SqlClientLogger$instance {
|
|
473
|
-
readonly
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
496
|
+
readonly IsLoggingEnabled: boolean;
|
|
497
|
+
LogAssert(value: boolean, type: string, method: string, message: string): boolean;
|
|
498
|
+
LogError(type: string, method: string, message: string): void;
|
|
499
|
+
LogInfo(type: string, method: string, message: string): void;
|
|
500
|
+
LogWarning(type: string, method: string, message: string): void;
|
|
478
501
|
}
|
|
479
502
|
|
|
480
503
|
|
|
@@ -486,111 +509,123 @@ export const SqlClientLogger: {
|
|
|
486
509
|
export type SqlClientLogger = SqlClientLogger$instance;
|
|
487
510
|
|
|
488
511
|
export interface SqlColumnEncryptionCertificateStoreProvider$instance extends SqlColumnEncryptionKeyStoreProvider {
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
512
|
+
DecryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, encryptedColumnEncryptionKey: byte[]): byte[];
|
|
513
|
+
EncryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, columnEncryptionKey: byte[]): byte[];
|
|
514
|
+
SignColumnMasterKeyMetadata(masterKeyPath: string, allowEnclaveComputations: boolean): byte[];
|
|
515
|
+
VerifyColumnMasterKeyMetadata(masterKeyPath: string, allowEnclaveComputations: boolean, signature: byte[]): boolean;
|
|
493
516
|
}
|
|
494
517
|
|
|
495
518
|
|
|
496
519
|
export const SqlColumnEncryptionCertificateStoreProvider: {
|
|
497
520
|
new(): SqlColumnEncryptionCertificateStoreProvider;
|
|
498
|
-
readonly
|
|
521
|
+
readonly ProviderName: string;
|
|
499
522
|
};
|
|
500
523
|
|
|
501
524
|
|
|
502
525
|
export type SqlColumnEncryptionCertificateStoreProvider = SqlColumnEncryptionCertificateStoreProvider$instance;
|
|
503
526
|
|
|
504
527
|
export interface SqlColumnEncryptionCngProvider$instance extends SqlColumnEncryptionKeyStoreProvider {
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
528
|
+
DecryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, encryptedColumnEncryptionKey: byte[]): byte[];
|
|
529
|
+
EncryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, columnEncryptionKey: byte[]): byte[];
|
|
530
|
+
SignColumnMasterKeyMetadata(masterKeyPath: string, allowEnclaveComputations: boolean): byte[];
|
|
531
|
+
VerifyColumnMasterKeyMetadata(masterKeyPath: string, allowEnclaveComputations: boolean, signature: byte[]): boolean;
|
|
509
532
|
}
|
|
510
533
|
|
|
511
534
|
|
|
512
535
|
export const SqlColumnEncryptionCngProvider: {
|
|
513
536
|
new(): SqlColumnEncryptionCngProvider;
|
|
514
|
-
readonly
|
|
537
|
+
readonly ProviderName: string;
|
|
515
538
|
};
|
|
516
539
|
|
|
517
540
|
|
|
518
541
|
export type SqlColumnEncryptionCngProvider = SqlColumnEncryptionCngProvider$instance;
|
|
519
542
|
|
|
520
543
|
export interface SqlColumnEncryptionCspProvider$instance extends SqlColumnEncryptionKeyStoreProvider {
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
544
|
+
DecryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, encryptedColumnEncryptionKey: byte[]): byte[];
|
|
545
|
+
EncryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, columnEncryptionKey: byte[]): byte[];
|
|
546
|
+
SignColumnMasterKeyMetadata(masterKeyPath: string, allowEnclaveComputations: boolean): byte[];
|
|
547
|
+
VerifyColumnMasterKeyMetadata(masterKeyPath: string, allowEnclaveComputations: boolean, signature: byte[]): boolean;
|
|
525
548
|
}
|
|
526
549
|
|
|
527
550
|
|
|
528
551
|
export const SqlColumnEncryptionCspProvider: {
|
|
529
552
|
new(): SqlColumnEncryptionCspProvider;
|
|
530
|
-
readonly
|
|
553
|
+
readonly ProviderName: string;
|
|
531
554
|
};
|
|
532
555
|
|
|
533
556
|
|
|
534
557
|
export type SqlColumnEncryptionCspProvider = SqlColumnEncryptionCspProvider$instance;
|
|
535
558
|
|
|
536
559
|
export interface SqlColumnEncryptionKeyStoreProvider$instance {
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
560
|
+
ColumnEncryptionKeyCacheTtl: Nullable<TimeSpan>;
|
|
561
|
+
DecryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, encryptedColumnEncryptionKey: byte[]): byte[];
|
|
562
|
+
EncryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, columnEncryptionKey: byte[]): byte[];
|
|
563
|
+
SignColumnMasterKeyMetadata(masterKeyPath: string, allowEnclaveComputations: boolean): byte[];
|
|
564
|
+
VerifyColumnMasterKeyMetadata(masterKeyPath: string, allowEnclaveComputations: boolean, signature: byte[]): boolean;
|
|
542
565
|
}
|
|
543
566
|
|
|
544
567
|
|
|
545
568
|
export const SqlColumnEncryptionKeyStoreProvider: {
|
|
569
|
+
new(): SqlColumnEncryptionKeyStoreProvider;
|
|
546
570
|
};
|
|
547
571
|
|
|
548
572
|
|
|
549
573
|
export type SqlColumnEncryptionKeyStoreProvider = SqlColumnEncryptionKeyStoreProvider$instance;
|
|
550
574
|
|
|
551
|
-
export
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
575
|
+
export abstract class SqlCommand$protected {
|
|
576
|
+
protected DbConnection: DbConnection;
|
|
577
|
+
protected readonly DbParameterCollection: DbParameterCollection;
|
|
578
|
+
protected DbTransaction: DbTransaction;
|
|
579
|
+
protected CreateDbParameter(): DbParameter;
|
|
580
|
+
protected Dispose(disposing: boolean): void;
|
|
581
|
+
protected ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
582
|
+
protected ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<DbDataReader>;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
export interface SqlCommand$instance extends SqlCommand$protected, DbCommand {
|
|
587
|
+
readonly ColumnEncryptionSetting: SqlCommandColumnEncryptionSetting;
|
|
588
|
+
CommandText: string;
|
|
589
|
+
CommandTimeout: int;
|
|
590
|
+
CommandType: CommandType;
|
|
591
|
+
Connection: SqlConnection;
|
|
592
|
+
DesignTimeVisible: boolean;
|
|
593
|
+
EnableOptimizedParameterBinding: boolean;
|
|
594
|
+
Notification: SqlNotificationRequest;
|
|
595
|
+
readonly Parameters: SqlParameterCollection;
|
|
596
|
+
RetryLogicProvider: SqlRetryLogicBaseProvider;
|
|
597
|
+
Transaction: SqlTransaction;
|
|
598
|
+
UpdatedRowSource: UpdateRowSource;
|
|
599
|
+
BeginExecuteNonQuery(): IAsyncResult;
|
|
600
|
+
BeginExecuteNonQuery(callback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
601
|
+
BeginExecuteReader(): IAsyncResult;
|
|
602
|
+
BeginExecuteReader(callback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
603
|
+
BeginExecuteReader(callback: AsyncCallback, stateObject: unknown, behavior: CommandBehavior): IAsyncResult;
|
|
604
|
+
BeginExecuteReader(behavior: CommandBehavior): IAsyncResult;
|
|
605
|
+
BeginExecuteXmlReader(): IAsyncResult;
|
|
606
|
+
BeginExecuteXmlReader(callback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
607
|
+
Cancel(): void;
|
|
608
|
+
Clone(): SqlCommand;
|
|
609
|
+
CreateParameter(): SqlParameter;
|
|
610
|
+
EndExecuteNonQuery(asyncResult: IAsyncResult): int;
|
|
611
|
+
EndExecuteReader(asyncResult: IAsyncResult): SqlDataReader;
|
|
612
|
+
EndExecuteXmlReader(asyncResult: IAsyncResult): XmlReader;
|
|
613
|
+
ExecuteNonQuery(): int;
|
|
614
|
+
ExecuteNonQueryAsync(cancellationToken: CancellationToken): Task<System_Internal.Int32>;
|
|
615
|
+
ExecuteReader(): SqlDataReader;
|
|
616
|
+
ExecuteReader(behavior: CommandBehavior): SqlDataReader;
|
|
617
|
+
ExecuteReaderAsync(): Task<SqlDataReader>;
|
|
618
|
+
ExecuteReaderAsync(behavior: CommandBehavior): Task<SqlDataReader>;
|
|
619
|
+
ExecuteReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<SqlDataReader>;
|
|
620
|
+
ExecuteReaderAsync(cancellationToken: CancellationToken): Task<SqlDataReader>;
|
|
621
|
+
ExecuteScalar(): unknown;
|
|
622
|
+
ExecuteScalarAsync(cancellationToken: CancellationToken): Task<unknown>;
|
|
623
|
+
ExecuteXmlReader(): XmlReader;
|
|
624
|
+
ExecuteXmlReaderAsync(): Task<XmlReader>;
|
|
625
|
+
ExecuteXmlReaderAsync(cancellationToken: CancellationToken): Task<XmlReader>;
|
|
626
|
+
Prepare(): void;
|
|
627
|
+
RegisterColumnEncryptionKeyStoreProvidersOnCommand(customProviders: IDictionary__System_Collections_Generic<System_Internal.String, SqlColumnEncryptionKeyStoreProvider>): void;
|
|
628
|
+
ResetCommandTimeout(): void;
|
|
594
629
|
}
|
|
595
630
|
|
|
596
631
|
|
|
@@ -605,28 +640,39 @@ export const SqlCommand: {
|
|
|
605
640
|
|
|
606
641
|
export type SqlCommand = SqlCommand$instance;
|
|
607
642
|
|
|
608
|
-
export
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
643
|
+
export abstract class SqlCommandBuilder$protected {
|
|
644
|
+
protected ApplyParameterInfo(parameter: DbParameter, datarow: DataRow, statementType: StatementType, whereClause: boolean): void;
|
|
645
|
+
protected GetParameterName(parameterOrdinal: int): string;
|
|
646
|
+
protected GetParameterName(parameterName: string): string;
|
|
647
|
+
protected GetParameterPlaceholder(parameterOrdinal: int): string;
|
|
648
|
+
protected GetSchemaTable(srcCommand: DbCommand): DataTable;
|
|
649
|
+
protected InitializeCommand(command: DbCommand): DbCommand;
|
|
650
|
+
protected SetRowUpdatingHandler(adapter: DbDataAdapter): void;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
export interface SqlCommandBuilder$instance extends SqlCommandBuilder$protected, DbCommandBuilder {
|
|
655
|
+
CatalogLocation: CatalogLocation;
|
|
656
|
+
CatalogSeparator: string;
|
|
657
|
+
DataAdapter: SqlDataAdapter;
|
|
658
|
+
QuotePrefix: string;
|
|
659
|
+
QuoteSuffix: string;
|
|
660
|
+
SchemaSeparator: string;
|
|
661
|
+
GetDeleteCommand(): SqlCommand;
|
|
662
|
+
GetDeleteCommand(useColumnsForParameterNames: boolean): SqlCommand;
|
|
663
|
+
GetInsertCommand(): SqlCommand;
|
|
664
|
+
GetInsertCommand(useColumnsForParameterNames: boolean): SqlCommand;
|
|
665
|
+
GetUpdateCommand(): SqlCommand;
|
|
666
|
+
GetUpdateCommand(useColumnsForParameterNames: boolean): SqlCommand;
|
|
667
|
+
QuoteIdentifier(unquotedIdentifier: string): string;
|
|
668
|
+
UnquoteIdentifier(quotedIdentifier: string): string;
|
|
623
669
|
}
|
|
624
670
|
|
|
625
671
|
|
|
626
672
|
export const SqlCommandBuilder: {
|
|
627
673
|
new(): SqlCommandBuilder;
|
|
628
674
|
new(adapter: SqlDataAdapter): SqlCommandBuilder;
|
|
629
|
-
|
|
675
|
+
DeriveParameters(command: SqlCommand): void;
|
|
630
676
|
};
|
|
631
677
|
|
|
632
678
|
|
|
@@ -638,53 +684,61 @@ export interface SqlConfigurableRetryFactory$instance {
|
|
|
638
684
|
|
|
639
685
|
export const SqlConfigurableRetryFactory: {
|
|
640
686
|
new(): SqlConfigurableRetryFactory;
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
687
|
+
CreateExponentialRetryProvider(retryLogicOption: SqlRetryLogicOption): SqlRetryLogicBaseProvider;
|
|
688
|
+
CreateFixedRetryProvider(retryLogicOption: SqlRetryLogicOption): SqlRetryLogicBaseProvider;
|
|
689
|
+
CreateIncrementalRetryProvider(retryLogicOption: SqlRetryLogicOption): SqlRetryLogicBaseProvider;
|
|
690
|
+
CreateNoneRetryProvider(): SqlRetryLogicBaseProvider;
|
|
645
691
|
};
|
|
646
692
|
|
|
647
693
|
|
|
648
694
|
export type SqlConfigurableRetryFactory = SqlConfigurableRetryFactory$instance;
|
|
649
695
|
|
|
650
|
-
export
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
readonly
|
|
662
|
-
|
|
663
|
-
readonly
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
readonly
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
readonly
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
696
|
+
export abstract class SqlConnection$protected {
|
|
697
|
+
protected BeginDbTransaction(isolationLevel: IsolationLevel): DbTransaction;
|
|
698
|
+
protected CreateDbBatch(): DbBatch;
|
|
699
|
+
protected CreateDbCommand(): DbCommand;
|
|
700
|
+
protected Dispose(disposing: boolean): void;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
export interface SqlConnection$instance extends SqlConnection$protected, DbConnection {
|
|
705
|
+
AccessToken: string;
|
|
706
|
+
AccessTokenCallback: Func<SqlAuthenticationParameters, CancellationToken, Task<SqlAuthenticationToken>>;
|
|
707
|
+
readonly CanCreateBatch: boolean;
|
|
708
|
+
readonly ClientConnectionId: Guid;
|
|
709
|
+
readonly CommandTimeout: int;
|
|
710
|
+
get ConnectionString(): string | undefined;
|
|
711
|
+
set ConnectionString(value: string);
|
|
712
|
+
readonly ConnectionTimeout: int;
|
|
713
|
+
Credential: SqlCredential;
|
|
714
|
+
readonly Database: string;
|
|
715
|
+
readonly DataSource: string;
|
|
716
|
+
FireInfoMessageEventOnUserErrors: boolean;
|
|
717
|
+
readonly PacketSize: int;
|
|
718
|
+
RetryLogicProvider: SqlRetryLogicBaseProvider;
|
|
719
|
+
readonly ServerProcessId: int;
|
|
720
|
+
readonly ServerVersion: string;
|
|
721
|
+
readonly State: ConnectionState;
|
|
722
|
+
StatisticsEnabled: boolean;
|
|
723
|
+
readonly WorkstationId: string;
|
|
724
|
+
BeginTransaction(): SqlTransaction;
|
|
725
|
+
BeginTransaction(iso: IsolationLevel): SqlTransaction;
|
|
726
|
+
BeginTransaction(iso: IsolationLevel, transactionName: string): SqlTransaction;
|
|
727
|
+
BeginTransaction(transactionName: string): SqlTransaction;
|
|
728
|
+
ChangeDatabase(database: string): void;
|
|
729
|
+
Close(): void;
|
|
730
|
+
CreateCommand(): SqlCommand;
|
|
731
|
+
GetSchema(): DataTable;
|
|
732
|
+
GetSchema(collectionName: string): DataTable;
|
|
733
|
+
GetSchema(collectionName: string, restrictionValues: string[]): DataTable;
|
|
734
|
+
Open(): void;
|
|
735
|
+
Open(overrides: SqlConnectionOverrides): void;
|
|
736
|
+
OpenAsync(overrides: SqlConnectionOverrides, cancellationToken: CancellationToken): Task;
|
|
737
|
+
OpenAsync(cancellationToken: CancellationToken): Task;
|
|
738
|
+
RegisterColumnEncryptionKeyStoreProvidersOnConnection(customProviders: IDictionary__System_Collections_Generic<System_Internal.String, SqlColumnEncryptionKeyStoreProvider>): void;
|
|
739
|
+
ResetStatistics(): void;
|
|
740
|
+
RetrieveInternalInfo(): IDictionary__System_Collections_Generic<System_Internal.String, unknown>;
|
|
741
|
+
RetrieveStatistics(): IDictionary;
|
|
688
742
|
}
|
|
689
743
|
|
|
690
744
|
|
|
@@ -692,88 +746,88 @@ export const SqlConnection: {
|
|
|
692
746
|
new(): SqlConnection;
|
|
693
747
|
new(connectionString: string): SqlConnection;
|
|
694
748
|
new(connectionString: string, credential: SqlCredential): SqlConnection;
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
readonly
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
749
|
+
ColumnEncryptionKeyCacheTtl: TimeSpan;
|
|
750
|
+
ColumnEncryptionQueryMetadataCacheEnabled: boolean;
|
|
751
|
+
readonly ColumnEncryptionTrustedMasterKeyPaths: IDictionary__System_Collections_Generic<System_Internal.String, IList__System_Collections_Generic<System_Internal.String>>;
|
|
752
|
+
ChangePassword(connectionString: string, credential: SqlCredential, newSecurePassword: SecureString): void;
|
|
753
|
+
ChangePassword(connectionString: string, newPassword: string): void;
|
|
754
|
+
ClearAllPools(): void;
|
|
755
|
+
ClearPool(connection: SqlConnection): void;
|
|
756
|
+
RegisterColumnEncryptionKeyStoreProviders(customProviders: IDictionary__System_Collections_Generic<System_Internal.String, SqlColumnEncryptionKeyStoreProvider>): void;
|
|
703
757
|
};
|
|
704
758
|
|
|
705
759
|
|
|
706
760
|
export type SqlConnection = SqlConnection$instance;
|
|
707
761
|
|
|
708
762
|
export interface SqlConnectionEncryptOption$instance {
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
763
|
+
Equals(obj: unknown): boolean;
|
|
764
|
+
GetHashCode(): int;
|
|
765
|
+
ToString(): string | undefined;
|
|
712
766
|
}
|
|
713
767
|
|
|
714
768
|
|
|
715
769
|
export const SqlConnectionEncryptOption: {
|
|
716
770
|
new(): SqlConnectionEncryptOption;
|
|
717
|
-
readonly
|
|
718
|
-
readonly
|
|
719
|
-
readonly
|
|
720
|
-
|
|
721
|
-
|
|
771
|
+
readonly Mandatory: SqlConnectionEncryptOption;
|
|
772
|
+
readonly Optional: SqlConnectionEncryptOption;
|
|
773
|
+
readonly Strict: SqlConnectionEncryptOption;
|
|
774
|
+
Parse(value: string): SqlConnectionEncryptOption;
|
|
775
|
+
TryParse(value: string, result: SqlConnectionEncryptOption): boolean;
|
|
722
776
|
};
|
|
723
777
|
|
|
724
778
|
|
|
725
779
|
export type SqlConnectionEncryptOption = SqlConnectionEncryptOption$instance;
|
|
726
780
|
|
|
727
781
|
export interface SqlConnectionStringBuilder$instance extends DbConnectionStringBuilder {
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
readonly
|
|
750
|
-
|
|
751
|
-
readonly
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
readonly
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
782
|
+
ApplicationIntent: ApplicationIntent;
|
|
783
|
+
ApplicationName: string;
|
|
784
|
+
AttachDBFilename: string;
|
|
785
|
+
AttestationProtocol: SqlConnectionAttestationProtocol;
|
|
786
|
+
Authentication: SqlAuthenticationMethod;
|
|
787
|
+
ColumnEncryptionSetting: SqlConnectionColumnEncryptionSetting;
|
|
788
|
+
CommandTimeout: int;
|
|
789
|
+
ConnectRetryCount: int;
|
|
790
|
+
ConnectRetryInterval: int;
|
|
791
|
+
ConnectTimeout: int;
|
|
792
|
+
CurrentLanguage: string;
|
|
793
|
+
DataSource: string;
|
|
794
|
+
EnclaveAttestationUrl: string;
|
|
795
|
+
Encrypt: SqlConnectionEncryptOption;
|
|
796
|
+
Enlist: boolean;
|
|
797
|
+
FailoverPartner: string;
|
|
798
|
+
FailoverPartnerSPN: string;
|
|
799
|
+
HostNameInCertificate: string;
|
|
800
|
+
InitialCatalog: string;
|
|
801
|
+
IntegratedSecurity: boolean;
|
|
802
|
+
IPAddressPreference: SqlConnectionIPAddressPreference;
|
|
803
|
+
readonly IsFixedSize: boolean;
|
|
804
|
+
Item: unknown;
|
|
805
|
+
readonly Keys: ICollection;
|
|
806
|
+
LoadBalanceTimeout: int;
|
|
807
|
+
MaxPoolSize: int;
|
|
808
|
+
MinPoolSize: int;
|
|
809
|
+
MultipleActiveResultSets: boolean;
|
|
810
|
+
MultiSubnetFailover: boolean;
|
|
811
|
+
PacketSize: int;
|
|
812
|
+
Password: string;
|
|
813
|
+
PersistSecurityInfo: boolean;
|
|
814
|
+
PoolBlockingPeriod: PoolBlockingPeriod;
|
|
815
|
+
Pooling: boolean;
|
|
816
|
+
Replication: boolean;
|
|
817
|
+
ServerCertificate: string;
|
|
818
|
+
ServerSPN: string;
|
|
819
|
+
TransactionBinding: string;
|
|
820
|
+
TrustServerCertificate: boolean;
|
|
821
|
+
TypeSystemVersion: string;
|
|
822
|
+
UserID: string;
|
|
823
|
+
UserInstance: boolean;
|
|
824
|
+
readonly Values: ICollection;
|
|
825
|
+
WorkstationID: string;
|
|
826
|
+
Clear(): void;
|
|
827
|
+
ContainsKey(keyword: string): boolean;
|
|
828
|
+
Remove(keyword: string): boolean;
|
|
829
|
+
ShouldSerialize(keyword: string): boolean;
|
|
830
|
+
TryGetValue(keyword: string, value: unknown): boolean;
|
|
777
831
|
}
|
|
778
832
|
|
|
779
833
|
|
|
@@ -786,8 +840,8 @@ export const SqlConnectionStringBuilder: {
|
|
|
786
840
|
export type SqlConnectionStringBuilder = SqlConnectionStringBuilder$instance;
|
|
787
841
|
|
|
788
842
|
export interface SqlCredential$instance {
|
|
789
|
-
readonly
|
|
790
|
-
readonly
|
|
843
|
+
readonly Password: SecureString;
|
|
844
|
+
readonly UserId: string;
|
|
791
845
|
}
|
|
792
846
|
|
|
793
847
|
|
|
@@ -798,12 +852,18 @@ export const SqlCredential: {
|
|
|
798
852
|
|
|
799
853
|
export type SqlCredential = SqlCredential$instance;
|
|
800
854
|
|
|
801
|
-
export
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
855
|
+
export abstract class SqlDataAdapter$protected {
|
|
856
|
+
protected OnRowUpdated(value: RowUpdatedEventArgs): void;
|
|
857
|
+
protected OnRowUpdating(value: RowUpdatingEventArgs): void;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
export interface SqlDataAdapter$instance extends SqlDataAdapter$protected, DbDataAdapter {
|
|
862
|
+
DeleteCommand: SqlCommand;
|
|
863
|
+
InsertCommand: SqlCommand;
|
|
864
|
+
SelectCommand: SqlCommand;
|
|
865
|
+
UpdateBatchSize: int;
|
|
866
|
+
UpdateCommand: SqlCommand;
|
|
807
867
|
}
|
|
808
868
|
|
|
809
869
|
|
|
@@ -818,75 +878,75 @@ export const SqlDataAdapter: {
|
|
|
818
878
|
export type SqlDataAdapter = SqlDataAdapter$instance;
|
|
819
879
|
|
|
820
880
|
export interface SqlDataReader$instance extends DbDataReader {
|
|
821
|
-
readonly
|
|
822
|
-
readonly
|
|
823
|
-
readonly
|
|
824
|
-
readonly
|
|
825
|
-
readonly
|
|
826
|
-
readonly
|
|
827
|
-
readonly
|
|
828
|
-
|
|
881
|
+
readonly Depth: int;
|
|
882
|
+
readonly FieldCount: int;
|
|
883
|
+
readonly HasRows: boolean;
|
|
884
|
+
readonly IsClosed: boolean;
|
|
885
|
+
readonly RecordsAffected: int;
|
|
886
|
+
readonly SensitivityClassification: SensitivityClassification;
|
|
887
|
+
readonly VisibleFieldCount: int;
|
|
888
|
+
Close(): void;
|
|
829
889
|
get_Item(i: int): unknown;
|
|
830
890
|
get_Item(name: string): unknown;
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
891
|
+
GetBoolean(i: int): boolean;
|
|
892
|
+
GetByte(i: int): byte;
|
|
893
|
+
GetBytes(i: int, dataIndex: long, buffer: byte[], bufferIndex: int, length: int): long;
|
|
894
|
+
GetChar(i: int): char;
|
|
895
|
+
GetChars(i: int, dataIndex: long, buffer: char[], bufferIndex: int, length: int): long;
|
|
896
|
+
GetColumnSchema(): ReadOnlyCollection<DbColumn>;
|
|
897
|
+
GetDataTypeName(i: int): string;
|
|
898
|
+
GetDateTime(i: int): DateTime;
|
|
899
|
+
GetDateTimeOffset(i: int): DateTimeOffset;
|
|
900
|
+
GetDecimal(i: int): decimal;
|
|
901
|
+
GetDouble(i: int): double;
|
|
902
|
+
GetEnumerator(): IEnumerator;
|
|
903
|
+
GetFieldType(i: int): Type;
|
|
904
|
+
GetFieldValue<T>(i: int): T;
|
|
905
|
+
GetFieldValueAsync<T>(i: int, cancellationToken: CancellationToken): Task<T>;
|
|
906
|
+
GetFloat(i: int): float;
|
|
907
|
+
GetGuid(i: int): Guid;
|
|
908
|
+
GetInt16(i: int): short;
|
|
909
|
+
GetInt32(i: int): int;
|
|
910
|
+
GetInt64(i: int): long;
|
|
911
|
+
GetName(i: int): string;
|
|
912
|
+
GetOrdinal(name: string): int;
|
|
913
|
+
GetProviderSpecificFieldType(i: int): Type;
|
|
914
|
+
GetProviderSpecificValue(i: int): unknown;
|
|
915
|
+
GetProviderSpecificValues(values: unknown[]): int;
|
|
916
|
+
GetSchemaTable(): DataTable;
|
|
917
|
+
GetSqlBinary(i: int): SqlBinary;
|
|
918
|
+
GetSqlBoolean(i: int): SqlBoolean;
|
|
919
|
+
GetSqlByte(i: int): SqlByte;
|
|
920
|
+
GetSqlBytes(i: int): SqlBytes;
|
|
921
|
+
GetSqlChars(i: int): SqlChars;
|
|
922
|
+
GetSqlDateTime(i: int): SqlDateTime;
|
|
923
|
+
GetSqlDecimal(i: int): SqlDecimal;
|
|
924
|
+
GetSqlDouble(i: int): SqlDouble;
|
|
925
|
+
GetSqlGuid(i: int): SqlGuid;
|
|
926
|
+
GetSqlInt16(i: int): SqlInt16;
|
|
927
|
+
GetSqlInt32(i: int): SqlInt32;
|
|
928
|
+
GetSqlInt64(i: int): SqlInt64;
|
|
929
|
+
GetSqlJson(i: int): SqlJson;
|
|
930
|
+
GetSqlMoney(i: int): SqlMoney;
|
|
931
|
+
GetSqlSingle(i: int): SqlSingle;
|
|
932
|
+
GetSqlString(i: int): SqlString;
|
|
933
|
+
GetSqlValue(i: int): unknown;
|
|
934
|
+
GetSqlValues(values: unknown[]): int;
|
|
935
|
+
GetSqlVector<T extends unknown>(i: int): SqlVector_1<T>;
|
|
936
|
+
GetSqlXml(i: int): SqlXml;
|
|
937
|
+
GetStream(i: int): Stream;
|
|
938
|
+
GetString(i: int): string;
|
|
939
|
+
GetTextReader(i: int): TextReader;
|
|
940
|
+
GetTimeSpan(i: int): TimeSpan;
|
|
941
|
+
GetValue(i: int): unknown;
|
|
942
|
+
GetValues(values: unknown[]): int;
|
|
943
|
+
GetXmlReader(i: int): XmlReader;
|
|
944
|
+
IsDBNull(i: int): boolean;
|
|
945
|
+
IsDBNullAsync(i: int, cancellationToken: CancellationToken): Task<System_Internal.Boolean>;
|
|
946
|
+
NextResult(): boolean;
|
|
947
|
+
NextResultAsync(cancellationToken: CancellationToken): Task<System_Internal.Boolean>;
|
|
948
|
+
Read(): boolean;
|
|
949
|
+
ReadAsync(cancellationToken: CancellationToken): Task<System_Internal.Boolean>;
|
|
890
950
|
}
|
|
891
951
|
|
|
892
952
|
|
|
@@ -898,9 +958,9 @@ export const SqlDataReader: {
|
|
|
898
958
|
export type SqlDataReader = SqlDataReader$instance;
|
|
899
959
|
|
|
900
960
|
export interface SqlDependency$instance {
|
|
901
|
-
readonly
|
|
902
|
-
readonly
|
|
903
|
-
|
|
961
|
+
readonly HasChanges: boolean;
|
|
962
|
+
readonly Id: string;
|
|
963
|
+
AddCommandDependency(command: SqlCommand): void;
|
|
904
964
|
}
|
|
905
965
|
|
|
906
966
|
|
|
@@ -908,25 +968,25 @@ export const SqlDependency: {
|
|
|
908
968
|
new(): SqlDependency;
|
|
909
969
|
new(command: SqlCommand): SqlDependency;
|
|
910
970
|
new(command: SqlCommand, options: string, timeout: int): SqlDependency;
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
971
|
+
Start(connectionString: string, queue: string): boolean;
|
|
972
|
+
Start(connectionString: string): boolean;
|
|
973
|
+
Stop(connectionString: string, queue: string): boolean;
|
|
974
|
+
Stop(connectionString: string): boolean;
|
|
915
975
|
};
|
|
916
976
|
|
|
917
977
|
|
|
918
978
|
export type SqlDependency = SqlDependency$instance;
|
|
919
979
|
|
|
920
980
|
export interface SqlError$instance {
|
|
921
|
-
readonly
|
|
922
|
-
readonly
|
|
923
|
-
readonly
|
|
924
|
-
readonly
|
|
925
|
-
readonly
|
|
926
|
-
readonly
|
|
927
|
-
readonly
|
|
928
|
-
readonly
|
|
929
|
-
|
|
981
|
+
readonly Class: byte;
|
|
982
|
+
readonly LineNumber: int;
|
|
983
|
+
readonly Message: string | undefined;
|
|
984
|
+
readonly Number: int;
|
|
985
|
+
readonly Procedure: string;
|
|
986
|
+
readonly Server: string;
|
|
987
|
+
readonly Source: string;
|
|
988
|
+
readonly State: byte;
|
|
989
|
+
ToString(): string | undefined;
|
|
930
990
|
}
|
|
931
991
|
|
|
932
992
|
|
|
@@ -938,11 +998,11 @@ export const SqlError: {
|
|
|
938
998
|
export type SqlError = SqlError$instance;
|
|
939
999
|
|
|
940
1000
|
export interface SqlErrorCollection$instance {
|
|
941
|
-
readonly
|
|
942
|
-
readonly
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
1001
|
+
readonly Count: int;
|
|
1002
|
+
readonly Item: SqlError;
|
|
1003
|
+
CopyTo(array: SqlError[], index: int): void;
|
|
1004
|
+
CopyTo(array: ClrArray, index: int): void;
|
|
1005
|
+
GetEnumerator(): IEnumerator;
|
|
946
1006
|
}
|
|
947
1007
|
|
|
948
1008
|
|
|
@@ -953,19 +1013,24 @@ export const SqlErrorCollection: {
|
|
|
953
1013
|
|
|
954
1014
|
export type SqlErrorCollection = SqlErrorCollection$instance;
|
|
955
1015
|
|
|
956
|
-
export
|
|
957
|
-
readonly
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
readonly
|
|
963
|
-
readonly
|
|
964
|
-
readonly
|
|
965
|
-
readonly
|
|
966
|
-
readonly
|
|
967
|
-
|
|
968
|
-
|
|
1016
|
+
export abstract class SqlException$protected {
|
|
1017
|
+
protected readonly DbBatchCommand: DbBatchCommand;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
|
|
1021
|
+
export interface SqlException$instance extends SqlException$protected, DbException {
|
|
1022
|
+
readonly BatchCommand: SqlBatchCommand;
|
|
1023
|
+
readonly Class: byte;
|
|
1024
|
+
readonly ClientConnectionId: Guid;
|
|
1025
|
+
readonly Errors: SqlErrorCollection;
|
|
1026
|
+
readonly LineNumber: int;
|
|
1027
|
+
readonly Number: int;
|
|
1028
|
+
readonly Procedure: string;
|
|
1029
|
+
readonly Server: string;
|
|
1030
|
+
readonly Source: string;
|
|
1031
|
+
readonly State: byte;
|
|
1032
|
+
GetObjectData(si: SerializationInfo, context: StreamingContext): void;
|
|
1033
|
+
ToString(): string;
|
|
969
1034
|
}
|
|
970
1035
|
|
|
971
1036
|
|
|
@@ -977,10 +1042,10 @@ export const SqlException: {
|
|
|
977
1042
|
export type SqlException = SqlException$instance;
|
|
978
1043
|
|
|
979
1044
|
export interface SqlInfoMessageEventArgs$instance extends EventArgs {
|
|
980
|
-
readonly
|
|
981
|
-
readonly
|
|
982
|
-
readonly
|
|
983
|
-
|
|
1045
|
+
readonly Errors: SqlErrorCollection;
|
|
1046
|
+
readonly Message: string;
|
|
1047
|
+
readonly Source: string;
|
|
1048
|
+
ToString(): string;
|
|
984
1049
|
}
|
|
985
1050
|
|
|
986
1051
|
|
|
@@ -992,9 +1057,9 @@ export const SqlInfoMessageEventArgs: {
|
|
|
992
1057
|
export type SqlInfoMessageEventArgs = SqlInfoMessageEventArgs$instance;
|
|
993
1058
|
|
|
994
1059
|
export interface SqlNotificationEventArgs$instance extends EventArgs {
|
|
995
|
-
readonly
|
|
996
|
-
readonly
|
|
997
|
-
readonly
|
|
1060
|
+
readonly Info: SqlNotificationInfo;
|
|
1061
|
+
readonly Source: SqlNotificationSource;
|
|
1062
|
+
readonly Type: SqlNotificationType;
|
|
998
1063
|
}
|
|
999
1064
|
|
|
1000
1065
|
|
|
@@ -1006,31 +1071,31 @@ export const SqlNotificationEventArgs: {
|
|
|
1006
1071
|
export type SqlNotificationEventArgs = SqlNotificationEventArgs$instance;
|
|
1007
1072
|
|
|
1008
1073
|
export interface SqlParameter$instance extends DbParameter {
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1074
|
+
CompareInfo: SqlCompareOptions;
|
|
1075
|
+
DbType: DbType;
|
|
1076
|
+
Direction: ParameterDirection;
|
|
1077
|
+
ForceColumnEncryption: boolean;
|
|
1078
|
+
IsNullable: boolean;
|
|
1079
|
+
LocaleId: int;
|
|
1080
|
+
Offset: int;
|
|
1081
|
+
ParameterName: string;
|
|
1082
|
+
Precision: byte;
|
|
1083
|
+
Scale: byte;
|
|
1084
|
+
Size: int;
|
|
1085
|
+
SourceColumn: string;
|
|
1086
|
+
SourceColumnNullMapping: boolean;
|
|
1087
|
+
SourceVersion: DataRowVersion;
|
|
1088
|
+
SqlDbType: SqlDbType;
|
|
1089
|
+
SqlValue: unknown;
|
|
1090
|
+
TypeName: string;
|
|
1091
|
+
UdtTypeName: string;
|
|
1092
|
+
Value: unknown;
|
|
1093
|
+
XmlSchemaCollectionDatabase: string;
|
|
1094
|
+
XmlSchemaCollectionName: string;
|
|
1095
|
+
XmlSchemaCollectionOwningSchema: string;
|
|
1096
|
+
ResetDbType(): void;
|
|
1097
|
+
ResetSqlDbType(): void;
|
|
1098
|
+
ToString(): string;
|
|
1034
1099
|
}
|
|
1035
1100
|
|
|
1036
1101
|
|
|
@@ -1047,37 +1112,45 @@ export const SqlParameter: {
|
|
|
1047
1112
|
|
|
1048
1113
|
export type SqlParameter = SqlParameter$instance;
|
|
1049
1114
|
|
|
1050
|
-
export
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1115
|
+
export abstract class SqlParameterCollection$protected {
|
|
1116
|
+
protected GetParameter(index: int): DbParameter;
|
|
1117
|
+
protected GetParameter(parameterName: string): DbParameter;
|
|
1118
|
+
protected SetParameter(index: int, value: DbParameter): void;
|
|
1119
|
+
protected SetParameter(parameterName: string, value: DbParameter): void;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
export interface SqlParameterCollection$instance extends SqlParameterCollection$protected, DbParameterCollection {
|
|
1124
|
+
readonly Count: int;
|
|
1125
|
+
readonly IsFixedSize: boolean;
|
|
1126
|
+
readonly IsReadOnly: boolean;
|
|
1127
|
+
readonly SyncRoot: unknown;
|
|
1128
|
+
Add(value: SqlParameter): SqlParameter;
|
|
1129
|
+
Add(value: unknown): int;
|
|
1130
|
+
Add(parameterName: string, sqlDbType: SqlDbType): SqlParameter;
|
|
1131
|
+
Add(parameterName: string, sqlDbType: SqlDbType, size: int): SqlParameter;
|
|
1132
|
+
Add(parameterName: string, sqlDbType: SqlDbType, size: int, sourceColumn: string): SqlParameter;
|
|
1133
|
+
AddRange(values: SqlParameter[]): void;
|
|
1134
|
+
AddRange(values: ClrArray): void;
|
|
1135
|
+
AddWithValue(parameterName: string, value: unknown): SqlParameter;
|
|
1136
|
+
Clear(): void;
|
|
1137
|
+
Contains(value: SqlParameter): boolean;
|
|
1138
|
+
Contains(value: unknown): boolean;
|
|
1139
|
+
Contains(value: string): boolean;
|
|
1140
|
+
CopyTo(array: SqlParameter[], index: int): void;
|
|
1141
|
+
CopyTo(array: ClrArray, index: int): void;
|
|
1069
1142
|
get_Item(index: int): SqlParameter;
|
|
1070
1143
|
get_Item(parameterName: string): SqlParameter;
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1144
|
+
GetEnumerator(): IEnumerator;
|
|
1145
|
+
IndexOf(value: SqlParameter): int;
|
|
1146
|
+
IndexOf(value: unknown): int;
|
|
1147
|
+
IndexOf(parameterName: string): int;
|
|
1148
|
+
Insert(index: int, value: SqlParameter): void;
|
|
1149
|
+
Insert(index: int, value: unknown): void;
|
|
1150
|
+
Remove(value: SqlParameter): void;
|
|
1151
|
+
Remove(value: unknown): void;
|
|
1152
|
+
RemoveAt(index: int): void;
|
|
1153
|
+
RemoveAt(parameterName: string): void;
|
|
1081
1154
|
set_Item(index: int, value: SqlParameter): void;
|
|
1082
1155
|
set_Item(parameterName: string, value: SqlParameter): void;
|
|
1083
1156
|
}
|
|
@@ -1091,10 +1164,10 @@ export const SqlParameterCollection: {
|
|
|
1091
1164
|
export type SqlParameterCollection = SqlParameterCollection$instance;
|
|
1092
1165
|
|
|
1093
1166
|
export interface SqlRetryingEventArgs$instance extends EventArgs {
|
|
1094
|
-
|
|
1095
|
-
readonly
|
|
1096
|
-
readonly
|
|
1097
|
-
readonly
|
|
1167
|
+
Cancel: boolean;
|
|
1168
|
+
readonly Delay: TimeSpan;
|
|
1169
|
+
readonly Exceptions: IList__System_Collections_Generic<Exception>;
|
|
1170
|
+
readonly RetryCount: int;
|
|
1098
1171
|
}
|
|
1099
1172
|
|
|
1100
1173
|
|
|
@@ -1105,15 +1178,21 @@ export const SqlRetryingEventArgs: {
|
|
|
1105
1178
|
|
|
1106
1179
|
export type SqlRetryingEventArgs = SqlRetryingEventArgs$instance;
|
|
1107
1180
|
|
|
1108
|
-
export
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1181
|
+
export abstract class SqlRetryIntervalBaseEnumerator$protected {
|
|
1182
|
+
protected abstract GetNextInterval(): TimeSpan;
|
|
1183
|
+
protected Validate(timeInterval: TimeSpan, maxTimeInterval: TimeSpan, minTimeInterval: TimeSpan): void;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
|
|
1187
|
+
export interface SqlRetryIntervalBaseEnumerator$instance extends SqlRetryIntervalBaseEnumerator$protected {
|
|
1188
|
+
Current: TimeSpan;
|
|
1189
|
+
GapTimeInterval: TimeSpan;
|
|
1190
|
+
MaxTimeInterval: TimeSpan;
|
|
1191
|
+
MinTimeInterval: TimeSpan;
|
|
1192
|
+
Clone(): unknown;
|
|
1193
|
+
Dispose(): void;
|
|
1194
|
+
MoveNext(): boolean;
|
|
1195
|
+
Reset(): void;
|
|
1117
1196
|
}
|
|
1118
1197
|
|
|
1119
1198
|
|
|
@@ -1126,45 +1205,47 @@ export const SqlRetryIntervalBaseEnumerator: {
|
|
|
1126
1205
|
export type SqlRetryIntervalBaseEnumerator = SqlRetryIntervalBaseEnumerator$instance;
|
|
1127
1206
|
|
|
1128
1207
|
export interface SqlRetryLogicBase$instance {
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1208
|
+
Current: int;
|
|
1209
|
+
NumberOfTries: int;
|
|
1210
|
+
RetryIntervalEnumerator: SqlRetryIntervalBaseEnumerator;
|
|
1211
|
+
TransientPredicate: Predicate<Exception>;
|
|
1212
|
+
Clone(): unknown;
|
|
1213
|
+
Reset(): void;
|
|
1214
|
+
RetryCondition(sender: unknown): boolean;
|
|
1215
|
+
TryNextInterval(intervalTime: TimeSpan): boolean;
|
|
1137
1216
|
}
|
|
1138
1217
|
|
|
1139
1218
|
|
|
1140
1219
|
export const SqlRetryLogicBase: {
|
|
1220
|
+
new(): SqlRetryLogicBase;
|
|
1141
1221
|
};
|
|
1142
1222
|
|
|
1143
1223
|
|
|
1144
1224
|
export type SqlRetryLogicBase = SqlRetryLogicBase$instance;
|
|
1145
1225
|
|
|
1146
1226
|
export interface SqlRetryLogicBaseProvider$instance {
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1227
|
+
Retrying: EventHandler<SqlRetryingEventArgs>;
|
|
1228
|
+
RetryLogic: SqlRetryLogicBase;
|
|
1229
|
+
Execute<TResult>(sender: unknown, function_: Func<TResult>): TResult;
|
|
1230
|
+
ExecuteAsync(sender: unknown, function_: Func<Task>, cancellationToken?: CancellationToken): Task;
|
|
1231
|
+
ExecuteAsync<TResult>(sender: unknown, function_: Func<Task<TResult>>, cancellationToken?: CancellationToken): Task<TResult>;
|
|
1152
1232
|
}
|
|
1153
1233
|
|
|
1154
1234
|
|
|
1155
1235
|
export const SqlRetryLogicBaseProvider: {
|
|
1236
|
+
new(): SqlRetryLogicBaseProvider;
|
|
1156
1237
|
};
|
|
1157
1238
|
|
|
1158
1239
|
|
|
1159
1240
|
export type SqlRetryLogicBaseProvider = SqlRetryLogicBaseProvider$instance;
|
|
1160
1241
|
|
|
1161
1242
|
export interface SqlRetryLogicOption$instance {
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1243
|
+
AuthorizedSqlCondition: Predicate<System_Internal.String>;
|
|
1244
|
+
DeltaTime: TimeSpan;
|
|
1245
|
+
MaxTimeInterval: TimeSpan;
|
|
1246
|
+
MinTimeInterval: TimeSpan;
|
|
1247
|
+
NumberOfTries: int;
|
|
1248
|
+
TransientErrors: IEnumerable__System_Collections_Generic<System_Internal.Int32>;
|
|
1168
1249
|
}
|
|
1169
1250
|
|
|
1170
1251
|
|
|
@@ -1176,8 +1257,8 @@ export const SqlRetryLogicOption: {
|
|
|
1176
1257
|
export type SqlRetryLogicOption = SqlRetryLogicOption$instance;
|
|
1177
1258
|
|
|
1178
1259
|
export interface SqlRowsCopiedEventArgs$instance extends EventArgs {
|
|
1179
|
-
|
|
1180
|
-
readonly
|
|
1260
|
+
Abort: boolean;
|
|
1261
|
+
readonly RowsCopied: long;
|
|
1181
1262
|
}
|
|
1182
1263
|
|
|
1183
1264
|
|
|
@@ -1189,7 +1270,7 @@ export const SqlRowsCopiedEventArgs: {
|
|
|
1189
1270
|
export type SqlRowsCopiedEventArgs = SqlRowsCopiedEventArgs$instance;
|
|
1190
1271
|
|
|
1191
1272
|
export interface SqlRowUpdatedEventArgs$instance extends RowUpdatedEventArgs {
|
|
1192
|
-
readonly
|
|
1273
|
+
readonly Command: SqlCommand;
|
|
1193
1274
|
}
|
|
1194
1275
|
|
|
1195
1276
|
|
|
@@ -1200,8 +1281,13 @@ export const SqlRowUpdatedEventArgs: {
|
|
|
1200
1281
|
|
|
1201
1282
|
export type SqlRowUpdatedEventArgs = SqlRowUpdatedEventArgs$instance;
|
|
1202
1283
|
|
|
1203
|
-
export
|
|
1204
|
-
|
|
1284
|
+
export abstract class SqlRowUpdatingEventArgs$protected {
|
|
1285
|
+
protected BaseCommand: IDbCommand;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
export interface SqlRowUpdatingEventArgs$instance extends SqlRowUpdatingEventArgs$protected, RowUpdatingEventArgs {
|
|
1290
|
+
Command: SqlCommand;
|
|
1205
1291
|
}
|
|
1206
1292
|
|
|
1207
1293
|
|
|
@@ -1212,13 +1298,19 @@ export const SqlRowUpdatingEventArgs: {
|
|
|
1212
1298
|
|
|
1213
1299
|
export type SqlRowUpdatingEventArgs = SqlRowUpdatingEventArgs$instance;
|
|
1214
1300
|
|
|
1215
|
-
export
|
|
1216
|
-
readonly
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1301
|
+
export abstract class SqlTransaction$protected {
|
|
1302
|
+
protected readonly DbConnection: DbConnection;
|
|
1303
|
+
protected Dispose(disposing: boolean): void;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
|
|
1307
|
+
export interface SqlTransaction$instance extends SqlTransaction$protected, DbTransaction {
|
|
1308
|
+
readonly Connection: SqlConnection;
|
|
1309
|
+
readonly IsolationLevel: IsolationLevel;
|
|
1310
|
+
Commit(): void;
|
|
1311
|
+
Rollback(): void;
|
|
1312
|
+
Rollback(transactionName: string): void;
|
|
1313
|
+
Save(savePointName: string): void;
|
|
1222
1314
|
}
|
|
1223
1315
|
|
|
1224
1316
|
|
|
@@ -1230,21 +1322,21 @@ export const SqlTransaction: {
|
|
|
1230
1322
|
export type SqlTransaction = SqlTransaction$instance;
|
|
1231
1323
|
|
|
1232
1324
|
export abstract class SqlClientMetaDataCollectionNames$instance {
|
|
1233
|
-
static readonly
|
|
1234
|
-
static readonly
|
|
1235
|
-
static readonly
|
|
1236
|
-
static readonly
|
|
1237
|
-
static readonly
|
|
1238
|
-
static readonly
|
|
1239
|
-
static readonly
|
|
1240
|
-
static readonly
|
|
1241
|
-
static readonly
|
|
1242
|
-
static readonly
|
|
1243
|
-
static readonly
|
|
1244
|
-
static readonly
|
|
1245
|
-
static readonly
|
|
1246
|
-
static readonly
|
|
1247
|
-
static readonly
|
|
1325
|
+
static readonly AllColumns: string;
|
|
1326
|
+
static readonly Columns: string;
|
|
1327
|
+
static readonly ColumnSetColumns: string;
|
|
1328
|
+
static readonly Databases: string;
|
|
1329
|
+
static readonly ForeignKeys: string;
|
|
1330
|
+
static readonly IndexColumns: string;
|
|
1331
|
+
static readonly Indexes: string;
|
|
1332
|
+
static readonly ProcedureParameters: string;
|
|
1333
|
+
static readonly Procedures: string;
|
|
1334
|
+
static readonly StructuredTypeMembers: string;
|
|
1335
|
+
static readonly Tables: string;
|
|
1336
|
+
static readonly UserDefinedTypes: string;
|
|
1337
|
+
static readonly Users: string;
|
|
1338
|
+
static readonly ViewColumns: string;
|
|
1339
|
+
static readonly Views: string;
|
|
1248
1340
|
}
|
|
1249
1341
|
|
|
1250
1342
|
|