@tsonic/efcore-sqlserver 10.0.2 → 10.0.5
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 +33 -41
- package/Azure.Core/internal/index.d.ts +55 -48
- package/Azure.Core.Cryptography/internal/index.d.ts +4 -0
- package/Azure.Core.Diagnostics/internal/index.d.ts +4 -6
- package/Azure.Core.Extensions/internal/index.d.ts +8 -0
- package/Azure.Core.GeoJson/internal/index.d.ts +43 -7
- package/Azure.Core.Pipeline/internal/index.d.ts +22 -30
- package/Azure.Core.Serialization/internal/index.d.ts +8 -3
- package/Azure.Identity/internal/index.d.ts +69 -28
- package/Azure.Messaging/internal/index.d.ts +7 -11
- package/Microsoft.Data/internal/index.d.ts +2 -1
- package/Microsoft.Data.SqlClient/internal/index.d.ts +133 -123
- package/Microsoft.Data.SqlClient.Diagnostics/internal/index.d.ts +90 -15
- package/Microsoft.Data.SqlClient.Server/internal/index.d.ts +2 -0
- package/Microsoft.Data.SqlTypes/internal/index.d.ts +8 -1
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +4 -6
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +11 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +2 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +86 -73
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +47 -49
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +9 -1
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +8 -8
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +24 -22
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/index.d.ts +2 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +10 -6
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/index.d.ts +189 -194
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +4 -5
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/index.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +115 -191
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.d.ts +31 -32
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/index.d.ts +19 -12
- package/Microsoft.EntityFrameworkCore.d.ts +3 -0
- package/Microsoft.Extensions.DependencyInjection.d.ts +3 -0
- package/Microsoft.Identity.Client/internal/index.d.ts +108 -108
- package/Microsoft.Identity.Client.AppConfig/internal/index.d.ts +0 -1
- package/Microsoft.Identity.Client.AuthScheme/internal/index.d.ts +2 -0
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/index.d.ts +2 -0
- package/Microsoft.Identity.Client.Extensibility/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +4 -4
- package/Microsoft.Identity.Client.Kerberos/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/index.d.ts +1 -2
- package/Microsoft.Identity.Client.Utils/internal/index.d.ts +0 -1
- package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +13 -7
- package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +8 -10
- package/Microsoft.IdentityModel.Logging/internal/index.d.ts +7 -6
- package/Microsoft.IdentityModel.Protocols/internal/index.d.ts +17 -2
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +2 -1
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.d.ts +19 -18
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/index.d.ts +2 -0
- package/Microsoft.IdentityModel.Tokens/internal/index.d.ts +119 -118
- package/Microsoft.IdentityModel.Tokens.d.ts +3 -0
- package/Microsoft.SqlServer.Server/internal/index.d.ts +4 -1
- package/System.ClientModel/internal/index.d.ts +19 -26
- package/System.ClientModel.Primitives/internal/index.d.ts +99 -124
- package/System.ClientModel.Primitives.d.ts +3 -0
- package/System.Configuration/internal/index.d.ts +293 -332
- package/System.Configuration.Internal/internal/index.d.ts +23 -2
- package/System.Configuration.Provider/internal/index.d.ts +7 -4
- package/System.Drawing.Configuration/internal/index.d.ts +2 -6
- package/System.IdentityModel.Tokens.Jwt/internal/index.d.ts +38 -16
- package/__internal/extensions/index.d.ts +915 -14
- package/package.json +1 -1
|
@@ -202,8 +202,7 @@ export interface SqlAuthenticationInitializer$instance {
|
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
|
|
205
|
-
export const SqlAuthenticationInitializer: {
|
|
206
|
-
new(): SqlAuthenticationInitializer;
|
|
205
|
+
export const SqlAuthenticationInitializer: (abstract new() => SqlAuthenticationInitializer) & {
|
|
207
206
|
};
|
|
208
207
|
|
|
209
208
|
|
|
@@ -222,8 +221,7 @@ export interface SqlAuthenticationParameters$instance {
|
|
|
222
221
|
}
|
|
223
222
|
|
|
224
223
|
|
|
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;
|
|
224
|
+
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
225
|
};
|
|
228
226
|
|
|
229
227
|
|
|
@@ -237,8 +235,7 @@ export interface SqlAuthenticationProvider$instance {
|
|
|
237
235
|
}
|
|
238
236
|
|
|
239
237
|
|
|
240
|
-
export const SqlAuthenticationProvider: {
|
|
241
|
-
new(): SqlAuthenticationProvider;
|
|
238
|
+
export const SqlAuthenticationProvider: (abstract new() => SqlAuthenticationProvider) & {
|
|
242
239
|
GetProvider(authenticationMethod: SqlAuthenticationMethod): SqlAuthenticationProvider;
|
|
243
240
|
SetProvider(authenticationMethod: SqlAuthenticationMethod, provider: SqlAuthenticationProvider): boolean;
|
|
244
241
|
};
|
|
@@ -259,24 +256,23 @@ export const SqlAuthenticationToken: {
|
|
|
259
256
|
|
|
260
257
|
export type SqlAuthenticationToken = SqlAuthenticationToken$instance;
|
|
261
258
|
|
|
262
|
-
export
|
|
263
|
-
|
|
264
|
-
|
|
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
|
-
|
|
259
|
+
export interface SqlBatch$instance extends DbBatch {
|
|
260
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
261
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
271
262
|
|
|
272
|
-
export interface SqlBatch$instance extends SqlBatch$protected, DbBatch {
|
|
273
263
|
readonly BatchCommands: SqlBatchCommandCollection;
|
|
274
264
|
readonly Commands: List<SqlBatchCommand>;
|
|
275
265
|
Connection: SqlConnection;
|
|
266
|
+
readonly DbBatchCommands: DbBatchCommandCollection;
|
|
267
|
+
DbConnection: DbConnection;
|
|
268
|
+
DbTransaction: DbTransaction;
|
|
276
269
|
Timeout: int;
|
|
277
270
|
Transaction: SqlTransaction;
|
|
278
271
|
Cancel(): void;
|
|
272
|
+
CreateDbBatchCommand(): DbBatchCommand;
|
|
279
273
|
Dispose(): void;
|
|
274
|
+
ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
275
|
+
ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<DbDataReader>;
|
|
280
276
|
ExecuteNonQuery(): int;
|
|
281
277
|
ExecuteNonQueryAsync(cancellationToken?: CancellationToken): Task<System_Internal.Int32>;
|
|
282
278
|
ExecuteReader(): SqlDataReader;
|
|
@@ -296,16 +292,12 @@ export const SqlBatch: {
|
|
|
296
292
|
|
|
297
293
|
export type SqlBatch = SqlBatch$instance;
|
|
298
294
|
|
|
299
|
-
export
|
|
300
|
-
protected readonly DbParameterCollection: DbParameterCollection;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
export interface SqlBatchCommand$instance extends SqlBatchCommand$protected, DbBatchCommand {
|
|
295
|
+
export interface SqlBatchCommand$instance extends DbBatchCommand {
|
|
305
296
|
ColumnEncryptionSetting: SqlCommandColumnEncryptionSetting;
|
|
306
297
|
CommandBehavior: CommandBehavior;
|
|
307
298
|
CommandText: string;
|
|
308
299
|
CommandType: CommandType;
|
|
300
|
+
readonly DbParameterCollection: DbParameterCollection;
|
|
309
301
|
readonly Parameters: SqlParameterCollection;
|
|
310
302
|
readonly RecordsAffected: int;
|
|
311
303
|
}
|
|
@@ -319,16 +311,15 @@ export const SqlBatchCommand: {
|
|
|
319
311
|
|
|
320
312
|
export type SqlBatchCommand = SqlBatchCommand$instance;
|
|
321
313
|
|
|
322
|
-
export
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
314
|
+
export interface SqlBatchCommandCollection$instance extends DbBatchCommandCollection {
|
|
315
|
+
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
316
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
317
|
+
readonly __tsonic_iface_System_Collections_Generic_IList_1: never;
|
|
318
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
327
319
|
|
|
328
|
-
export interface SqlBatchCommandCollection$instance extends SqlBatchCommandCollection$protected, DbBatchCommandCollection {
|
|
329
320
|
readonly Count: int;
|
|
330
321
|
readonly IsReadOnly: boolean;
|
|
331
|
-
|
|
322
|
+
[index: number]: SqlBatchCommand;
|
|
332
323
|
Add(item: SqlBatchCommand): void;
|
|
333
324
|
Add(item: DbBatchCommand): void;
|
|
334
325
|
Clear(): void;
|
|
@@ -336,6 +327,7 @@ export interface SqlBatchCommandCollection$instance extends SqlBatchCommandColle
|
|
|
336
327
|
Contains(item: DbBatchCommand): boolean;
|
|
337
328
|
CopyTo(array: SqlBatchCommand[], arrayIndex: int): void;
|
|
338
329
|
CopyTo(array: DbBatchCommand[], arrayIndex: int): void;
|
|
330
|
+
GetBatchCommand(index: int): DbBatchCommand;
|
|
339
331
|
GetEnumerator(): IEnumerator__System_Collections_Generic<DbBatchCommand>;
|
|
340
332
|
IndexOf(item: SqlBatchCommand): int;
|
|
341
333
|
IndexOf(item: DbBatchCommand): int;
|
|
@@ -344,6 +336,7 @@ export interface SqlBatchCommandCollection$instance extends SqlBatchCommandColle
|
|
|
344
336
|
Remove(item: SqlBatchCommand): boolean;
|
|
345
337
|
Remove(item: DbBatchCommand): boolean;
|
|
346
338
|
RemoveAt(index: int): void;
|
|
339
|
+
SetBatchCommand(index: int, batchCommand: DbBatchCommand): void;
|
|
347
340
|
}
|
|
348
341
|
|
|
349
342
|
|
|
@@ -355,6 +348,8 @@ export const SqlBatchCommandCollection: {
|
|
|
355
348
|
export type SqlBatchCommandCollection = SqlBatchCommandCollection$instance;
|
|
356
349
|
|
|
357
350
|
export interface SqlBulkCopy$instance {
|
|
351
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
352
|
+
|
|
358
353
|
BatchSize: int;
|
|
359
354
|
BulkCopyTimeout: int;
|
|
360
355
|
readonly ColumnMappings: SqlBulkCopyColumnMappingCollection;
|
|
@@ -413,7 +408,11 @@ export const SqlBulkCopyColumnMapping: {
|
|
|
413
408
|
export type SqlBulkCopyColumnMapping = SqlBulkCopyColumnMapping$instance;
|
|
414
409
|
|
|
415
410
|
export interface SqlBulkCopyColumnMappingCollection$instance extends CollectionBase {
|
|
416
|
-
readonly
|
|
411
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
412
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
413
|
+
readonly __tsonic_iface_System_Collections_IList: never;
|
|
414
|
+
|
|
415
|
+
readonly [index: number]: SqlBulkCopyColumnMapping;
|
|
417
416
|
Add(bulkCopyColumnMapping: SqlBulkCopyColumnMapping): SqlBulkCopyColumnMapping;
|
|
418
417
|
Add(sourceColumnIndex: int, destinationColumnIndex: int): SqlBulkCopyColumnMapping;
|
|
419
418
|
Add(sourceColumnIndex: int, destinationColumn: string): SqlBulkCopyColumnMapping;
|
|
@@ -430,7 +429,6 @@ export interface SqlBulkCopyColumnMappingCollection$instance extends CollectionB
|
|
|
430
429
|
|
|
431
430
|
|
|
432
431
|
export const SqlBulkCopyColumnMappingCollection: {
|
|
433
|
-
new(): SqlBulkCopyColumnMappingCollection;
|
|
434
432
|
};
|
|
435
433
|
|
|
436
434
|
|
|
@@ -450,7 +448,11 @@ export const SqlBulkCopyColumnOrderHint: {
|
|
|
450
448
|
export type SqlBulkCopyColumnOrderHint = SqlBulkCopyColumnOrderHint$instance;
|
|
451
449
|
|
|
452
450
|
export interface SqlBulkCopyColumnOrderHintCollection$instance extends CollectionBase {
|
|
453
|
-
readonly
|
|
451
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
452
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
453
|
+
readonly __tsonic_iface_System_Collections_IList: never;
|
|
454
|
+
|
|
455
|
+
readonly [index: number]: SqlBulkCopyColumnOrderHint;
|
|
454
456
|
Add(columnOrderHint: SqlBulkCopyColumnOrderHint): SqlBulkCopyColumnOrderHint;
|
|
455
457
|
Add(column: string, sortOrder: SortOrder): SqlBulkCopyColumnOrderHint;
|
|
456
458
|
Clear(): void;
|
|
@@ -485,7 +487,6 @@ export interface SqlClientFactory$instance extends DbProviderFactory {
|
|
|
485
487
|
|
|
486
488
|
|
|
487
489
|
export const SqlClientFactory: {
|
|
488
|
-
new(): SqlClientFactory;
|
|
489
490
|
readonly Instance: SqlClientFactory;
|
|
490
491
|
};
|
|
491
492
|
|
|
@@ -565,30 +566,27 @@ export interface SqlColumnEncryptionKeyStoreProvider$instance {
|
|
|
565
566
|
}
|
|
566
567
|
|
|
567
568
|
|
|
568
|
-
export const SqlColumnEncryptionKeyStoreProvider: {
|
|
569
|
-
new(): SqlColumnEncryptionKeyStoreProvider;
|
|
569
|
+
export const SqlColumnEncryptionKeyStoreProvider: (abstract new() => SqlColumnEncryptionKeyStoreProvider) & {
|
|
570
570
|
};
|
|
571
571
|
|
|
572
572
|
|
|
573
573
|
export type SqlColumnEncryptionKeyStoreProvider = SqlColumnEncryptionKeyStoreProvider$instance;
|
|
574
574
|
|
|
575
|
-
export
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
protected ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
582
|
-
protected ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<DbDataReader>;
|
|
583
|
-
}
|
|
584
|
-
|
|
575
|
+
export interface SqlCommand$instance extends DbCommand {
|
|
576
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
577
|
+
readonly __tsonic_iface_System_Data_IDbCommand: never;
|
|
578
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
579
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
580
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
585
581
|
|
|
586
|
-
export interface SqlCommand$instance extends SqlCommand$protected, DbCommand {
|
|
587
582
|
readonly ColumnEncryptionSetting: SqlCommandColumnEncryptionSetting;
|
|
588
583
|
CommandText: string;
|
|
589
584
|
CommandTimeout: int;
|
|
590
585
|
CommandType: CommandType;
|
|
591
586
|
Connection: SqlConnection;
|
|
587
|
+
DbConnection: DbConnection;
|
|
588
|
+
readonly DbParameterCollection: DbParameterCollection;
|
|
589
|
+
DbTransaction: DbTransaction;
|
|
592
590
|
DesignTimeVisible: boolean;
|
|
593
591
|
EnableOptimizedParameterBinding: boolean;
|
|
594
592
|
Notification: SqlNotificationRequest;
|
|
@@ -606,10 +604,14 @@ export interface SqlCommand$instance extends SqlCommand$protected, DbCommand {
|
|
|
606
604
|
BeginExecuteXmlReader(callback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
607
605
|
Cancel(): void;
|
|
608
606
|
Clone(): SqlCommand;
|
|
607
|
+
CreateDbParameter(): DbParameter;
|
|
609
608
|
CreateParameter(): SqlParameter;
|
|
609
|
+
Dispose(disposing: boolean): void;
|
|
610
610
|
EndExecuteNonQuery(asyncResult: IAsyncResult): int;
|
|
611
611
|
EndExecuteReader(asyncResult: IAsyncResult): SqlDataReader;
|
|
612
612
|
EndExecuteXmlReader(asyncResult: IAsyncResult): XmlReader;
|
|
613
|
+
ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
614
|
+
ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<DbDataReader>;
|
|
613
615
|
ExecuteNonQuery(): int;
|
|
614
616
|
ExecuteNonQueryAsync(cancellationToken: CancellationToken): Task<System_Internal.Int32>;
|
|
615
617
|
ExecuteReader(): SqlDataReader;
|
|
@@ -640,31 +642,30 @@ export const SqlCommand: {
|
|
|
640
642
|
|
|
641
643
|
export type SqlCommand = SqlCommand$instance;
|
|
642
644
|
|
|
643
|
-
export
|
|
644
|
-
|
|
645
|
-
|
|
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
|
-
}
|
|
645
|
+
export interface SqlCommandBuilder$instance extends DbCommandBuilder {
|
|
646
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
647
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
652
648
|
|
|
653
|
-
|
|
654
|
-
export interface SqlCommandBuilder$instance extends SqlCommandBuilder$protected, DbCommandBuilder {
|
|
655
649
|
CatalogLocation: CatalogLocation;
|
|
656
650
|
CatalogSeparator: string;
|
|
657
651
|
DataAdapter: SqlDataAdapter;
|
|
658
652
|
QuotePrefix: string;
|
|
659
653
|
QuoteSuffix: string;
|
|
660
654
|
SchemaSeparator: string;
|
|
655
|
+
ApplyParameterInfo(parameter: DbParameter, datarow: DataRow, statementType: StatementType, whereClause: boolean): void;
|
|
661
656
|
GetDeleteCommand(): SqlCommand;
|
|
662
657
|
GetDeleteCommand(useColumnsForParameterNames: boolean): SqlCommand;
|
|
663
658
|
GetInsertCommand(): SqlCommand;
|
|
664
659
|
GetInsertCommand(useColumnsForParameterNames: boolean): SqlCommand;
|
|
660
|
+
GetParameterName(parameterOrdinal: int): string;
|
|
661
|
+
GetParameterName(parameterName: string): string;
|
|
662
|
+
GetParameterPlaceholder(parameterOrdinal: int): string;
|
|
663
|
+
GetSchemaTable(srcCommand: DbCommand): DataTable;
|
|
665
664
|
GetUpdateCommand(): SqlCommand;
|
|
666
665
|
GetUpdateCommand(useColumnsForParameterNames: boolean): SqlCommand;
|
|
666
|
+
InitializeCommand(command: DbCommand): DbCommand;
|
|
667
667
|
QuoteIdentifier(unquotedIdentifier: string): string;
|
|
668
|
+
SetRowUpdatingHandler(adapter: DbDataAdapter): void;
|
|
668
669
|
UnquoteIdentifier(quotedIdentifier: string): string;
|
|
669
670
|
}
|
|
670
671
|
|
|
@@ -693,22 +694,19 @@ export const SqlConfigurableRetryFactory: {
|
|
|
693
694
|
|
|
694
695
|
export type SqlConfigurableRetryFactory = SqlConfigurableRetryFactory$instance;
|
|
695
696
|
|
|
696
|
-
export
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
697
|
+
export interface SqlConnection$instance extends DbConnection {
|
|
698
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
699
|
+
readonly __tsonic_iface_System_Data_IDbConnection: never;
|
|
700
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
701
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
702
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
702
703
|
|
|
703
|
-
|
|
704
|
-
export interface SqlConnection$instance extends SqlConnection$protected, DbConnection {
|
|
705
704
|
AccessToken: string;
|
|
706
705
|
AccessTokenCallback: Func<SqlAuthenticationParameters, CancellationToken, Task<SqlAuthenticationToken>>;
|
|
707
706
|
readonly CanCreateBatch: boolean;
|
|
708
707
|
readonly ClientConnectionId: Guid;
|
|
709
708
|
readonly CommandTimeout: int;
|
|
710
|
-
|
|
711
|
-
set ConnectionString(value: string);
|
|
709
|
+
ConnectionString: string;
|
|
712
710
|
readonly ConnectionTimeout: int;
|
|
713
711
|
Credential: SqlCredential;
|
|
714
712
|
readonly Database: string;
|
|
@@ -721,6 +719,7 @@ export interface SqlConnection$instance extends SqlConnection$protected, DbConne
|
|
|
721
719
|
readonly State: ConnectionState;
|
|
722
720
|
StatisticsEnabled: boolean;
|
|
723
721
|
readonly WorkstationId: string;
|
|
722
|
+
BeginDbTransaction(isolationLevel: IsolationLevel): DbTransaction;
|
|
724
723
|
BeginTransaction(): SqlTransaction;
|
|
725
724
|
BeginTransaction(iso: IsolationLevel): SqlTransaction;
|
|
726
725
|
BeginTransaction(iso: IsolationLevel, transactionName: string): SqlTransaction;
|
|
@@ -728,6 +727,9 @@ export interface SqlConnection$instance extends SqlConnection$protected, DbConne
|
|
|
728
727
|
ChangeDatabase(database: string): void;
|
|
729
728
|
Close(): void;
|
|
730
729
|
CreateCommand(): SqlCommand;
|
|
730
|
+
CreateDbBatch(): DbBatch;
|
|
731
|
+
CreateDbCommand(): DbCommand;
|
|
732
|
+
Dispose(disposing: boolean): void;
|
|
731
733
|
GetSchema(): DataTable;
|
|
732
734
|
GetSchema(collectionName: string): DataTable;
|
|
733
735
|
GetSchema(collectionName: string, restrictionValues: string[]): DataTable;
|
|
@@ -762,7 +764,7 @@ export type SqlConnection = SqlConnection$instance;
|
|
|
762
764
|
export interface SqlConnectionEncryptOption$instance {
|
|
763
765
|
Equals(obj: unknown): boolean;
|
|
764
766
|
GetHashCode(): int;
|
|
765
|
-
ToString(): string
|
|
767
|
+
ToString(): string;
|
|
766
768
|
}
|
|
767
769
|
|
|
768
770
|
|
|
@@ -779,6 +781,11 @@ export const SqlConnectionEncryptOption: {
|
|
|
779
781
|
export type SqlConnectionEncryptOption = SqlConnectionEncryptOption$instance;
|
|
780
782
|
|
|
781
783
|
export interface SqlConnectionStringBuilder$instance extends DbConnectionStringBuilder {
|
|
784
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
785
|
+
readonly __tsonic_iface_System_Collections_IDictionary: never;
|
|
786
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
787
|
+
readonly __tsonic_iface_System_ComponentModel_ICustomTypeDescriptor: never;
|
|
788
|
+
|
|
782
789
|
ApplicationIntent: ApplicationIntent;
|
|
783
790
|
ApplicationName: string;
|
|
784
791
|
AttachDBFilename: string;
|
|
@@ -801,7 +808,7 @@ export interface SqlConnectionStringBuilder$instance extends DbConnectionStringB
|
|
|
801
808
|
IntegratedSecurity: boolean;
|
|
802
809
|
IPAddressPreference: SqlConnectionIPAddressPreference;
|
|
803
810
|
readonly IsFixedSize: boolean;
|
|
804
|
-
|
|
811
|
+
[keyword: string]: unknown;
|
|
805
812
|
readonly Keys: ICollection;
|
|
806
813
|
LoadBalanceTimeout: int;
|
|
807
814
|
MaxPoolSize: int;
|
|
@@ -852,18 +859,20 @@ export const SqlCredential: {
|
|
|
852
859
|
|
|
853
860
|
export type SqlCredential = SqlCredential$instance;
|
|
854
861
|
|
|
855
|
-
export
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
862
|
+
export interface SqlDataAdapter$instance extends DbDataAdapter {
|
|
863
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
864
|
+
readonly __tsonic_iface_System_Data_IDataAdapter: never;
|
|
865
|
+
readonly __tsonic_iface_System_Data_IDbDataAdapter: never;
|
|
866
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
867
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
859
868
|
|
|
860
|
-
|
|
861
|
-
export interface SqlDataAdapter$instance extends SqlDataAdapter$protected, DbDataAdapter {
|
|
862
869
|
DeleteCommand: SqlCommand;
|
|
863
870
|
InsertCommand: SqlCommand;
|
|
864
871
|
SelectCommand: SqlCommand;
|
|
865
872
|
UpdateBatchSize: int;
|
|
866
873
|
UpdateCommand: SqlCommand;
|
|
874
|
+
OnRowUpdated(value: RowUpdatedEventArgs): void;
|
|
875
|
+
OnRowUpdating(value: RowUpdatingEventArgs): void;
|
|
867
876
|
}
|
|
868
877
|
|
|
869
878
|
|
|
@@ -878,6 +887,13 @@ export const SqlDataAdapter: {
|
|
|
878
887
|
export type SqlDataAdapter = SqlDataAdapter$instance;
|
|
879
888
|
|
|
880
889
|
export interface SqlDataReader$instance extends DbDataReader {
|
|
890
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
891
|
+
readonly __tsonic_iface_System_Data_Common_IDbColumnSchemaGenerator: never;
|
|
892
|
+
readonly __tsonic_iface_System_Data_IDataReader: never;
|
|
893
|
+
readonly __tsonic_iface_System_Data_IDataRecord: never;
|
|
894
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
895
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
896
|
+
|
|
881
897
|
readonly Depth: int;
|
|
882
898
|
readonly FieldCount: int;
|
|
883
899
|
readonly HasRows: boolean;
|
|
@@ -951,7 +967,6 @@ export interface SqlDataReader$instance extends DbDataReader {
|
|
|
951
967
|
|
|
952
968
|
|
|
953
969
|
export const SqlDataReader: {
|
|
954
|
-
new(): SqlDataReader;
|
|
955
970
|
};
|
|
956
971
|
|
|
957
972
|
|
|
@@ -980,26 +995,28 @@ export type SqlDependency = SqlDependency$instance;
|
|
|
980
995
|
export interface SqlError$instance {
|
|
981
996
|
readonly Class: byte;
|
|
982
997
|
readonly LineNumber: int;
|
|
983
|
-
readonly Message: string
|
|
998
|
+
readonly Message: string;
|
|
984
999
|
readonly Number: int;
|
|
985
1000
|
readonly Procedure: string;
|
|
986
1001
|
readonly Server: string;
|
|
987
1002
|
readonly Source: string;
|
|
988
1003
|
readonly State: byte;
|
|
989
|
-
ToString(): string
|
|
1004
|
+
ToString(): string;
|
|
990
1005
|
}
|
|
991
1006
|
|
|
992
1007
|
|
|
993
1008
|
export const SqlError: {
|
|
994
|
-
new(): SqlError;
|
|
995
1009
|
};
|
|
996
1010
|
|
|
997
1011
|
|
|
998
1012
|
export type SqlError = SqlError$instance;
|
|
999
1013
|
|
|
1000
1014
|
export interface SqlErrorCollection$instance {
|
|
1015
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
1016
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
1017
|
+
|
|
1001
1018
|
readonly Count: int;
|
|
1002
|
-
readonly
|
|
1019
|
+
readonly [index: number]: SqlError;
|
|
1003
1020
|
CopyTo(array: SqlError[], index: int): void;
|
|
1004
1021
|
CopyTo(array: ClrArray, index: int): void;
|
|
1005
1022
|
GetEnumerator(): IEnumerator;
|
|
@@ -1007,21 +1024,18 @@ export interface SqlErrorCollection$instance {
|
|
|
1007
1024
|
|
|
1008
1025
|
|
|
1009
1026
|
export const SqlErrorCollection: {
|
|
1010
|
-
new(): SqlErrorCollection;
|
|
1011
1027
|
};
|
|
1012
1028
|
|
|
1013
1029
|
|
|
1014
1030
|
export type SqlErrorCollection = SqlErrorCollection$instance;
|
|
1015
1031
|
|
|
1016
|
-
export
|
|
1017
|
-
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1032
|
+
export interface SqlException$instance extends DbException {
|
|
1033
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1020
1034
|
|
|
1021
|
-
export interface SqlException$instance extends SqlException$protected, DbException {
|
|
1022
1035
|
readonly BatchCommand: SqlBatchCommand;
|
|
1023
1036
|
readonly Class: byte;
|
|
1024
1037
|
readonly ClientConnectionId: Guid;
|
|
1038
|
+
readonly DbBatchCommand: DbBatchCommand;
|
|
1025
1039
|
readonly Errors: SqlErrorCollection;
|
|
1026
1040
|
readonly LineNumber: int;
|
|
1027
1041
|
readonly Number: int;
|
|
@@ -1035,7 +1049,6 @@ export interface SqlException$instance extends SqlException$protected, DbExcepti
|
|
|
1035
1049
|
|
|
1036
1050
|
|
|
1037
1051
|
export const SqlException: {
|
|
1038
|
-
new(): SqlException;
|
|
1039
1052
|
};
|
|
1040
1053
|
|
|
1041
1054
|
|
|
@@ -1050,7 +1063,6 @@ export interface SqlInfoMessageEventArgs$instance extends EventArgs {
|
|
|
1050
1063
|
|
|
1051
1064
|
|
|
1052
1065
|
export const SqlInfoMessageEventArgs: {
|
|
1053
|
-
new(): SqlInfoMessageEventArgs;
|
|
1054
1066
|
};
|
|
1055
1067
|
|
|
1056
1068
|
|
|
@@ -1071,6 +1083,10 @@ export const SqlNotificationEventArgs: {
|
|
|
1071
1083
|
export type SqlNotificationEventArgs = SqlNotificationEventArgs$instance;
|
|
1072
1084
|
|
|
1073
1085
|
export interface SqlParameter$instance extends DbParameter {
|
|
1086
|
+
readonly __tsonic_iface_System_Data_IDataParameter: never;
|
|
1087
|
+
readonly __tsonic_iface_System_Data_IDbDataParameter: never;
|
|
1088
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
1089
|
+
|
|
1074
1090
|
CompareInfo: SqlCompareOptions;
|
|
1075
1091
|
DbType: DbType;
|
|
1076
1092
|
Direction: ParameterDirection;
|
|
@@ -1112,15 +1128,12 @@ export const SqlParameter: {
|
|
|
1112
1128
|
|
|
1113
1129
|
export type SqlParameter = SqlParameter$instance;
|
|
1114
1130
|
|
|
1115
|
-
export
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
}
|
|
1121
|
-
|
|
1131
|
+
export interface SqlParameterCollection$instance extends DbParameterCollection {
|
|
1132
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
1133
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
1134
|
+
readonly __tsonic_iface_System_Collections_IList: never;
|
|
1135
|
+
readonly __tsonic_iface_System_Data_IDataParameterCollection: never;
|
|
1122
1136
|
|
|
1123
|
-
export interface SqlParameterCollection$instance extends SqlParameterCollection$protected, DbParameterCollection {
|
|
1124
1137
|
readonly Count: int;
|
|
1125
1138
|
readonly IsFixedSize: boolean;
|
|
1126
1139
|
readonly IsReadOnly: boolean;
|
|
@@ -1142,6 +1155,8 @@ export interface SqlParameterCollection$instance extends SqlParameterCollection$
|
|
|
1142
1155
|
get_Item(index: int): SqlParameter;
|
|
1143
1156
|
get_Item(parameterName: string): SqlParameter;
|
|
1144
1157
|
GetEnumerator(): IEnumerator;
|
|
1158
|
+
GetParameter(index: int): DbParameter;
|
|
1159
|
+
GetParameter(parameterName: string): DbParameter;
|
|
1145
1160
|
IndexOf(value: SqlParameter): int;
|
|
1146
1161
|
IndexOf(value: unknown): int;
|
|
1147
1162
|
IndexOf(parameterName: string): int;
|
|
@@ -1153,11 +1168,12 @@ export interface SqlParameterCollection$instance extends SqlParameterCollection$
|
|
|
1153
1168
|
RemoveAt(parameterName: string): void;
|
|
1154
1169
|
set_Item(index: int, value: SqlParameter): void;
|
|
1155
1170
|
set_Item(parameterName: string, value: SqlParameter): void;
|
|
1171
|
+
SetParameter(index: int, value: DbParameter): void;
|
|
1172
|
+
SetParameter(parameterName: string, value: DbParameter): void;
|
|
1156
1173
|
}
|
|
1157
1174
|
|
|
1158
1175
|
|
|
1159
1176
|
export const SqlParameterCollection: {
|
|
1160
|
-
new(): SqlParameterCollection;
|
|
1161
1177
|
};
|
|
1162
1178
|
|
|
1163
1179
|
|
|
@@ -1178,33 +1194,34 @@ export const SqlRetryingEventArgs: {
|
|
|
1178
1194
|
|
|
1179
1195
|
export type SqlRetryingEventArgs = SqlRetryingEventArgs$instance;
|
|
1180
1196
|
|
|
1181
|
-
export
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1197
|
+
export interface SqlRetryIntervalBaseEnumerator$instance {
|
|
1198
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
1199
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
1200
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
1201
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1186
1202
|
|
|
1187
|
-
export interface SqlRetryIntervalBaseEnumerator$instance extends SqlRetryIntervalBaseEnumerator$protected {
|
|
1188
1203
|
Current: TimeSpan;
|
|
1189
1204
|
GapTimeInterval: TimeSpan;
|
|
1190
1205
|
MaxTimeInterval: TimeSpan;
|
|
1191
1206
|
MinTimeInterval: TimeSpan;
|
|
1192
1207
|
Clone(): unknown;
|
|
1193
1208
|
Dispose(): void;
|
|
1209
|
+
GetNextInterval(): TimeSpan;
|
|
1194
1210
|
MoveNext(): boolean;
|
|
1195
1211
|
Reset(): void;
|
|
1212
|
+
Validate(timeInterval: TimeSpan, maxTimeInterval: TimeSpan, minTimeInterval: TimeSpan): void;
|
|
1196
1213
|
}
|
|
1197
1214
|
|
|
1198
1215
|
|
|
1199
|
-
export const SqlRetryIntervalBaseEnumerator: {
|
|
1200
|
-
new(): SqlRetryIntervalBaseEnumerator;
|
|
1201
|
-
new(timeInterval: TimeSpan, maxTime: TimeSpan, minTime: TimeSpan): SqlRetryIntervalBaseEnumerator;
|
|
1216
|
+
export const SqlRetryIntervalBaseEnumerator: (abstract new() => SqlRetryIntervalBaseEnumerator) & (abstract new(timeInterval: TimeSpan, maxTime: TimeSpan, minTime: TimeSpan) => SqlRetryIntervalBaseEnumerator) & {
|
|
1202
1217
|
};
|
|
1203
1218
|
|
|
1204
1219
|
|
|
1205
1220
|
export type SqlRetryIntervalBaseEnumerator = SqlRetryIntervalBaseEnumerator$instance;
|
|
1206
1221
|
|
|
1207
1222
|
export interface SqlRetryLogicBase$instance {
|
|
1223
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
1224
|
+
|
|
1208
1225
|
Current: int;
|
|
1209
1226
|
NumberOfTries: int;
|
|
1210
1227
|
RetryIntervalEnumerator: SqlRetryIntervalBaseEnumerator;
|
|
@@ -1216,8 +1233,7 @@ export interface SqlRetryLogicBase$instance {
|
|
|
1216
1233
|
}
|
|
1217
1234
|
|
|
1218
1235
|
|
|
1219
|
-
export const SqlRetryLogicBase: {
|
|
1220
|
-
new(): SqlRetryLogicBase;
|
|
1236
|
+
export const SqlRetryLogicBase: (abstract new() => SqlRetryLogicBase) & {
|
|
1221
1237
|
};
|
|
1222
1238
|
|
|
1223
1239
|
|
|
@@ -1232,8 +1248,7 @@ export interface SqlRetryLogicBaseProvider$instance {
|
|
|
1232
1248
|
}
|
|
1233
1249
|
|
|
1234
1250
|
|
|
1235
|
-
export const SqlRetryLogicBaseProvider: {
|
|
1236
|
-
new(): SqlRetryLogicBaseProvider;
|
|
1251
|
+
export const SqlRetryLogicBaseProvider: (abstract new() => SqlRetryLogicBaseProvider) & {
|
|
1237
1252
|
};
|
|
1238
1253
|
|
|
1239
1254
|
|
|
@@ -1281,12 +1296,8 @@ export const SqlRowUpdatedEventArgs: {
|
|
|
1281
1296
|
|
|
1282
1297
|
export type SqlRowUpdatedEventArgs = SqlRowUpdatedEventArgs$instance;
|
|
1283
1298
|
|
|
1284
|
-
export
|
|
1285
|
-
|
|
1286
|
-
}
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
export interface SqlRowUpdatingEventArgs$instance extends SqlRowUpdatingEventArgs$protected, RowUpdatingEventArgs {
|
|
1299
|
+
export interface SqlRowUpdatingEventArgs$instance extends RowUpdatingEventArgs {
|
|
1300
|
+
BaseCommand: IDbCommand;
|
|
1290
1301
|
Command: SqlCommand;
|
|
1291
1302
|
}
|
|
1292
1303
|
|
|
@@ -1298,16 +1309,16 @@ export const SqlRowUpdatingEventArgs: {
|
|
|
1298
1309
|
|
|
1299
1310
|
export type SqlRowUpdatingEventArgs = SqlRowUpdatingEventArgs$instance;
|
|
1300
1311
|
|
|
1301
|
-
export
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1312
|
+
export interface SqlTransaction$instance extends DbTransaction {
|
|
1313
|
+
readonly __tsonic_iface_System_Data_IDbTransaction: never;
|
|
1314
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
1315
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1306
1316
|
|
|
1307
|
-
export interface SqlTransaction$instance extends SqlTransaction$protected, DbTransaction {
|
|
1308
1317
|
readonly Connection: SqlConnection;
|
|
1318
|
+
readonly DbConnection: DbConnection;
|
|
1309
1319
|
readonly IsolationLevel: IsolationLevel;
|
|
1310
1320
|
Commit(): void;
|
|
1321
|
+
Dispose(disposing: boolean): void;
|
|
1311
1322
|
Rollback(): void;
|
|
1312
1323
|
Rollback(transactionName: string): void;
|
|
1313
1324
|
Save(savePointName: string): void;
|
|
@@ -1315,7 +1326,6 @@ export interface SqlTransaction$instance extends SqlTransaction$protected, DbTra
|
|
|
1315
1326
|
|
|
1316
1327
|
|
|
1317
1328
|
export const SqlTransaction: {
|
|
1318
|
-
new(): SqlTransaction;
|
|
1319
1329
|
};
|
|
1320
1330
|
|
|
1321
1331
|
|