@tsonic/efcore-sqlserver 10.0.2 → 10.0.7
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/internal/index.d.ts +119 -85
- package/Azure.Core/internal/index.d.ts +151 -92
- package/Azure.Core.Cryptography/internal/index.d.ts +10 -6
- package/Azure.Core.Diagnostics/internal/index.d.ts +12 -12
- package/Azure.Core.Extensions/internal/index.d.ts +12 -4
- package/Azure.Core.GeoJson/internal/index.d.ts +102 -42
- package/Azure.Core.Pipeline/internal/index.d.ts +75 -59
- package/Azure.Core.Serialization/internal/index.d.ts +29 -20
- package/Azure.Identity/internal/index.d.ts +265 -118
- package/Azure.Messaging/internal/index.d.ts +16 -16
- package/Microsoft.Data/internal/index.d.ts +9 -6
- package/Microsoft.Data.Sql/internal/index.d.ts +9 -5
- package/Microsoft.Data.SqlClient/internal/index.d.ts +272 -172
- package/Microsoft.Data.SqlClient.DataClassification/internal/index.d.ts +20 -10
- package/Microsoft.Data.SqlClient.Diagnostics/internal/index.d.ts +157 -52
- package/Microsoft.Data.SqlClient.Server/internal/index.d.ts +11 -5
- package/Microsoft.Data.SqlTypes/internal/index.d.ts +23 -10
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +333 -333
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +9 -7
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +35 -16
- package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +20 -6
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +135 -98
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +57 -57
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +20 -8
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +29 -23
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/internal/index.d.ts +4 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/internal/index.d.ts +28 -28
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +43 -35
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/internal/index.d.ts +22 -22
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/index.d.ts +15 -11
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +34 -24
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/index.d.ts +343 -226
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +18 -17
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/index.d.ts +19 -11
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +187 -211
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.d.ts +50 -41
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/index.d.ts +38 -25
- package/Microsoft.EntityFrameworkCore.d.ts +3 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +7 -7
- package/Microsoft.Extensions.DependencyInjection.d.ts +3 -0
- package/Microsoft.Identity.Client/internal/index.d.ts +377 -263
- package/Microsoft.Identity.Client.Advanced/internal/index.d.ts +4 -4
- package/Microsoft.Identity.Client.AppConfig/internal/index.d.ts +7 -4
- package/Microsoft.Identity.Client.AuthScheme/internal/index.d.ts +5 -3
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/index.d.ts +3 -1
- package/Microsoft.Identity.Client.Cache/internal/index.d.ts +4 -2
- package/Microsoft.Identity.Client.Extensibility/internal/index.d.ts +28 -19
- package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +34 -18
- package/Microsoft.Identity.Client.Kerberos/internal/index.d.ts +5 -3
- package/Microsoft.Identity.Client.ManagedIdentity/internal/index.d.ts +2 -2
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/index.d.ts +5 -4
- package/Microsoft.Identity.Client.RP/internal/index.d.ts +3 -3
- package/Microsoft.Identity.Client.Region/internal/index.d.ts +2 -2
- package/Microsoft.Identity.Client.SSHCertificates/internal/index.d.ts +2 -2
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/internal/index.d.ts +4 -2
- package/Microsoft.Identity.Client.Utils/internal/index.d.ts +6 -5
- package/Microsoft.Identity.Client.Utils.Windows/internal/index.d.ts +2 -2
- package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +29 -19
- package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +41 -33
- package/Microsoft.IdentityModel.Logging/internal/index.d.ts +25 -16
- package/Microsoft.IdentityModel.Protocols/internal/index.d.ts +59 -32
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +12 -7
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.d.ts +83 -64
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/index.d.ts +6 -4
- package/Microsoft.IdentityModel.Tokens/internal/index.d.ts +316 -191
- package/Microsoft.IdentityModel.Tokens.Configuration/internal/index.d.ts +7 -5
- package/Microsoft.IdentityModel.Tokens.d.ts +3 -0
- package/Microsoft.SqlServer.Server/internal/index.d.ts +21 -6
- package/System/internal/index.d.ts +19 -17
- package/System.ClientModel/internal/index.d.ts +54 -43
- package/System.ClientModel.Primitives/internal/index.d.ts +220 -177
- package/System.ClientModel.Primitives.d.ts +3 -0
- package/System.Configuration/internal/index.d.ts +529 -340
- package/System.Configuration.Internal/internal/index.d.ts +33 -8
- package/System.Configuration.Provider/internal/index.d.ts +20 -11
- package/System.Diagnostics/internal/index.d.ts +2 -2
- package/System.Drawing.Configuration/internal/index.d.ts +7 -9
- package/System.IdentityModel.Tokens.Jwt/internal/index.d.ts +102 -68
- package/System.Security.Cryptography/internal/index.d.ts +2 -2
- package/System.Text.Json.Serialization/internal/index.d.ts +7 -5
- package/__internal/extensions/index.d.ts +1004 -53
- package/package.json +5 -5
|
@@ -13,27 +13,27 @@ import type { SqlNotificationRequest } from "../../Microsoft.Data.Sql/internal/i
|
|
|
13
13
|
import type { SensitivityClassification } from "../../Microsoft.Data.SqlClient.DataClassification/internal/index.js";
|
|
14
14
|
import type { SqlJson, SqlVector_1 } from "../../Microsoft.Data.SqlTypes/internal/index.js";
|
|
15
15
|
import type { DeviceCodeResult } from "../../Microsoft.Identity.Client/internal/index.js";
|
|
16
|
-
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
17
|
-
import type {
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import type {
|
|
21
|
-
import * as System_ComponentModel_Internal from "@tsonic/dotnet/System.ComponentModel.js";
|
|
22
|
-
import type { IComponent, ICustomTypeDescriptor } from "@tsonic/dotnet/System.ComponentModel.js";
|
|
23
|
-
import * as System_Data_Common_Internal from "@tsonic/dotnet/System.Data.Common.js";
|
|
24
|
-
import type { CatalogLocation, DataTableMapping, DbBatch, DbBatchCommand, DbBatchCommandCollection, DbColumn, DbCommand, DbCommandBuilder, DbConnection, DbConnectionStringBuilder, DbDataAdapter, DbDataReader, DbDataSourceEnumerator, DbException, DbParameter, DbParameterCollection, DbProviderFactory, DbTransaction, IDbColumnSchemaGenerator, RowUpdatedEventArgs, RowUpdatingEventArgs } from "@tsonic/dotnet/System.Data.Common.js";
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import type {
|
|
28
|
-
import type { Stream, TextReader } from "@tsonic/dotnet/System.IO.js";
|
|
29
|
-
import * as
|
|
30
|
-
import type {
|
|
31
|
-
import
|
|
32
|
-
import type {
|
|
33
|
-
import type {
|
|
34
|
-
import type {
|
|
35
|
-
import
|
|
36
|
-
import type {
|
|
16
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
17
|
+
import type { ICollection_1, IDictionary_2, IEnumerable_1, IEnumerator_1, IList_1, List_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
18
|
+
import type { ReadOnlyCollection_1 } from "@tsonic/dotnet/System.Collections.ObjectModel/internal/index.js";
|
|
19
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
20
|
+
import type { CollectionBase, ICollection, IDictionary, IEnumerable, IEnumerator, IList } from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
21
|
+
import * as System_ComponentModel_Internal from "@tsonic/dotnet/System.ComponentModel/internal/index.js";
|
|
22
|
+
import type { IComponent, ICustomTypeDescriptor } from "@tsonic/dotnet/System.ComponentModel/internal/index.js";
|
|
23
|
+
import * as System_Data_Common_Internal from "@tsonic/dotnet/System.Data.Common/internal/index.js";
|
|
24
|
+
import type { CatalogLocation, DataTableMapping, DbBatch, DbBatchCommand, DbBatchCommandCollection, DbColumn, DbCommand, DbCommandBuilder, DbConnection, DbConnectionStringBuilder, DbDataAdapter, DbDataReader, DbDataSourceEnumerator, DbException, DbParameter, DbParameterCollection, DbProviderFactory, DbTransaction, IDbColumnSchemaGenerator, RowUpdatedEventArgs, RowUpdatingEventArgs } from "@tsonic/dotnet/System.Data.Common/internal/index.js";
|
|
25
|
+
import type { SqlBinary, SqlBoolean, SqlByte, SqlBytes, SqlChars, SqlCompareOptions, SqlDateTime, SqlDecimal, SqlDouble, SqlGuid, SqlInt16, SqlInt32, SqlInt64, SqlMoney, SqlSingle, SqlString, SqlXml } from "@tsonic/dotnet/System.Data.SqlTypes/internal/index.js";
|
|
26
|
+
import * as System_Data_Internal from "@tsonic/dotnet/System.Data/internal/index.js";
|
|
27
|
+
import type { CommandBehavior, CommandType, ConnectionState, DataRow, DataRowState, DataRowVersion, DataTable, DbType, IDataAdapter, IDataParameter, IDataParameterCollection, IDataReader, IDataRecord, IDbCommand, IDbConnection, IDbDataAdapter, IDbDataParameter, IDbTransaction, IsolationLevel, ParameterDirection, SqlDbType, StatementCompletedEventHandler, StatementType, UpdateRowSource } from "@tsonic/dotnet/System.Data/internal/index.js";
|
|
28
|
+
import type { Stream, TextReader } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
29
|
+
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
30
|
+
import type { ISerializable, SerializationInfo, StreamingContext } from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
31
|
+
import type { SecureString } from "@tsonic/dotnet/System.Security/internal/index.js";
|
|
32
|
+
import type { Task, Task_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
33
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
34
|
+
import type { XmlReader } from "@tsonic/dotnet/System.Xml/internal/index.js";
|
|
35
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
36
|
+
import type { Array as ClrArray, AsyncCallback, Boolean as ClrBoolean, Byte, Char, DateTime, DateTimeOffset, Decimal, Double, Enum, EventArgs, EventHandler_1, Exception, Func_1, Func_2, Func_3, Func_4, Guid, IAsyncDisposable, IAsyncResult, ICloneable, IComparable, IConvertible, IDisposable, IFormattable, Int16, Int32, Int64, IntPtr, ISpanFormattable, MulticastDelegate, Nullable_1, Object as ClrObject, Predicate_1, Single, String as ClrString, TimeSpan, Type, Uri, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
37
37
|
|
|
38
38
|
export enum ApplicationIntent {
|
|
39
39
|
ReadWrite = 0,
|
|
@@ -178,18 +178,20 @@ export type SqlRowUpdatingEventHandler = (sender: unknown, e: SqlRowUpdatingEven
|
|
|
178
178
|
|
|
179
179
|
|
|
180
180
|
export interface ActiveDirectoryAuthenticationProvider$instance extends SqlAuthenticationProvider {
|
|
181
|
-
|
|
181
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_ActiveDirectoryAuthenticationProvider: never;
|
|
182
|
+
|
|
183
|
+
AcquireTokenAsync(parameters: SqlAuthenticationParameters): Task_1<SqlAuthenticationToken>;
|
|
182
184
|
BeforeLoad(authentication: SqlAuthenticationMethod): void;
|
|
183
185
|
BeforeUnload(authentication: SqlAuthenticationMethod): void;
|
|
184
186
|
IsSupported(authentication: SqlAuthenticationMethod): boolean;
|
|
185
|
-
SetAcquireAuthorizationCodeAsyncCallback(acquireAuthorizationCodeAsyncCallback:
|
|
186
|
-
SetDeviceCodeFlowCallback(deviceCodeFlowCallbackMethod:
|
|
187
|
+
SetAcquireAuthorizationCodeAsyncCallback(acquireAuthorizationCodeAsyncCallback: Func_4<Uri, Uri, CancellationToken, Task_1<Uri>>): void;
|
|
188
|
+
SetDeviceCodeFlowCallback(deviceCodeFlowCallbackMethod: Func_2<DeviceCodeResult, Task>): void;
|
|
187
189
|
}
|
|
188
190
|
|
|
189
191
|
|
|
190
192
|
export const ActiveDirectoryAuthenticationProvider: {
|
|
191
193
|
new(): ActiveDirectoryAuthenticationProvider;
|
|
192
|
-
new(deviceCodeFlowCallbackMethod:
|
|
194
|
+
new(deviceCodeFlowCallbackMethod: Func_2<DeviceCodeResult, Task>, applicationClientId: string): ActiveDirectoryAuthenticationProvider;
|
|
193
195
|
new(applicationClientId: string): ActiveDirectoryAuthenticationProvider;
|
|
194
196
|
ClearUserTokenCache(): void;
|
|
195
197
|
};
|
|
@@ -198,18 +200,21 @@ export const ActiveDirectoryAuthenticationProvider: {
|
|
|
198
200
|
export type ActiveDirectoryAuthenticationProvider = ActiveDirectoryAuthenticationProvider$instance;
|
|
199
201
|
|
|
200
202
|
export interface SqlAuthenticationInitializer$instance {
|
|
203
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlAuthenticationInitializer: never;
|
|
204
|
+
|
|
201
205
|
Initialize(): void;
|
|
202
206
|
}
|
|
203
207
|
|
|
204
208
|
|
|
205
|
-
export const SqlAuthenticationInitializer: {
|
|
206
|
-
new(): SqlAuthenticationInitializer;
|
|
209
|
+
export const SqlAuthenticationInitializer: (abstract new() => SqlAuthenticationInitializer) & {
|
|
207
210
|
};
|
|
208
211
|
|
|
209
212
|
|
|
210
213
|
export type SqlAuthenticationInitializer = SqlAuthenticationInitializer$instance;
|
|
211
214
|
|
|
212
215
|
export interface SqlAuthenticationParameters$instance {
|
|
216
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlAuthenticationParameters: never;
|
|
217
|
+
|
|
213
218
|
readonly AuthenticationMethod: SqlAuthenticationMethod;
|
|
214
219
|
readonly Authority: string;
|
|
215
220
|
readonly ConnectionId: Guid;
|
|
@@ -222,23 +227,23 @@ export interface SqlAuthenticationParameters$instance {
|
|
|
222
227
|
}
|
|
223
228
|
|
|
224
229
|
|
|
225
|
-
export const SqlAuthenticationParameters: {
|
|
226
|
-
new(authenticationMethod: SqlAuthenticationMethod, serverName: string, databaseName: string, resource: string, authority: string, userId: string, password: string, connectionId: Guid, connectionTimeout: int): SqlAuthenticationParameters;
|
|
230
|
+
export const SqlAuthenticationParameters: (abstract new(authenticationMethod: SqlAuthenticationMethod, serverName: string, databaseName: string, resource: string, authority: string, userId: string, password: string, connectionId: Guid, connectionTimeout: int) => SqlAuthenticationParameters) & {
|
|
227
231
|
};
|
|
228
232
|
|
|
229
233
|
|
|
230
234
|
export type SqlAuthenticationParameters = SqlAuthenticationParameters$instance;
|
|
231
235
|
|
|
232
236
|
export interface SqlAuthenticationProvider$instance {
|
|
233
|
-
|
|
237
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlAuthenticationProvider: never;
|
|
238
|
+
|
|
239
|
+
AcquireTokenAsync(parameters: SqlAuthenticationParameters): Task_1<SqlAuthenticationToken>;
|
|
234
240
|
BeforeLoad(authenticationMethod: SqlAuthenticationMethod): void;
|
|
235
241
|
BeforeUnload(authenticationMethod: SqlAuthenticationMethod): void;
|
|
236
242
|
IsSupported(authenticationMethod: SqlAuthenticationMethod): boolean;
|
|
237
243
|
}
|
|
238
244
|
|
|
239
245
|
|
|
240
|
-
export const SqlAuthenticationProvider: {
|
|
241
|
-
new(): SqlAuthenticationProvider;
|
|
246
|
+
export const SqlAuthenticationProvider: (abstract new() => SqlAuthenticationProvider) & {
|
|
242
247
|
GetProvider(authenticationMethod: SqlAuthenticationMethod): SqlAuthenticationProvider;
|
|
243
248
|
SetProvider(authenticationMethod: SqlAuthenticationMethod, provider: SqlAuthenticationProvider): boolean;
|
|
244
249
|
};
|
|
@@ -247,6 +252,8 @@ export const SqlAuthenticationProvider: {
|
|
|
247
252
|
export type SqlAuthenticationProvider = SqlAuthenticationProvider$instance;
|
|
248
253
|
|
|
249
254
|
export interface SqlAuthenticationToken$instance {
|
|
255
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlAuthenticationToken: never;
|
|
256
|
+
|
|
250
257
|
readonly AccessToken: string;
|
|
251
258
|
readonly ExpiresOn: DateTimeOffset;
|
|
252
259
|
}
|
|
@@ -259,30 +266,31 @@ export const SqlAuthenticationToken: {
|
|
|
259
266
|
|
|
260
267
|
export type SqlAuthenticationToken = SqlAuthenticationToken$instance;
|
|
261
268
|
|
|
262
|
-
export
|
|
263
|
-
|
|
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
|
-
}
|
|
269
|
+
export interface SqlBatch$instance extends DbBatch {
|
|
270
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlBatch: never;
|
|
270
271
|
|
|
272
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
273
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
271
274
|
|
|
272
|
-
export interface SqlBatch$instance extends SqlBatch$protected, DbBatch {
|
|
273
275
|
readonly BatchCommands: SqlBatchCommandCollection;
|
|
274
|
-
readonly Commands:
|
|
276
|
+
readonly Commands: List_1<SqlBatchCommand>;
|
|
275
277
|
Connection: SqlConnection;
|
|
278
|
+
readonly DbBatchCommands: DbBatchCommandCollection;
|
|
279
|
+
DbConnection: DbConnection;
|
|
280
|
+
DbTransaction: DbTransaction;
|
|
276
281
|
Timeout: int;
|
|
277
282
|
Transaction: SqlTransaction;
|
|
278
283
|
Cancel(): void;
|
|
284
|
+
CreateDbBatchCommand(): DbBatchCommand;
|
|
279
285
|
Dispose(): void;
|
|
286
|
+
ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
287
|
+
ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task_1<DbDataReader>;
|
|
280
288
|
ExecuteNonQuery(): int;
|
|
281
|
-
ExecuteNonQueryAsync(cancellationToken?: CancellationToken):
|
|
289
|
+
ExecuteNonQueryAsync(cancellationToken?: CancellationToken): Task_1<System_Internal.Int32>;
|
|
282
290
|
ExecuteReader(): SqlDataReader;
|
|
283
|
-
ExecuteReaderAsync(cancellationToken?: CancellationToken):
|
|
291
|
+
ExecuteReaderAsync(cancellationToken?: CancellationToken): Task_1<SqlDataReader>;
|
|
284
292
|
ExecuteScalar(): unknown;
|
|
285
|
-
ExecuteScalarAsync(cancellationToken?: CancellationToken):
|
|
293
|
+
ExecuteScalarAsync(cancellationToken?: CancellationToken): Task_1<unknown>;
|
|
286
294
|
Prepare(): void;
|
|
287
295
|
PrepareAsync(cancellationToken?: CancellationToken): Task;
|
|
288
296
|
}
|
|
@@ -296,16 +304,14 @@ export const SqlBatch: {
|
|
|
296
304
|
|
|
297
305
|
export type SqlBatch = SqlBatch$instance;
|
|
298
306
|
|
|
299
|
-
export
|
|
300
|
-
|
|
301
|
-
}
|
|
302
|
-
|
|
307
|
+
export interface SqlBatchCommand$instance extends DbBatchCommand {
|
|
308
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlBatchCommand: never;
|
|
303
309
|
|
|
304
|
-
export interface SqlBatchCommand$instance extends SqlBatchCommand$protected, DbBatchCommand {
|
|
305
310
|
ColumnEncryptionSetting: SqlCommandColumnEncryptionSetting;
|
|
306
311
|
CommandBehavior: CommandBehavior;
|
|
307
312
|
CommandText: string;
|
|
308
313
|
CommandType: CommandType;
|
|
314
|
+
readonly DbParameterCollection: DbParameterCollection;
|
|
309
315
|
readonly Parameters: SqlParameterCollection;
|
|
310
316
|
readonly RecordsAffected: int;
|
|
311
317
|
}
|
|
@@ -313,22 +319,23 @@ export interface SqlBatchCommand$instance extends SqlBatchCommand$protected, DbB
|
|
|
313
319
|
|
|
314
320
|
export const SqlBatchCommand: {
|
|
315
321
|
new(): SqlBatchCommand;
|
|
316
|
-
new(commandText: string, commandType: CommandType, parameters:
|
|
322
|
+
new(commandText: string, commandType: CommandType, parameters: IEnumerable_1<SqlParameter>, columnEncryptionSetting: SqlCommandColumnEncryptionSetting): SqlBatchCommand;
|
|
317
323
|
};
|
|
318
324
|
|
|
319
325
|
|
|
320
326
|
export type SqlBatchCommand = SqlBatchCommand$instance;
|
|
321
327
|
|
|
322
|
-
export
|
|
323
|
-
|
|
324
|
-
protected SetBatchCommand(index: int, batchCommand: DbBatchCommand): void;
|
|
325
|
-
}
|
|
328
|
+
export interface SqlBatchCommandCollection$instance extends DbBatchCommandCollection {
|
|
329
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlBatchCommandCollection: never;
|
|
326
330
|
|
|
331
|
+
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
332
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
333
|
+
readonly __tsonic_iface_System_Collections_Generic_IList_1: never;
|
|
334
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
327
335
|
|
|
328
|
-
export interface SqlBatchCommandCollection$instance extends SqlBatchCommandCollection$protected, DbBatchCommandCollection {
|
|
329
336
|
readonly Count: int;
|
|
330
337
|
readonly IsReadOnly: boolean;
|
|
331
|
-
|
|
338
|
+
[index: number]: SqlBatchCommand;
|
|
332
339
|
Add(item: SqlBatchCommand): void;
|
|
333
340
|
Add(item: DbBatchCommand): void;
|
|
334
341
|
Clear(): void;
|
|
@@ -336,7 +343,8 @@ export interface SqlBatchCommandCollection$instance extends SqlBatchCommandColle
|
|
|
336
343
|
Contains(item: DbBatchCommand): boolean;
|
|
337
344
|
CopyTo(array: SqlBatchCommand[], arrayIndex: int): void;
|
|
338
345
|
CopyTo(array: DbBatchCommand[], arrayIndex: int): void;
|
|
339
|
-
|
|
346
|
+
GetBatchCommand(index: int): DbBatchCommand;
|
|
347
|
+
GetEnumerator(): IEnumerator_1<DbBatchCommand>;
|
|
340
348
|
IndexOf(item: SqlBatchCommand): int;
|
|
341
349
|
IndexOf(item: DbBatchCommand): int;
|
|
342
350
|
Insert(index: int, item: SqlBatchCommand): void;
|
|
@@ -344,6 +352,7 @@ export interface SqlBatchCommandCollection$instance extends SqlBatchCommandColle
|
|
|
344
352
|
Remove(item: SqlBatchCommand): boolean;
|
|
345
353
|
Remove(item: DbBatchCommand): boolean;
|
|
346
354
|
RemoveAt(index: int): void;
|
|
355
|
+
SetBatchCommand(index: int, batchCommand: DbBatchCommand): void;
|
|
347
356
|
}
|
|
348
357
|
|
|
349
358
|
|
|
@@ -355,6 +364,10 @@ export const SqlBatchCommandCollection: {
|
|
|
355
364
|
export type SqlBatchCommandCollection = SqlBatchCommandCollection$instance;
|
|
356
365
|
|
|
357
366
|
export interface SqlBulkCopy$instance {
|
|
367
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlBulkCopy: never;
|
|
368
|
+
|
|
369
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
370
|
+
|
|
358
371
|
BatchSize: int;
|
|
359
372
|
BulkCopyTimeout: int;
|
|
360
373
|
readonly ColumnMappings: SqlBulkCopyColumnMappingCollection;
|
|
@@ -394,6 +407,8 @@ export const SqlBulkCopy: {
|
|
|
394
407
|
export type SqlBulkCopy = SqlBulkCopy$instance;
|
|
395
408
|
|
|
396
409
|
export interface SqlBulkCopyColumnMapping$instance {
|
|
410
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlBulkCopyColumnMapping: never;
|
|
411
|
+
|
|
397
412
|
DestinationColumn: string;
|
|
398
413
|
DestinationOrdinal: int;
|
|
399
414
|
SourceColumn: string;
|
|
@@ -413,7 +428,13 @@ export const SqlBulkCopyColumnMapping: {
|
|
|
413
428
|
export type SqlBulkCopyColumnMapping = SqlBulkCopyColumnMapping$instance;
|
|
414
429
|
|
|
415
430
|
export interface SqlBulkCopyColumnMappingCollection$instance extends CollectionBase {
|
|
416
|
-
readonly
|
|
431
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlBulkCopyColumnMappingCollection: never;
|
|
432
|
+
|
|
433
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
434
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
435
|
+
readonly __tsonic_iface_System_Collections_IList: never;
|
|
436
|
+
|
|
437
|
+
readonly [index: number]: SqlBulkCopyColumnMapping;
|
|
417
438
|
Add(bulkCopyColumnMapping: SqlBulkCopyColumnMapping): SqlBulkCopyColumnMapping;
|
|
418
439
|
Add(sourceColumnIndex: int, destinationColumnIndex: int): SqlBulkCopyColumnMapping;
|
|
419
440
|
Add(sourceColumnIndex: int, destinationColumn: string): SqlBulkCopyColumnMapping;
|
|
@@ -430,13 +451,14 @@ export interface SqlBulkCopyColumnMappingCollection$instance extends CollectionB
|
|
|
430
451
|
|
|
431
452
|
|
|
432
453
|
export const SqlBulkCopyColumnMappingCollection: {
|
|
433
|
-
new(): SqlBulkCopyColumnMappingCollection;
|
|
434
454
|
};
|
|
435
455
|
|
|
436
456
|
|
|
437
457
|
export type SqlBulkCopyColumnMappingCollection = SqlBulkCopyColumnMappingCollection$instance;
|
|
438
458
|
|
|
439
459
|
export interface SqlBulkCopyColumnOrderHint$instance {
|
|
460
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlBulkCopyColumnOrderHint: never;
|
|
461
|
+
|
|
440
462
|
Column: string;
|
|
441
463
|
SortOrder: SortOrder;
|
|
442
464
|
}
|
|
@@ -450,7 +472,13 @@ export const SqlBulkCopyColumnOrderHint: {
|
|
|
450
472
|
export type SqlBulkCopyColumnOrderHint = SqlBulkCopyColumnOrderHint$instance;
|
|
451
473
|
|
|
452
474
|
export interface SqlBulkCopyColumnOrderHintCollection$instance extends CollectionBase {
|
|
453
|
-
readonly
|
|
475
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlBulkCopyColumnOrderHintCollection: never;
|
|
476
|
+
|
|
477
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
478
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
479
|
+
readonly __tsonic_iface_System_Collections_IList: never;
|
|
480
|
+
|
|
481
|
+
readonly [index: number]: SqlBulkCopyColumnOrderHint;
|
|
454
482
|
Add(columnOrderHint: SqlBulkCopyColumnOrderHint): SqlBulkCopyColumnOrderHint;
|
|
455
483
|
Add(column: string, sortOrder: SortOrder): SqlBulkCopyColumnOrderHint;
|
|
456
484
|
Clear(): void;
|
|
@@ -471,6 +499,8 @@ export const SqlBulkCopyColumnOrderHintCollection: {
|
|
|
471
499
|
export type SqlBulkCopyColumnOrderHintCollection = SqlBulkCopyColumnOrderHintCollection$instance;
|
|
472
500
|
|
|
473
501
|
export interface SqlClientFactory$instance extends DbProviderFactory {
|
|
502
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlClientFactory: never;
|
|
503
|
+
|
|
474
504
|
readonly CanCreateBatch: boolean;
|
|
475
505
|
CreateBatch(): DbBatch;
|
|
476
506
|
CreateBatchCommand(): DbBatchCommand;
|
|
@@ -485,7 +515,6 @@ export interface SqlClientFactory$instance extends DbProviderFactory {
|
|
|
485
515
|
|
|
486
516
|
|
|
487
517
|
export const SqlClientFactory: {
|
|
488
|
-
new(): SqlClientFactory;
|
|
489
518
|
readonly Instance: SqlClientFactory;
|
|
490
519
|
};
|
|
491
520
|
|
|
@@ -493,6 +522,8 @@ export const SqlClientFactory: {
|
|
|
493
522
|
export type SqlClientFactory = SqlClientFactory$instance;
|
|
494
523
|
|
|
495
524
|
export interface SqlClientLogger$instance {
|
|
525
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlClientLogger: never;
|
|
526
|
+
|
|
496
527
|
readonly IsLoggingEnabled: boolean;
|
|
497
528
|
LogAssert(value: boolean, type: string, method: string, message: string): boolean;
|
|
498
529
|
LogError(type: string, method: string, message: string): void;
|
|
@@ -509,6 +540,8 @@ export const SqlClientLogger: {
|
|
|
509
540
|
export type SqlClientLogger = SqlClientLogger$instance;
|
|
510
541
|
|
|
511
542
|
export interface SqlColumnEncryptionCertificateStoreProvider$instance extends SqlColumnEncryptionKeyStoreProvider {
|
|
543
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlColumnEncryptionCertificateStoreProvider: never;
|
|
544
|
+
|
|
512
545
|
DecryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, encryptedColumnEncryptionKey: byte[]): byte[];
|
|
513
546
|
EncryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, columnEncryptionKey: byte[]): byte[];
|
|
514
547
|
SignColumnMasterKeyMetadata(masterKeyPath: string, allowEnclaveComputations: boolean): byte[];
|
|
@@ -525,6 +558,8 @@ export const SqlColumnEncryptionCertificateStoreProvider: {
|
|
|
525
558
|
export type SqlColumnEncryptionCertificateStoreProvider = SqlColumnEncryptionCertificateStoreProvider$instance;
|
|
526
559
|
|
|
527
560
|
export interface SqlColumnEncryptionCngProvider$instance extends SqlColumnEncryptionKeyStoreProvider {
|
|
561
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlColumnEncryptionCngProvider: never;
|
|
562
|
+
|
|
528
563
|
DecryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, encryptedColumnEncryptionKey: byte[]): byte[];
|
|
529
564
|
EncryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, columnEncryptionKey: byte[]): byte[];
|
|
530
565
|
SignColumnMasterKeyMetadata(masterKeyPath: string, allowEnclaveComputations: boolean): byte[];
|
|
@@ -541,6 +576,8 @@ export const SqlColumnEncryptionCngProvider: {
|
|
|
541
576
|
export type SqlColumnEncryptionCngProvider = SqlColumnEncryptionCngProvider$instance;
|
|
542
577
|
|
|
543
578
|
export interface SqlColumnEncryptionCspProvider$instance extends SqlColumnEncryptionKeyStoreProvider {
|
|
579
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlColumnEncryptionCspProvider: never;
|
|
580
|
+
|
|
544
581
|
DecryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, encryptedColumnEncryptionKey: byte[]): byte[];
|
|
545
582
|
EncryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, columnEncryptionKey: byte[]): byte[];
|
|
546
583
|
SignColumnMasterKeyMetadata(masterKeyPath: string, allowEnclaveComputations: boolean): byte[];
|
|
@@ -557,7 +594,9 @@ export const SqlColumnEncryptionCspProvider: {
|
|
|
557
594
|
export type SqlColumnEncryptionCspProvider = SqlColumnEncryptionCspProvider$instance;
|
|
558
595
|
|
|
559
596
|
export interface SqlColumnEncryptionKeyStoreProvider$instance {
|
|
560
|
-
|
|
597
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlColumnEncryptionKeyStoreProvider: never;
|
|
598
|
+
|
|
599
|
+
ColumnEncryptionKeyCacheTtl: Nullable_1<TimeSpan>;
|
|
561
600
|
DecryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, encryptedColumnEncryptionKey: byte[]): byte[];
|
|
562
601
|
EncryptColumnEncryptionKey(masterKeyPath: string, encryptionAlgorithm: string, columnEncryptionKey: byte[]): byte[];
|
|
563
602
|
SignColumnMasterKeyMetadata(masterKeyPath: string, allowEnclaveComputations: boolean): byte[];
|
|
@@ -565,30 +604,29 @@ export interface SqlColumnEncryptionKeyStoreProvider$instance {
|
|
|
565
604
|
}
|
|
566
605
|
|
|
567
606
|
|
|
568
|
-
export const SqlColumnEncryptionKeyStoreProvider: {
|
|
569
|
-
new(): SqlColumnEncryptionKeyStoreProvider;
|
|
607
|
+
export const SqlColumnEncryptionKeyStoreProvider: (abstract new() => SqlColumnEncryptionKeyStoreProvider) & {
|
|
570
608
|
};
|
|
571
609
|
|
|
572
610
|
|
|
573
611
|
export type SqlColumnEncryptionKeyStoreProvider = SqlColumnEncryptionKeyStoreProvider$instance;
|
|
574
612
|
|
|
575
|
-
export
|
|
576
|
-
|
|
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
|
-
}
|
|
613
|
+
export interface SqlCommand$instance extends DbCommand {
|
|
614
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlCommand: never;
|
|
584
615
|
|
|
616
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
617
|
+
readonly __tsonic_iface_System_Data_IDbCommand: never;
|
|
618
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
619
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
620
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
585
621
|
|
|
586
|
-
export interface SqlCommand$instance extends SqlCommand$protected, DbCommand {
|
|
587
622
|
readonly ColumnEncryptionSetting: SqlCommandColumnEncryptionSetting;
|
|
588
623
|
CommandText: string;
|
|
589
624
|
CommandTimeout: int;
|
|
590
625
|
CommandType: CommandType;
|
|
591
626
|
Connection: SqlConnection;
|
|
627
|
+
DbConnection: DbConnection;
|
|
628
|
+
readonly DbParameterCollection: DbParameterCollection;
|
|
629
|
+
DbTransaction: DbTransaction;
|
|
592
630
|
DesignTimeVisible: boolean;
|
|
593
631
|
EnableOptimizedParameterBinding: boolean;
|
|
594
632
|
Notification: SqlNotificationRequest;
|
|
@@ -606,25 +644,29 @@ export interface SqlCommand$instance extends SqlCommand$protected, DbCommand {
|
|
|
606
644
|
BeginExecuteXmlReader(callback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
607
645
|
Cancel(): void;
|
|
608
646
|
Clone(): SqlCommand;
|
|
647
|
+
CreateDbParameter(): DbParameter;
|
|
609
648
|
CreateParameter(): SqlParameter;
|
|
649
|
+
Dispose(disposing: boolean): void;
|
|
610
650
|
EndExecuteNonQuery(asyncResult: IAsyncResult): int;
|
|
611
651
|
EndExecuteReader(asyncResult: IAsyncResult): SqlDataReader;
|
|
612
652
|
EndExecuteXmlReader(asyncResult: IAsyncResult): XmlReader;
|
|
653
|
+
ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
654
|
+
ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task_1<DbDataReader>;
|
|
613
655
|
ExecuteNonQuery(): int;
|
|
614
|
-
ExecuteNonQueryAsync(cancellationToken: CancellationToken):
|
|
656
|
+
ExecuteNonQueryAsync(cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
615
657
|
ExecuteReader(): SqlDataReader;
|
|
616
658
|
ExecuteReader(behavior: CommandBehavior): SqlDataReader;
|
|
617
|
-
ExecuteReaderAsync():
|
|
618
|
-
ExecuteReaderAsync(behavior: CommandBehavior):
|
|
619
|
-
ExecuteReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken):
|
|
620
|
-
ExecuteReaderAsync(cancellationToken: CancellationToken):
|
|
659
|
+
ExecuteReaderAsync(): Task_1<SqlDataReader>;
|
|
660
|
+
ExecuteReaderAsync(behavior: CommandBehavior): Task_1<SqlDataReader>;
|
|
661
|
+
ExecuteReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task_1<SqlDataReader>;
|
|
662
|
+
ExecuteReaderAsync(cancellationToken: CancellationToken): Task_1<SqlDataReader>;
|
|
621
663
|
ExecuteScalar(): unknown;
|
|
622
|
-
ExecuteScalarAsync(cancellationToken: CancellationToken):
|
|
664
|
+
ExecuteScalarAsync(cancellationToken: CancellationToken): Task_1<unknown>;
|
|
623
665
|
ExecuteXmlReader(): XmlReader;
|
|
624
|
-
ExecuteXmlReaderAsync():
|
|
625
|
-
ExecuteXmlReaderAsync(cancellationToken: CancellationToken):
|
|
666
|
+
ExecuteXmlReaderAsync(): Task_1<XmlReader>;
|
|
667
|
+
ExecuteXmlReaderAsync(cancellationToken: CancellationToken): Task_1<XmlReader>;
|
|
626
668
|
Prepare(): void;
|
|
627
|
-
RegisterColumnEncryptionKeyStoreProvidersOnCommand(customProviders:
|
|
669
|
+
RegisterColumnEncryptionKeyStoreProvidersOnCommand(customProviders: IDictionary_2<System_Internal.String, SqlColumnEncryptionKeyStoreProvider>): void;
|
|
628
670
|
ResetCommandTimeout(): void;
|
|
629
671
|
}
|
|
630
672
|
|
|
@@ -640,31 +682,32 @@ export const SqlCommand: {
|
|
|
640
682
|
|
|
641
683
|
export type SqlCommand = SqlCommand$instance;
|
|
642
684
|
|
|
643
|
-
export
|
|
644
|
-
|
|
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
|
-
}
|
|
685
|
+
export interface SqlCommandBuilder$instance extends DbCommandBuilder {
|
|
686
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlCommandBuilder: never;
|
|
652
687
|
|
|
688
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
689
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
653
690
|
|
|
654
|
-
export interface SqlCommandBuilder$instance extends SqlCommandBuilder$protected, DbCommandBuilder {
|
|
655
691
|
CatalogLocation: CatalogLocation;
|
|
656
692
|
CatalogSeparator: string;
|
|
657
693
|
DataAdapter: SqlDataAdapter;
|
|
658
694
|
QuotePrefix: string;
|
|
659
695
|
QuoteSuffix: string;
|
|
660
696
|
SchemaSeparator: string;
|
|
697
|
+
ApplyParameterInfo(parameter: DbParameter, datarow: DataRow, statementType: StatementType, whereClause: boolean): void;
|
|
661
698
|
GetDeleteCommand(): SqlCommand;
|
|
662
699
|
GetDeleteCommand(useColumnsForParameterNames: boolean): SqlCommand;
|
|
663
700
|
GetInsertCommand(): SqlCommand;
|
|
664
701
|
GetInsertCommand(useColumnsForParameterNames: boolean): SqlCommand;
|
|
702
|
+
GetParameterName(parameterOrdinal: int): string;
|
|
703
|
+
GetParameterName(parameterName: string): string;
|
|
704
|
+
GetParameterPlaceholder(parameterOrdinal: int): string;
|
|
705
|
+
GetSchemaTable(srcCommand: DbCommand): DataTable;
|
|
665
706
|
GetUpdateCommand(): SqlCommand;
|
|
666
707
|
GetUpdateCommand(useColumnsForParameterNames: boolean): SqlCommand;
|
|
708
|
+
InitializeCommand(command: DbCommand): DbCommand;
|
|
667
709
|
QuoteIdentifier(unquotedIdentifier: string): string;
|
|
710
|
+
SetRowUpdatingHandler(adapter: DbDataAdapter): void;
|
|
668
711
|
UnquoteIdentifier(quotedIdentifier: string): string;
|
|
669
712
|
}
|
|
670
713
|
|
|
@@ -679,6 +722,8 @@ export const SqlCommandBuilder: {
|
|
|
679
722
|
export type SqlCommandBuilder = SqlCommandBuilder$instance;
|
|
680
723
|
|
|
681
724
|
export interface SqlConfigurableRetryFactory$instance {
|
|
725
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlConfigurableRetryFactory: never;
|
|
726
|
+
|
|
682
727
|
}
|
|
683
728
|
|
|
684
729
|
|
|
@@ -693,22 +738,21 @@ export const SqlConfigurableRetryFactory: {
|
|
|
693
738
|
|
|
694
739
|
export type SqlConfigurableRetryFactory = SqlConfigurableRetryFactory$instance;
|
|
695
740
|
|
|
696
|
-
export
|
|
697
|
-
|
|
698
|
-
protected CreateDbBatch(): DbBatch;
|
|
699
|
-
protected CreateDbCommand(): DbCommand;
|
|
700
|
-
protected Dispose(disposing: boolean): void;
|
|
701
|
-
}
|
|
741
|
+
export interface SqlConnection$instance extends DbConnection {
|
|
742
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlConnection: never;
|
|
702
743
|
|
|
744
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
745
|
+
readonly __tsonic_iface_System_Data_IDbConnection: never;
|
|
746
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
747
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
748
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
703
749
|
|
|
704
|
-
export interface SqlConnection$instance extends SqlConnection$protected, DbConnection {
|
|
705
750
|
AccessToken: string;
|
|
706
|
-
AccessTokenCallback:
|
|
751
|
+
AccessTokenCallback: Func_3<SqlAuthenticationParameters, CancellationToken, Task_1<SqlAuthenticationToken>>;
|
|
707
752
|
readonly CanCreateBatch: boolean;
|
|
708
753
|
readonly ClientConnectionId: Guid;
|
|
709
754
|
readonly CommandTimeout: int;
|
|
710
|
-
|
|
711
|
-
set ConnectionString(value: string);
|
|
755
|
+
ConnectionString: string;
|
|
712
756
|
readonly ConnectionTimeout: int;
|
|
713
757
|
Credential: SqlCredential;
|
|
714
758
|
readonly Database: string;
|
|
@@ -721,6 +765,7 @@ export interface SqlConnection$instance extends SqlConnection$protected, DbConne
|
|
|
721
765
|
readonly State: ConnectionState;
|
|
722
766
|
StatisticsEnabled: boolean;
|
|
723
767
|
readonly WorkstationId: string;
|
|
768
|
+
BeginDbTransaction(isolationLevel: IsolationLevel): DbTransaction;
|
|
724
769
|
BeginTransaction(): SqlTransaction;
|
|
725
770
|
BeginTransaction(iso: IsolationLevel): SqlTransaction;
|
|
726
771
|
BeginTransaction(iso: IsolationLevel, transactionName: string): SqlTransaction;
|
|
@@ -728,6 +773,9 @@ export interface SqlConnection$instance extends SqlConnection$protected, DbConne
|
|
|
728
773
|
ChangeDatabase(database: string): void;
|
|
729
774
|
Close(): void;
|
|
730
775
|
CreateCommand(): SqlCommand;
|
|
776
|
+
CreateDbBatch(): DbBatch;
|
|
777
|
+
CreateDbCommand(): DbCommand;
|
|
778
|
+
Dispose(disposing: boolean): void;
|
|
731
779
|
GetSchema(): DataTable;
|
|
732
780
|
GetSchema(collectionName: string): DataTable;
|
|
733
781
|
GetSchema(collectionName: string, restrictionValues: string[]): DataTable;
|
|
@@ -735,9 +783,9 @@ export interface SqlConnection$instance extends SqlConnection$protected, DbConne
|
|
|
735
783
|
Open(overrides: SqlConnectionOverrides): void;
|
|
736
784
|
OpenAsync(overrides: SqlConnectionOverrides, cancellationToken: CancellationToken): Task;
|
|
737
785
|
OpenAsync(cancellationToken: CancellationToken): Task;
|
|
738
|
-
RegisterColumnEncryptionKeyStoreProvidersOnConnection(customProviders:
|
|
786
|
+
RegisterColumnEncryptionKeyStoreProvidersOnConnection(customProviders: IDictionary_2<System_Internal.String, SqlColumnEncryptionKeyStoreProvider>): void;
|
|
739
787
|
ResetStatistics(): void;
|
|
740
|
-
RetrieveInternalInfo():
|
|
788
|
+
RetrieveInternalInfo(): IDictionary_2<System_Internal.String, unknown>;
|
|
741
789
|
RetrieveStatistics(): IDictionary;
|
|
742
790
|
}
|
|
743
791
|
|
|
@@ -748,21 +796,23 @@ export const SqlConnection: {
|
|
|
748
796
|
new(connectionString: string, credential: SqlCredential): SqlConnection;
|
|
749
797
|
ColumnEncryptionKeyCacheTtl: TimeSpan;
|
|
750
798
|
ColumnEncryptionQueryMetadataCacheEnabled: boolean;
|
|
751
|
-
readonly ColumnEncryptionTrustedMasterKeyPaths:
|
|
799
|
+
readonly ColumnEncryptionTrustedMasterKeyPaths: IDictionary_2<System_Internal.String, IList_1<System_Internal.String>>;
|
|
752
800
|
ChangePassword(connectionString: string, credential: SqlCredential, newSecurePassword: SecureString): void;
|
|
753
801
|
ChangePassword(connectionString: string, newPassword: string): void;
|
|
754
802
|
ClearAllPools(): void;
|
|
755
803
|
ClearPool(connection: SqlConnection): void;
|
|
756
|
-
RegisterColumnEncryptionKeyStoreProviders(customProviders:
|
|
804
|
+
RegisterColumnEncryptionKeyStoreProviders(customProviders: IDictionary_2<System_Internal.String, SqlColumnEncryptionKeyStoreProvider>): void;
|
|
757
805
|
};
|
|
758
806
|
|
|
759
807
|
|
|
760
808
|
export type SqlConnection = SqlConnection$instance;
|
|
761
809
|
|
|
762
810
|
export interface SqlConnectionEncryptOption$instance {
|
|
811
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlConnectionEncryptOption: never;
|
|
812
|
+
|
|
763
813
|
Equals(obj: unknown): boolean;
|
|
764
814
|
GetHashCode(): int;
|
|
765
|
-
ToString(): string
|
|
815
|
+
ToString(): string;
|
|
766
816
|
}
|
|
767
817
|
|
|
768
818
|
|
|
@@ -779,6 +829,13 @@ export const SqlConnectionEncryptOption: {
|
|
|
779
829
|
export type SqlConnectionEncryptOption = SqlConnectionEncryptOption$instance;
|
|
780
830
|
|
|
781
831
|
export interface SqlConnectionStringBuilder$instance extends DbConnectionStringBuilder {
|
|
832
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlConnectionStringBuilder: never;
|
|
833
|
+
|
|
834
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
835
|
+
readonly __tsonic_iface_System_Collections_IDictionary: never;
|
|
836
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
837
|
+
readonly __tsonic_iface_System_ComponentModel_ICustomTypeDescriptor: never;
|
|
838
|
+
|
|
782
839
|
ApplicationIntent: ApplicationIntent;
|
|
783
840
|
ApplicationName: string;
|
|
784
841
|
AttachDBFilename: string;
|
|
@@ -801,7 +858,7 @@ export interface SqlConnectionStringBuilder$instance extends DbConnectionStringB
|
|
|
801
858
|
IntegratedSecurity: boolean;
|
|
802
859
|
IPAddressPreference: SqlConnectionIPAddressPreference;
|
|
803
860
|
readonly IsFixedSize: boolean;
|
|
804
|
-
|
|
861
|
+
[keyword: string]: unknown;
|
|
805
862
|
readonly Keys: ICollection;
|
|
806
863
|
LoadBalanceTimeout: int;
|
|
807
864
|
MaxPoolSize: int;
|
|
@@ -840,6 +897,8 @@ export const SqlConnectionStringBuilder: {
|
|
|
840
897
|
export type SqlConnectionStringBuilder = SqlConnectionStringBuilder$instance;
|
|
841
898
|
|
|
842
899
|
export interface SqlCredential$instance {
|
|
900
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlCredential: never;
|
|
901
|
+
|
|
843
902
|
readonly Password: SecureString;
|
|
844
903
|
readonly UserId: string;
|
|
845
904
|
}
|
|
@@ -852,18 +911,22 @@ export const SqlCredential: {
|
|
|
852
911
|
|
|
853
912
|
export type SqlCredential = SqlCredential$instance;
|
|
854
913
|
|
|
855
|
-
export
|
|
856
|
-
|
|
857
|
-
protected OnRowUpdating(value: RowUpdatingEventArgs): void;
|
|
858
|
-
}
|
|
914
|
+
export interface SqlDataAdapter$instance extends DbDataAdapter {
|
|
915
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlDataAdapter: never;
|
|
859
916
|
|
|
917
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
918
|
+
readonly __tsonic_iface_System_Data_IDataAdapter: never;
|
|
919
|
+
readonly __tsonic_iface_System_Data_IDbDataAdapter: never;
|
|
920
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
921
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
860
922
|
|
|
861
|
-
export interface SqlDataAdapter$instance extends SqlDataAdapter$protected, DbDataAdapter {
|
|
862
923
|
DeleteCommand: SqlCommand;
|
|
863
924
|
InsertCommand: SqlCommand;
|
|
864
925
|
SelectCommand: SqlCommand;
|
|
865
926
|
UpdateBatchSize: int;
|
|
866
927
|
UpdateCommand: SqlCommand;
|
|
928
|
+
OnRowUpdated(value: RowUpdatedEventArgs): void;
|
|
929
|
+
OnRowUpdating(value: RowUpdatingEventArgs): void;
|
|
867
930
|
}
|
|
868
931
|
|
|
869
932
|
|
|
@@ -878,6 +941,15 @@ export const SqlDataAdapter: {
|
|
|
878
941
|
export type SqlDataAdapter = SqlDataAdapter$instance;
|
|
879
942
|
|
|
880
943
|
export interface SqlDataReader$instance extends DbDataReader {
|
|
944
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlDataReader: never;
|
|
945
|
+
|
|
946
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
947
|
+
readonly __tsonic_iface_System_Data_Common_IDbColumnSchemaGenerator: never;
|
|
948
|
+
readonly __tsonic_iface_System_Data_IDataReader: never;
|
|
949
|
+
readonly __tsonic_iface_System_Data_IDataRecord: never;
|
|
950
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
951
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
952
|
+
|
|
881
953
|
readonly Depth: int;
|
|
882
954
|
readonly FieldCount: int;
|
|
883
955
|
readonly HasRows: boolean;
|
|
@@ -893,7 +965,7 @@ export interface SqlDataReader$instance extends DbDataReader {
|
|
|
893
965
|
GetBytes(i: int, dataIndex: long, buffer: byte[], bufferIndex: int, length: int): long;
|
|
894
966
|
GetChar(i: int): char;
|
|
895
967
|
GetChars(i: int, dataIndex: long, buffer: char[], bufferIndex: int, length: int): long;
|
|
896
|
-
GetColumnSchema():
|
|
968
|
+
GetColumnSchema(): ReadOnlyCollection_1<DbColumn>;
|
|
897
969
|
GetDataTypeName(i: int): string;
|
|
898
970
|
GetDateTime(i: int): DateTime;
|
|
899
971
|
GetDateTimeOffset(i: int): DateTimeOffset;
|
|
@@ -902,7 +974,7 @@ export interface SqlDataReader$instance extends DbDataReader {
|
|
|
902
974
|
GetEnumerator(): IEnumerator;
|
|
903
975
|
GetFieldType(i: int): Type;
|
|
904
976
|
GetFieldValue<T>(i: int): T;
|
|
905
|
-
GetFieldValueAsync<T>(i: int, cancellationToken: CancellationToken):
|
|
977
|
+
GetFieldValueAsync<T>(i: int, cancellationToken: CancellationToken): Task_1<T>;
|
|
906
978
|
GetFloat(i: int): float;
|
|
907
979
|
GetGuid(i: int): Guid;
|
|
908
980
|
GetInt16(i: int): short;
|
|
@@ -942,22 +1014,23 @@ export interface SqlDataReader$instance extends DbDataReader {
|
|
|
942
1014
|
GetValues(values: unknown[]): int;
|
|
943
1015
|
GetXmlReader(i: int): XmlReader;
|
|
944
1016
|
IsDBNull(i: int): boolean;
|
|
945
|
-
IsDBNullAsync(i: int, cancellationToken: CancellationToken):
|
|
1017
|
+
IsDBNullAsync(i: int, cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
946
1018
|
NextResult(): boolean;
|
|
947
|
-
NextResultAsync(cancellationToken: CancellationToken):
|
|
1019
|
+
NextResultAsync(cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
948
1020
|
Read(): boolean;
|
|
949
|
-
ReadAsync(cancellationToken: CancellationToken):
|
|
1021
|
+
ReadAsync(cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
950
1022
|
}
|
|
951
1023
|
|
|
952
1024
|
|
|
953
1025
|
export const SqlDataReader: {
|
|
954
|
-
new(): SqlDataReader;
|
|
955
1026
|
};
|
|
956
1027
|
|
|
957
1028
|
|
|
958
1029
|
export type SqlDataReader = SqlDataReader$instance;
|
|
959
1030
|
|
|
960
1031
|
export interface SqlDependency$instance {
|
|
1032
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlDependency: never;
|
|
1033
|
+
|
|
961
1034
|
readonly HasChanges: boolean;
|
|
962
1035
|
readonly Id: string;
|
|
963
1036
|
AddCommandDependency(command: SqlCommand): void;
|
|
@@ -978,28 +1051,34 @@ export const SqlDependency: {
|
|
|
978
1051
|
export type SqlDependency = SqlDependency$instance;
|
|
979
1052
|
|
|
980
1053
|
export interface SqlError$instance {
|
|
1054
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlError: never;
|
|
1055
|
+
|
|
981
1056
|
readonly Class: byte;
|
|
982
1057
|
readonly LineNumber: int;
|
|
983
|
-
readonly Message: string
|
|
1058
|
+
readonly Message: string;
|
|
984
1059
|
readonly Number: int;
|
|
985
1060
|
readonly Procedure: string;
|
|
986
1061
|
readonly Server: string;
|
|
987
1062
|
readonly Source: string;
|
|
988
1063
|
readonly State: byte;
|
|
989
|
-
ToString(): string
|
|
1064
|
+
ToString(): string;
|
|
990
1065
|
}
|
|
991
1066
|
|
|
992
1067
|
|
|
993
1068
|
export const SqlError: {
|
|
994
|
-
new(): SqlError;
|
|
995
1069
|
};
|
|
996
1070
|
|
|
997
1071
|
|
|
998
1072
|
export type SqlError = SqlError$instance;
|
|
999
1073
|
|
|
1000
1074
|
export interface SqlErrorCollection$instance {
|
|
1075
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlErrorCollection: never;
|
|
1076
|
+
|
|
1077
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
1078
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
1079
|
+
|
|
1001
1080
|
readonly Count: int;
|
|
1002
|
-
readonly
|
|
1081
|
+
readonly [index: number]: SqlError;
|
|
1003
1082
|
CopyTo(array: SqlError[], index: int): void;
|
|
1004
1083
|
CopyTo(array: ClrArray, index: int): void;
|
|
1005
1084
|
GetEnumerator(): IEnumerator;
|
|
@@ -1007,21 +1086,20 @@ export interface SqlErrorCollection$instance {
|
|
|
1007
1086
|
|
|
1008
1087
|
|
|
1009
1088
|
export const SqlErrorCollection: {
|
|
1010
|
-
new(): SqlErrorCollection;
|
|
1011
1089
|
};
|
|
1012
1090
|
|
|
1013
1091
|
|
|
1014
1092
|
export type SqlErrorCollection = SqlErrorCollection$instance;
|
|
1015
1093
|
|
|
1016
|
-
export
|
|
1017
|
-
|
|
1018
|
-
}
|
|
1094
|
+
export interface SqlException$instance extends DbException {
|
|
1095
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlException: never;
|
|
1019
1096
|
|
|
1097
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1020
1098
|
|
|
1021
|
-
export interface SqlException$instance extends SqlException$protected, DbException {
|
|
1022
1099
|
readonly BatchCommand: SqlBatchCommand;
|
|
1023
1100
|
readonly Class: byte;
|
|
1024
1101
|
readonly ClientConnectionId: Guid;
|
|
1102
|
+
readonly DbBatchCommand: DbBatchCommand;
|
|
1025
1103
|
readonly Errors: SqlErrorCollection;
|
|
1026
1104
|
readonly LineNumber: int;
|
|
1027
1105
|
readonly Number: int;
|
|
@@ -1035,13 +1113,14 @@ export interface SqlException$instance extends SqlException$protected, DbExcepti
|
|
|
1035
1113
|
|
|
1036
1114
|
|
|
1037
1115
|
export const SqlException: {
|
|
1038
|
-
new(): SqlException;
|
|
1039
1116
|
};
|
|
1040
1117
|
|
|
1041
1118
|
|
|
1042
1119
|
export type SqlException = SqlException$instance;
|
|
1043
1120
|
|
|
1044
1121
|
export interface SqlInfoMessageEventArgs$instance extends EventArgs {
|
|
1122
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlInfoMessageEventArgs: never;
|
|
1123
|
+
|
|
1045
1124
|
readonly Errors: SqlErrorCollection;
|
|
1046
1125
|
readonly Message: string;
|
|
1047
1126
|
readonly Source: string;
|
|
@@ -1050,13 +1129,14 @@ export interface SqlInfoMessageEventArgs$instance extends EventArgs {
|
|
|
1050
1129
|
|
|
1051
1130
|
|
|
1052
1131
|
export const SqlInfoMessageEventArgs: {
|
|
1053
|
-
new(): SqlInfoMessageEventArgs;
|
|
1054
1132
|
};
|
|
1055
1133
|
|
|
1056
1134
|
|
|
1057
1135
|
export type SqlInfoMessageEventArgs = SqlInfoMessageEventArgs$instance;
|
|
1058
1136
|
|
|
1059
1137
|
export interface SqlNotificationEventArgs$instance extends EventArgs {
|
|
1138
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlNotificationEventArgs: never;
|
|
1139
|
+
|
|
1060
1140
|
readonly Info: SqlNotificationInfo;
|
|
1061
1141
|
readonly Source: SqlNotificationSource;
|
|
1062
1142
|
readonly Type: SqlNotificationType;
|
|
@@ -1071,6 +1151,12 @@ export const SqlNotificationEventArgs: {
|
|
|
1071
1151
|
export type SqlNotificationEventArgs = SqlNotificationEventArgs$instance;
|
|
1072
1152
|
|
|
1073
1153
|
export interface SqlParameter$instance extends DbParameter {
|
|
1154
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlParameter: never;
|
|
1155
|
+
|
|
1156
|
+
readonly __tsonic_iface_System_Data_IDataParameter: never;
|
|
1157
|
+
readonly __tsonic_iface_System_Data_IDbDataParameter: never;
|
|
1158
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
1159
|
+
|
|
1074
1160
|
CompareInfo: SqlCompareOptions;
|
|
1075
1161
|
DbType: DbType;
|
|
1076
1162
|
Direction: ParameterDirection;
|
|
@@ -1112,15 +1198,14 @@ export const SqlParameter: {
|
|
|
1112
1198
|
|
|
1113
1199
|
export type SqlParameter = SqlParameter$instance;
|
|
1114
1200
|
|
|
1115
|
-
export
|
|
1116
|
-
|
|
1117
|
-
protected GetParameter(parameterName: string): DbParameter;
|
|
1118
|
-
protected SetParameter(index: int, value: DbParameter): void;
|
|
1119
|
-
protected SetParameter(parameterName: string, value: DbParameter): void;
|
|
1120
|
-
}
|
|
1201
|
+
export interface SqlParameterCollection$instance extends DbParameterCollection {
|
|
1202
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlParameterCollection: never;
|
|
1121
1203
|
|
|
1204
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
1205
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
1206
|
+
readonly __tsonic_iface_System_Collections_IList: never;
|
|
1207
|
+
readonly __tsonic_iface_System_Data_IDataParameterCollection: never;
|
|
1122
1208
|
|
|
1123
|
-
export interface SqlParameterCollection$instance extends SqlParameterCollection$protected, DbParameterCollection {
|
|
1124
1209
|
readonly Count: int;
|
|
1125
1210
|
readonly IsFixedSize: boolean;
|
|
1126
1211
|
readonly IsReadOnly: boolean;
|
|
@@ -1142,6 +1227,8 @@ export interface SqlParameterCollection$instance extends SqlParameterCollection$
|
|
|
1142
1227
|
get_Item(index: int): SqlParameter;
|
|
1143
1228
|
get_Item(parameterName: string): SqlParameter;
|
|
1144
1229
|
GetEnumerator(): IEnumerator;
|
|
1230
|
+
GetParameter(index: int): DbParameter;
|
|
1231
|
+
GetParameter(parameterName: string): DbParameter;
|
|
1145
1232
|
IndexOf(value: SqlParameter): int;
|
|
1146
1233
|
IndexOf(value: unknown): int;
|
|
1147
1234
|
IndexOf(parameterName: string): int;
|
|
@@ -1153,62 +1240,70 @@ export interface SqlParameterCollection$instance extends SqlParameterCollection$
|
|
|
1153
1240
|
RemoveAt(parameterName: string): void;
|
|
1154
1241
|
set_Item(index: int, value: SqlParameter): void;
|
|
1155
1242
|
set_Item(parameterName: string, value: SqlParameter): void;
|
|
1243
|
+
SetParameter(index: int, value: DbParameter): void;
|
|
1244
|
+
SetParameter(parameterName: string, value: DbParameter): void;
|
|
1156
1245
|
}
|
|
1157
1246
|
|
|
1158
1247
|
|
|
1159
1248
|
export const SqlParameterCollection: {
|
|
1160
|
-
new(): SqlParameterCollection;
|
|
1161
1249
|
};
|
|
1162
1250
|
|
|
1163
1251
|
|
|
1164
1252
|
export type SqlParameterCollection = SqlParameterCollection$instance;
|
|
1165
1253
|
|
|
1166
1254
|
export interface SqlRetryingEventArgs$instance extends EventArgs {
|
|
1255
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlRetryingEventArgs: never;
|
|
1256
|
+
|
|
1167
1257
|
Cancel: boolean;
|
|
1168
1258
|
readonly Delay: TimeSpan;
|
|
1169
|
-
readonly Exceptions:
|
|
1259
|
+
readonly Exceptions: IList_1<Exception>;
|
|
1170
1260
|
readonly RetryCount: int;
|
|
1171
1261
|
}
|
|
1172
1262
|
|
|
1173
1263
|
|
|
1174
1264
|
export const SqlRetryingEventArgs: {
|
|
1175
|
-
new(retryCount: int, delay: TimeSpan, exceptions:
|
|
1265
|
+
new(retryCount: int, delay: TimeSpan, exceptions: IList_1<Exception>): SqlRetryingEventArgs;
|
|
1176
1266
|
};
|
|
1177
1267
|
|
|
1178
1268
|
|
|
1179
1269
|
export type SqlRetryingEventArgs = SqlRetryingEventArgs$instance;
|
|
1180
1270
|
|
|
1181
|
-
export
|
|
1182
|
-
|
|
1183
|
-
protected Validate(timeInterval: TimeSpan, maxTimeInterval: TimeSpan, minTimeInterval: TimeSpan): void;
|
|
1184
|
-
}
|
|
1271
|
+
export interface SqlRetryIntervalBaseEnumerator$instance {
|
|
1272
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlRetryIntervalBaseEnumerator: never;
|
|
1185
1273
|
|
|
1274
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
1275
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
1276
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
1277
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1186
1278
|
|
|
1187
|
-
export interface SqlRetryIntervalBaseEnumerator$instance extends SqlRetryIntervalBaseEnumerator$protected {
|
|
1188
1279
|
Current: TimeSpan;
|
|
1189
1280
|
GapTimeInterval: TimeSpan;
|
|
1190
1281
|
MaxTimeInterval: TimeSpan;
|
|
1191
1282
|
MinTimeInterval: TimeSpan;
|
|
1192
1283
|
Clone(): unknown;
|
|
1193
1284
|
Dispose(): void;
|
|
1285
|
+
GetNextInterval(): TimeSpan;
|
|
1194
1286
|
MoveNext(): boolean;
|
|
1195
1287
|
Reset(): void;
|
|
1288
|
+
Validate(timeInterval: TimeSpan, maxTimeInterval: TimeSpan, minTimeInterval: TimeSpan): void;
|
|
1196
1289
|
}
|
|
1197
1290
|
|
|
1198
1291
|
|
|
1199
|
-
export const SqlRetryIntervalBaseEnumerator: {
|
|
1200
|
-
new(): SqlRetryIntervalBaseEnumerator;
|
|
1201
|
-
new(timeInterval: TimeSpan, maxTime: TimeSpan, minTime: TimeSpan): SqlRetryIntervalBaseEnumerator;
|
|
1292
|
+
export const SqlRetryIntervalBaseEnumerator: (abstract new() => SqlRetryIntervalBaseEnumerator) & (abstract new(timeInterval: TimeSpan, maxTime: TimeSpan, minTime: TimeSpan) => SqlRetryIntervalBaseEnumerator) & {
|
|
1202
1293
|
};
|
|
1203
1294
|
|
|
1204
1295
|
|
|
1205
1296
|
export type SqlRetryIntervalBaseEnumerator = SqlRetryIntervalBaseEnumerator$instance;
|
|
1206
1297
|
|
|
1207
1298
|
export interface SqlRetryLogicBase$instance {
|
|
1299
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlRetryLogicBase: never;
|
|
1300
|
+
|
|
1301
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
1302
|
+
|
|
1208
1303
|
Current: int;
|
|
1209
1304
|
NumberOfTries: int;
|
|
1210
1305
|
RetryIntervalEnumerator: SqlRetryIntervalBaseEnumerator;
|
|
1211
|
-
TransientPredicate:
|
|
1306
|
+
TransientPredicate: Predicate_1<Exception>;
|
|
1212
1307
|
Clone(): unknown;
|
|
1213
1308
|
Reset(): void;
|
|
1214
1309
|
RetryCondition(sender: unknown): boolean;
|
|
@@ -1216,36 +1311,38 @@ export interface SqlRetryLogicBase$instance {
|
|
|
1216
1311
|
}
|
|
1217
1312
|
|
|
1218
1313
|
|
|
1219
|
-
export const SqlRetryLogicBase: {
|
|
1220
|
-
new(): SqlRetryLogicBase;
|
|
1314
|
+
export const SqlRetryLogicBase: (abstract new() => SqlRetryLogicBase) & {
|
|
1221
1315
|
};
|
|
1222
1316
|
|
|
1223
1317
|
|
|
1224
1318
|
export type SqlRetryLogicBase = SqlRetryLogicBase$instance;
|
|
1225
1319
|
|
|
1226
1320
|
export interface SqlRetryLogicBaseProvider$instance {
|
|
1227
|
-
|
|
1321
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlRetryLogicBaseProvider: never;
|
|
1322
|
+
|
|
1323
|
+
Retrying: EventHandler_1<SqlRetryingEventArgs>;
|
|
1228
1324
|
RetryLogic: SqlRetryLogicBase;
|
|
1229
|
-
Execute<TResult>(sender: unknown, function_:
|
|
1230
|
-
ExecuteAsync(sender: unknown, function_:
|
|
1231
|
-
ExecuteAsync<TResult>(sender: unknown, function_:
|
|
1325
|
+
Execute<TResult>(sender: unknown, function_: Func_1<TResult>): TResult;
|
|
1326
|
+
ExecuteAsync(sender: unknown, function_: Func_1<Task>, cancellationToken?: CancellationToken): Task;
|
|
1327
|
+
ExecuteAsync<TResult>(sender: unknown, function_: Func_1<Task_1<TResult>>, cancellationToken?: CancellationToken): Task_1<TResult>;
|
|
1232
1328
|
}
|
|
1233
1329
|
|
|
1234
1330
|
|
|
1235
|
-
export const SqlRetryLogicBaseProvider: {
|
|
1236
|
-
new(): SqlRetryLogicBaseProvider;
|
|
1331
|
+
export const SqlRetryLogicBaseProvider: (abstract new() => SqlRetryLogicBaseProvider) & {
|
|
1237
1332
|
};
|
|
1238
1333
|
|
|
1239
1334
|
|
|
1240
1335
|
export type SqlRetryLogicBaseProvider = SqlRetryLogicBaseProvider$instance;
|
|
1241
1336
|
|
|
1242
1337
|
export interface SqlRetryLogicOption$instance {
|
|
1243
|
-
|
|
1338
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlRetryLogicOption: never;
|
|
1339
|
+
|
|
1340
|
+
AuthorizedSqlCondition: Predicate_1<System_Internal.String>;
|
|
1244
1341
|
DeltaTime: TimeSpan;
|
|
1245
1342
|
MaxTimeInterval: TimeSpan;
|
|
1246
1343
|
MinTimeInterval: TimeSpan;
|
|
1247
1344
|
NumberOfTries: int;
|
|
1248
|
-
TransientErrors:
|
|
1345
|
+
TransientErrors: IEnumerable_1<System_Internal.Int32>;
|
|
1249
1346
|
}
|
|
1250
1347
|
|
|
1251
1348
|
|
|
@@ -1257,6 +1354,8 @@ export const SqlRetryLogicOption: {
|
|
|
1257
1354
|
export type SqlRetryLogicOption = SqlRetryLogicOption$instance;
|
|
1258
1355
|
|
|
1259
1356
|
export interface SqlRowsCopiedEventArgs$instance extends EventArgs {
|
|
1357
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlRowsCopiedEventArgs: never;
|
|
1358
|
+
|
|
1260
1359
|
Abort: boolean;
|
|
1261
1360
|
readonly RowsCopied: long;
|
|
1262
1361
|
}
|
|
@@ -1270,6 +1369,8 @@ export const SqlRowsCopiedEventArgs: {
|
|
|
1270
1369
|
export type SqlRowsCopiedEventArgs = SqlRowsCopiedEventArgs$instance;
|
|
1271
1370
|
|
|
1272
1371
|
export interface SqlRowUpdatedEventArgs$instance extends RowUpdatedEventArgs {
|
|
1372
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlRowUpdatedEventArgs: never;
|
|
1373
|
+
|
|
1273
1374
|
readonly Command: SqlCommand;
|
|
1274
1375
|
}
|
|
1275
1376
|
|
|
@@ -1281,12 +1382,10 @@ export const SqlRowUpdatedEventArgs: {
|
|
|
1281
1382
|
|
|
1282
1383
|
export type SqlRowUpdatedEventArgs = SqlRowUpdatedEventArgs$instance;
|
|
1283
1384
|
|
|
1284
|
-
export
|
|
1285
|
-
|
|
1286
|
-
}
|
|
1287
|
-
|
|
1385
|
+
export interface SqlRowUpdatingEventArgs$instance extends RowUpdatingEventArgs {
|
|
1386
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlRowUpdatingEventArgs: never;
|
|
1288
1387
|
|
|
1289
|
-
|
|
1388
|
+
BaseCommand: IDbCommand;
|
|
1290
1389
|
Command: SqlCommand;
|
|
1291
1390
|
}
|
|
1292
1391
|
|
|
@@ -1298,16 +1397,18 @@ export const SqlRowUpdatingEventArgs: {
|
|
|
1298
1397
|
|
|
1299
1398
|
export type SqlRowUpdatingEventArgs = SqlRowUpdatingEventArgs$instance;
|
|
1300
1399
|
|
|
1301
|
-
export
|
|
1302
|
-
|
|
1303
|
-
protected Dispose(disposing: boolean): void;
|
|
1304
|
-
}
|
|
1400
|
+
export interface SqlTransaction$instance extends DbTransaction {
|
|
1401
|
+
readonly __tsonic_type_Microsoft_Data_SqlClient_SqlTransaction: never;
|
|
1305
1402
|
|
|
1403
|
+
readonly __tsonic_iface_System_Data_IDbTransaction: never;
|
|
1404
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
1405
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1306
1406
|
|
|
1307
|
-
export interface SqlTransaction$instance extends SqlTransaction$protected, DbTransaction {
|
|
1308
1407
|
readonly Connection: SqlConnection;
|
|
1408
|
+
readonly DbConnection: DbConnection;
|
|
1309
1409
|
readonly IsolationLevel: IsolationLevel;
|
|
1310
1410
|
Commit(): void;
|
|
1411
|
+
Dispose(disposing: boolean): void;
|
|
1311
1412
|
Rollback(): void;
|
|
1312
1413
|
Rollback(transactionName: string): void;
|
|
1313
1414
|
Save(savePointName: string): void;
|
|
@@ -1315,7 +1416,6 @@ export interface SqlTransaction$instance extends SqlTransaction$protected, DbTra
|
|
|
1315
1416
|
|
|
1316
1417
|
|
|
1317
1418
|
export const SqlTransaction: {
|
|
1318
|
-
new(): SqlTransaction;
|
|
1319
1419
|
};
|
|
1320
1420
|
|
|
1321
1421
|
|