@tsonic/dotnet 10.0.2 → 10.0.4

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.
Files changed (109) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -3
  2. package/Microsoft.VisualBasic/internal/index.d.ts +1 -11
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +0 -22
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -9
  5. package/Microsoft.Win32/internal/index.d.ts +0 -1
  6. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +53 -127
  7. package/System/internal/index.d.ts +87 -200
  8. package/System.Buffers/internal/index.d.ts +10 -23
  9. package/System.CodeDom.Compiler/internal/index.d.ts +6 -10
  10. package/System.Collections/internal/index.d.ts +41 -57
  11. package/System.Collections.Concurrent/internal/index.d.ts +4 -10
  12. package/System.Collections.Generic/internal/index.d.ts +15 -37
  13. package/System.Collections.Immutable/internal/index.d.ts +7 -20
  14. package/System.Collections.ObjectModel/internal/index.d.ts +25 -48
  15. package/System.Collections.Specialized/internal/index.d.ts +15 -30
  16. package/System.ComponentModel/internal/index.d.ts +126 -216
  17. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +80 -161
  18. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +4 -3
  19. package/System.ComponentModel.Design/internal/index.d.ts +26 -53
  20. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +18 -29
  21. package/System.Data/internal/index.d.ts +110 -188
  22. package/System.Data.Common/internal/index.d.ts +155 -238
  23. package/System.Data.SqlTypes/internal/index.d.ts +6 -7
  24. package/System.Diagnostics/internal/index.d.ts +105 -169
  25. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +24 -21
  26. package/System.Diagnostics.Contracts/internal/index.d.ts +2 -2
  27. package/System.Diagnostics.Metrics/internal/index.d.ts +31 -66
  28. package/System.Diagnostics.Tracing/internal/index.d.ts +26 -35
  29. package/System.Dynamic/internal/index.d.ts +15 -29
  30. package/System.Formats.Asn1/internal/index.d.ts +0 -1
  31. package/System.Formats.Tar/internal/index.d.ts +1 -1
  32. package/System.Globalization/internal/index.d.ts +17 -51
  33. package/System.IO/internal/index.d.ts +47 -123
  34. package/System.IO.Compression/internal/index.d.ts +11 -33
  35. package/System.IO.Enumeration/internal/index.d.ts +11 -16
  36. package/System.IO.IsolatedStorage/internal/index.d.ts +6 -17
  37. package/System.IO.MemoryMappedFiles/internal/index.d.ts +6 -21
  38. package/System.IO.Pipelines/internal/index.d.ts +7 -18
  39. package/System.IO.Pipes/internal/index.d.ts +24 -50
  40. package/System.Linq/internal/index.d.ts +0 -4
  41. package/System.Linq.Expressions/internal/index.d.ts +108 -257
  42. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -1
  43. package/System.Net/internal/index.d.ts +133 -184
  44. package/System.Net.Http/internal/index.d.ts +128 -201
  45. package/System.Net.Http.Headers/internal/index.d.ts +37 -40
  46. package/System.Net.Http.Json/internal/index.d.ts +8 -13
  47. package/System.Net.Http.Metrics/internal/index.d.ts +2 -3
  48. package/System.Net.Mail/internal/index.d.ts +49 -105
  49. package/System.Net.Mime/internal/index.d.ts +4 -3
  50. package/System.Net.NetworkInformation/internal/index.d.ts +29 -60
  51. package/System.Net.Quic/internal/index.d.ts +5 -11
  52. package/System.Net.Security/internal/index.d.ts +30 -42
  53. package/System.Net.ServerSentEvents/internal/index.d.ts +1 -2
  54. package/System.Net.Sockets/internal/index.d.ts +33 -56
  55. package/System.Net.WebSockets/internal/index.d.ts +16 -23
  56. package/System.Numerics/internal/index.d.ts +5 -5
  57. package/System.Reflection/internal/index.d.ts +66 -102
  58. package/System.Reflection.Emit/internal/index.d.ts +104 -177
  59. package/System.Reflection.Metadata/internal/index.d.ts +11 -21
  60. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +0 -1
  61. package/System.Reflection.PortableExecutable/internal/index.d.ts +12 -30
  62. package/System.Resources/internal/index.d.ts +8 -20
  63. package/System.Runtime/internal/index.d.ts +5 -8
  64. package/System.Runtime.CompilerServices/internal/index.d.ts +15 -21
  65. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -8
  66. package/System.Runtime.ExceptionServices/internal/index.d.ts +0 -1
  67. package/System.Runtime.InteropServices/internal/index.d.ts +29 -62
  68. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +1 -22
  69. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +14 -23
  70. package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
  71. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -2
  72. package/System.Runtime.Loader/internal/index.d.ts +5 -11
  73. package/System.Runtime.Serialization/internal/index.d.ts +62 -65
  74. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +8 -10
  75. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  76. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -2
  77. package/System.Runtime.Serialization.Json/internal/index.d.ts +6 -4
  78. package/System.Runtime.Versioning/internal/index.d.ts +6 -6
  79. package/System.Security/internal/index.d.ts +22 -25
  80. package/System.Security.AccessControl/internal/index.d.ts +51 -89
  81. package/System.Security.Authentication/internal/index.d.ts +0 -2
  82. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -10
  83. package/System.Security.Claims/internal/index.d.ts +19 -38
  84. package/System.Security.Cryptography/internal/index.d.ts +492 -903
  85. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +19 -48
  86. package/System.Security.Permissions/internal/index.d.ts +2 -4
  87. package/System.Security.Policy/internal/index.d.ts +3 -4
  88. package/System.Security.Principal/internal/index.d.ts +11 -17
  89. package/System.Text/internal/index.d.ts +11 -23
  90. package/System.Text.Encodings.Web/internal/index.d.ts +4 -8
  91. package/System.Text.Json/internal/index.d.ts +10 -12
  92. package/System.Text.Json.Nodes/internal/index.d.ts +4 -3
  93. package/System.Text.Json.Schema/internal/index.d.ts +1 -1
  94. package/System.Text.Json.Serialization/internal/index.d.ts +19 -27
  95. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +36 -34
  96. package/System.Text.RegularExpressions/internal/index.d.ts +11 -31
  97. package/System.Threading/internal/index.d.ts +36 -106
  98. package/System.Threading.Channels/internal/index.d.ts +7 -12
  99. package/System.Threading.Tasks/internal/index.d.ts +18 -29
  100. package/System.Timers/internal/index.d.ts +4 -8
  101. package/System.Transactions/internal/index.d.ts +3 -14
  102. package/System.Xml/internal/index.d.ts +104 -167
  103. package/System.Xml.Linq/internal/index.d.ts +17 -13
  104. package/System.Xml.Schema/internal/index.d.ts +117 -112
  105. package/System.Xml.Serialization/internal/index.d.ts +92 -100
  106. package/System.Xml.XPath/internal/index.d.ts +5 -9
  107. package/System.Xml.Xsl/internal/index.d.ts +4 -9
  108. package/System.Xml.Xsl.Runtime/internal/index.d.ts +11 -29
  109. package/package.json +1 -1
@@ -69,21 +69,7 @@ export interface IDbColumnSchemaGenerator$instance {
69
69
 
70
70
  export type IDbColumnSchemaGenerator = IDbColumnSchemaGenerator$instance;
71
71
 
72
- export abstract class DataAdapter$protected {
73
- protected CloneInternals(): DataAdapter;
74
- protected CreateTableMappings(): DataTableMappingCollection;
75
- protected Dispose2(disposing: boolean): void;
76
- protected Fill(dataTable: DataTable, dataReader: IDataReader): int;
77
- protected Fill(dataTables: DataTable[], dataReader: IDataReader, startRecord: int, maxRecords: int): int;
78
- protected Fill(dataSet: DataSet, srcTable: string, dataReader: IDataReader, startRecord: int, maxRecords: int): int;
79
- protected FillSchema(dataTable: DataTable, schemaType: SchemaType, dataReader: IDataReader): DataTable | undefined;
80
- protected FillSchema(dataSet: DataSet, schemaType: SchemaType, srcTable: string, dataReader: IDataReader): DataTable[];
81
- protected OnFillError(value: FillErrorEventArgs): void;
82
- protected ShouldSerializeTableMappings(): boolean;
83
- }
84
-
85
-
86
- export interface DataAdapter$instance extends DataAdapter$protected, Component {
72
+ export interface DataAdapter$instance extends Component {
87
73
  AcceptChangesDuringFill: boolean;
88
74
  AcceptChangesDuringUpdate: boolean;
89
75
  ContinueUpdateOnError: boolean;
@@ -92,20 +78,28 @@ export interface DataAdapter$instance extends DataAdapter$protected, Component {
92
78
  MissingSchemaAction: MissingSchemaAction;
93
79
  ReturnProviderSpecificTypes: boolean;
94
80
  readonly TableMappings: DataTableMappingCollection;
81
+ CloneInternals(): DataAdapter;
82
+ CreateTableMappings(): DataTableMappingCollection;
83
+ Dispose(disposing: boolean): void;
95
84
  Dispose(): void;
96
85
  Fill(dataSet: DataSet): int;
86
+ Fill(dataSet: DataSet, srcTable: string, dataReader: IDataReader, startRecord: int, maxRecords: int): int;
87
+ Fill(dataTable: DataTable, dataReader: IDataReader): int;
88
+ Fill(dataTables: DataTable[], dataReader: IDataReader, startRecord: int, maxRecords: int): int;
97
89
  FillSchema(dataSet: DataSet, schemaType: SchemaType): DataTable[];
90
+ FillSchema(dataSet: DataSet, schemaType: SchemaType, srcTable: string, dataReader: IDataReader): DataTable[];
91
+ FillSchema(dataTable: DataTable, schemaType: SchemaType, dataReader: IDataReader): DataTable | undefined;
98
92
  GetFillParameters(): IDataParameter[];
93
+ OnFillError(value: FillErrorEventArgs): void;
99
94
  ResetFillLoadOption(): void;
100
95
  ShouldSerializeAcceptChangesDuringFill(): boolean;
101
96
  ShouldSerializeFillLoadOption(): boolean;
97
+ ShouldSerializeTableMappings(): boolean;
102
98
  Update(dataSet: DataSet): int;
103
99
  }
104
100
 
105
101
 
106
- export const DataAdapter: {
107
- new(): DataAdapter;
108
- new(from: DataAdapter): DataAdapter;
102
+ export const DataAdapter: (abstract new() => DataAdapter) & (abstract new(from: DataAdapter) => DataAdapter) & {
109
103
  };
110
104
 
111
105
 
@@ -262,26 +256,25 @@ export interface __DataTableMappingCollection$views {
262
256
  export type DataTableMappingCollection = DataTableMappingCollection$instance & __DataTableMappingCollection$views;
263
257
 
264
258
 
265
- export abstract class DbBatch$protected {
266
- protected readonly DbBatchCommands: DbBatchCommandCollection;
267
- protected DbConnection: DbConnection | undefined;
268
- protected DbTransaction: DbTransaction | undefined;
269
- protected abstract CreateDbBatchCommand(): DbBatchCommand;
270
- protected abstract ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
271
- protected abstract ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task_1<DbDataReader>;
272
- }
273
-
274
-
275
- export interface DbBatch$instance extends DbBatch$protected {
259
+ export interface DbBatch$instance {
276
260
  readonly BatchCommands: DbBatchCommandCollection;
277
- Connection: DbConnection;
261
+ get Connection(): DbConnection | undefined;
262
+ set Connection(value: DbConnection | undefined);
263
+ readonly DbBatchCommands: DbBatchCommandCollection;
264
+ get DbConnection(): DbConnection | undefined;
265
+ set DbConnection(value: DbConnection | undefined);
266
+ get DbTransaction(): DbTransaction | undefined;
267
+ set DbTransaction(value: DbTransaction | undefined);
278
268
  Timeout: int;
279
269
  get Transaction(): DbTransaction | undefined;
280
- set Transaction(value: DbTransaction);
270
+ set Transaction(value: DbTransaction | undefined);
281
271
  Cancel(): void;
282
272
  CreateBatchCommand(): DbBatchCommand;
273
+ CreateDbBatchCommand(): DbBatchCommand;
283
274
  Dispose(): void;
284
275
  DisposeAsync(): ValueTask;
276
+ ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
277
+ ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task_1<DbDataReader>;
285
278
  ExecuteNonQuery(): int;
286
279
  ExecuteNonQueryAsync(cancellationToken?: CancellationToken): Task_1<System_Internal.Int32>;
287
280
  ExecuteReader(behavior?: CommandBehavior): DbDataReader;
@@ -294,8 +287,7 @@ export interface DbBatch$instance extends DbBatch$protected {
294
287
  }
295
288
 
296
289
 
297
- export const DbBatch: {
298
- new(): DbBatch;
290
+ export const DbBatch: (abstract new() => DbBatch) & {
299
291
  };
300
292
 
301
293
 
@@ -309,52 +301,42 @@ export interface DbBatch$instance extends System_Internal.IAsyncDisposable$insta
309
301
  export type DbBatch = DbBatch$instance & __DbBatch$views;
310
302
 
311
303
 
312
- export abstract class DbBatchCommand$protected {
313
- protected readonly DbParameterCollection: DbParameterCollection;
314
- }
315
-
316
-
317
- export interface DbBatchCommand$instance extends DbBatchCommand$protected {
304
+ export interface DbBatchCommand$instance {
318
305
  readonly CanCreateParameter: boolean;
319
306
  CommandText: string;
320
307
  CommandType: CommandType;
308
+ readonly DbParameterCollection: DbParameterCollection;
321
309
  readonly Parameters: DbParameterCollection;
322
310
  readonly RecordsAffected: int;
323
311
  CreateParameter(): DbParameter;
324
312
  }
325
313
 
326
314
 
327
- export const DbBatchCommand: {
328
- new(): DbBatchCommand;
315
+ export const DbBatchCommand: (abstract new() => DbBatchCommand) & {
329
316
  };
330
317
 
331
318
 
332
319
  export type DbBatchCommand = DbBatchCommand$instance;
333
320
 
334
- export abstract class DbBatchCommandCollection$protected {
335
- protected abstract GetBatchCommand(index: int): DbBatchCommand;
336
- protected abstract SetBatchCommand(index: int, batchCommand: DbBatchCommand): void;
337
- }
338
-
339
-
340
- export interface DbBatchCommandCollection$instance extends DbBatchCommandCollection$protected {
321
+ export interface DbBatchCommandCollection$instance {
341
322
  readonly Count: int;
342
323
  readonly IsReadOnly: boolean;
343
- Item: DbBatchCommand;
324
+ [index: number]: DbBatchCommand;
344
325
  Add(item: DbBatchCommand): void;
345
326
  Clear(): void;
346
327
  Contains(item: DbBatchCommand): boolean;
347
328
  CopyTo(array: DbBatchCommand[], arrayIndex: int): void;
329
+ GetBatchCommand(index: int): DbBatchCommand;
348
330
  GetEnumerator(): IEnumerator_1<DbBatchCommand>;
349
331
  IndexOf(item: DbBatchCommand): int;
350
332
  Insert(index: int, item: DbBatchCommand): void;
351
333
  Remove(item: DbBatchCommand): boolean;
352
334
  RemoveAt(index: int): void;
335
+ SetBatchCommand(index: int, batchCommand: DbBatchCommand): void;
353
336
  }
354
337
 
355
338
 
356
- export const DbBatchCommandCollection: {
357
- new(): DbBatchCommandCollection;
339
+ export const DbBatchCommandCollection: (abstract new() => DbBatchCommandCollection) & {
358
340
  };
359
341
 
360
342
 
@@ -371,21 +353,22 @@ export type DbBatchCommandCollection = DbBatchCommandCollection$instance & __DbB
371
353
  export interface DbColumn$instance {
372
354
  AllowDBNull: Nullable_1<System_Internal.Boolean>;
373
355
  get BaseCatalogName(): string | undefined;
374
- set BaseCatalogName(value: string);
356
+ set BaseCatalogName(value: string | undefined);
375
357
  get BaseColumnName(): string | undefined;
376
- set BaseColumnName(value: string);
358
+ set BaseColumnName(value: string | undefined);
377
359
  get BaseSchemaName(): string | undefined;
378
- set BaseSchemaName(value: string);
360
+ set BaseSchemaName(value: string | undefined);
379
361
  get BaseServerName(): string | undefined;
380
- set BaseServerName(value: string);
362
+ set BaseServerName(value: string | undefined);
381
363
  get BaseTableName(): string | undefined;
382
- set BaseTableName(value: string);
364
+ set BaseTableName(value: string | undefined);
383
365
  ColumnName: string;
384
366
  ColumnOrdinal: Nullable_1<System_Internal.Int32>;
385
367
  ColumnSize: Nullable_1<System_Internal.Int32>;
386
- DataType: Type;
368
+ get DataType(): Type | undefined;
369
+ set DataType(value: Type | undefined);
387
370
  get DataTypeName(): string | undefined;
388
- set DataTypeName(value: string);
371
+ set DataTypeName(value: string | undefined);
389
372
  IsAliased: Nullable_1<System_Internal.Boolean>;
390
373
  IsAutoIncrement: Nullable_1<System_Internal.Boolean>;
391
374
  IsExpression: Nullable_1<System_Internal.Boolean>;
@@ -395,46 +378,44 @@ export interface DbColumn$instance {
395
378
  IsLong: Nullable_1<System_Internal.Boolean>;
396
379
  IsReadOnly: Nullable_1<System_Internal.Boolean>;
397
380
  IsUnique: Nullable_1<System_Internal.Boolean>;
398
- readonly Item: unknown;
381
+ readonly [property: string]: unknown | undefined;
399
382
  NumericPrecision: Nullable_1<System_Internal.Int32>;
400
383
  NumericScale: Nullable_1<System_Internal.Int32>;
401
384
  get UdtAssemblyQualifiedName(): string | undefined;
402
- set UdtAssemblyQualifiedName(value: string);
385
+ set UdtAssemblyQualifiedName(value: string | undefined);
403
386
  }
404
387
 
405
388
 
406
- export const DbColumn: {
407
- new(): DbColumn;
389
+ export const DbColumn: (abstract new() => DbColumn) & {
408
390
  };
409
391
 
410
392
 
411
393
  export type DbColumn = DbColumn$instance;
412
394
 
413
- export abstract class DbCommand$protected {
414
- protected DbConnection: DbConnection | undefined;
415
- protected readonly DbParameterCollection: DbParameterCollection;
416
- protected DbTransaction: DbTransaction | undefined;
417
- protected abstract CreateDbParameter(): DbParameter;
418
- protected Dispose2(disposing: boolean): void;
419
- protected abstract ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
420
- protected ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task_1<DbDataReader>;
421
- }
422
-
423
-
424
- export interface DbCommand$instance extends DbCommand$protected, Component {
395
+ export interface DbCommand$instance extends Component {
425
396
  CommandText: string;
426
397
  CommandTimeout: int;
427
398
  CommandType: CommandType;
428
- Connection: DbConnection;
399
+ get Connection(): DbConnection | undefined;
400
+ set Connection(value: DbConnection | undefined);
401
+ get DbConnection(): DbConnection | undefined;
402
+ set DbConnection(value: DbConnection | undefined);
403
+ readonly DbParameterCollection: DbParameterCollection;
404
+ get DbTransaction(): DbTransaction | undefined;
405
+ set DbTransaction(value: DbTransaction | undefined);
429
406
  DesignTimeVisible: boolean;
430
407
  readonly Parameters: DbParameterCollection;
431
408
  get Transaction(): DbTransaction | undefined;
432
- set Transaction(value: DbTransaction);
409
+ set Transaction(value: DbTransaction | undefined);
433
410
  UpdatedRowSource: UpdateRowSource;
434
411
  Cancel(): void;
412
+ CreateDbParameter(): DbParameter;
435
413
  CreateParameter(): DbParameter;
436
414
  Dispose(): void;
415
+ Dispose(disposing: boolean): void;
437
416
  DisposeAsync(): ValueTask;
417
+ ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
418
+ ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task_1<DbDataReader>;
438
419
  ExecuteNonQuery(): int;
439
420
  ExecuteNonQueryAsync(): Task_1<System_Internal.Int32>;
440
421
  ExecuteNonQueryAsync(cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
@@ -452,8 +433,7 @@ export interface DbCommand$instance extends DbCommand$protected, Component {
452
433
  }
453
434
 
454
435
 
455
- export const DbCommand: {
456
- new(): DbCommand;
436
+ export const DbCommand: (abstract new() => DbCommand) & {
457
437
  };
458
438
 
459
439
 
@@ -469,43 +449,38 @@ export interface DbCommand$instance extends System_Internal.IAsyncDisposable$ins
469
449
  export type DbCommand = DbCommand$instance & __DbCommand$views;
470
450
 
471
451
 
472
- export abstract class DbCommandBuilder$protected {
473
- protected abstract ApplyParameterInfo(parameter: DbParameter, row: DataRow, statementType: StatementType, whereClause: boolean): void;
474
- protected Dispose2(disposing: boolean): void;
475
- protected abstract GetParameterName(parameterOrdinal: int): string;
476
- protected abstract GetParameterName(parameterName: string): string;
477
- protected abstract GetParameterPlaceholder(parameterOrdinal: int): string;
478
- protected GetSchemaTable(sourceCommand: DbCommand): DataTable | undefined;
479
- protected InitializeCommand(command: DbCommand): DbCommand;
480
- protected abstract SetRowUpdatingHandler(adapter: DbDataAdapter): void;
481
- }
482
-
483
-
484
- export interface DbCommandBuilder$instance extends DbCommandBuilder$protected, Component {
452
+ export interface DbCommandBuilder$instance extends Component {
485
453
  CatalogLocation: CatalogLocation;
486
454
  CatalogSeparator: string;
487
455
  ConflictOption: ConflictOption;
488
456
  get DataAdapter(): DbDataAdapter | undefined;
489
- set DataAdapter(value: DbDataAdapter);
457
+ set DataAdapter(value: DbDataAdapter | undefined);
490
458
  QuotePrefix: string;
491
459
  QuoteSuffix: string;
492
460
  SchemaSeparator: string;
493
461
  SetAllValues: boolean;
462
+ ApplyParameterInfo(parameter: DbParameter, row: DataRow, statementType: StatementType, whereClause: boolean): void;
463
+ Dispose(disposing: boolean): void;
494
464
  Dispose(): void;
495
465
  GetDeleteCommand(): DbCommand;
496
466
  GetDeleteCommand(useColumnsForParameterNames: boolean): DbCommand;
497
467
  GetInsertCommand(): DbCommand;
498
468
  GetInsertCommand(useColumnsForParameterNames: boolean): DbCommand;
469
+ GetParameterName(parameterOrdinal: int): string;
470
+ GetParameterName(parameterName: string): string;
471
+ GetParameterPlaceholder(parameterOrdinal: int): string;
472
+ GetSchemaTable(sourceCommand: DbCommand): DataTable | undefined;
499
473
  GetUpdateCommand(): DbCommand;
500
474
  GetUpdateCommand(useColumnsForParameterNames: boolean): DbCommand;
475
+ InitializeCommand(command: DbCommand): DbCommand;
501
476
  QuoteIdentifier(unquotedIdentifier: string): string;
502
477
  RefreshSchema(): void;
478
+ SetRowUpdatingHandler(adapter: DbDataAdapter): void;
503
479
  UnquoteIdentifier(quotedIdentifier: string): string;
504
480
  }
505
481
 
506
482
 
507
- export const DbCommandBuilder: {
508
- new(): DbCommandBuilder;
483
+ export const DbCommandBuilder: (abstract new() => DbCommandBuilder) & {
509
484
  };
510
485
 
511
486
 
@@ -517,25 +492,17 @@ export interface __DbCommandBuilder$views {
517
492
  export type DbCommandBuilder = DbCommandBuilder$instance & __DbCommandBuilder$views;
518
493
 
519
494
 
520
- export abstract class DbConnection$protected {
521
- protected readonly DbProviderFactory: DbProviderFactory | undefined;
522
- protected abstract BeginDbTransaction(isolationLevel: IsolationLevel): DbTransaction;
523
- protected BeginDbTransactionAsync(isolationLevel: IsolationLevel, cancellationToken: CancellationToken): ValueTask_1<DbTransaction>;
524
- protected CreateDbBatch(): DbBatch;
525
- protected abstract CreateDbCommand(): DbCommand;
526
- protected Dispose2(disposing: boolean): void;
527
- protected OnStateChange(stateChange: StateChangeEventArgs): void;
528
- }
529
-
530
-
531
- export interface DbConnection$instance extends DbConnection$protected, Component {
495
+ export interface DbConnection$instance extends Component {
532
496
  readonly CanCreateBatch: boolean;
533
497
  ConnectionString: string;
534
498
  readonly ConnectionTimeout: int;
535
499
  readonly Database: string;
536
500
  readonly DataSource: string;
501
+ readonly DbProviderFactory: DbProviderFactory | undefined;
537
502
  readonly ServerVersion: string;
538
503
  readonly State: ConnectionState;
504
+ BeginDbTransaction(isolationLevel: IsolationLevel): DbTransaction;
505
+ BeginDbTransactionAsync(isolationLevel: IsolationLevel, cancellationToken: CancellationToken): ValueTask_1<DbTransaction>;
539
506
  BeginTransaction(): DbTransaction;
540
507
  BeginTransaction(isolationLevel: IsolationLevel): DbTransaction;
541
508
  BeginTransactionAsync(cancellationToken?: CancellationToken): ValueTask_1<DbTransaction>;
@@ -546,7 +513,10 @@ export interface DbConnection$instance extends DbConnection$protected, Component
546
513
  CloseAsync(): Task;
547
514
  CreateBatch(): DbBatch;
548
515
  CreateCommand(): DbCommand;
516
+ CreateDbBatch(): DbBatch;
517
+ CreateDbCommand(): DbCommand;
549
518
  Dispose(): void;
519
+ Dispose(disposing: boolean): void;
550
520
  DisposeAsync(): ValueTask;
551
521
  EnlistTransaction(transaction: Transaction): void;
552
522
  GetSchema(): DataTable;
@@ -555,14 +525,14 @@ export interface DbConnection$instance extends DbConnection$protected, Component
555
525
  GetSchemaAsync(cancellationToken?: CancellationToken): Task_1<DataTable>;
556
526
  GetSchemaAsync(collectionName: string, cancellationToken?: CancellationToken): Task_1<DataTable>;
557
527
  GetSchemaAsync(collectionName: string, restrictionValues: string[], cancellationToken?: CancellationToken): Task_1<DataTable>;
528
+ OnStateChange(stateChange: StateChangeEventArgs): void;
558
529
  Open(): void;
559
530
  OpenAsync(): Task;
560
531
  OpenAsync(cancellationToken: CancellationToken): Task;
561
532
  }
562
533
 
563
534
 
564
- export const DbConnection: {
565
- new(): DbConnection;
535
+ export const DbConnection: (abstract new() => DbConnection) & {
566
536
  };
567
537
 
568
538
 
@@ -578,24 +548,20 @@ export interface DbConnection$instance extends System_Internal.IAsyncDisposable$
578
548
  export type DbConnection = DbConnection$instance & __DbConnection$views;
579
549
 
580
550
 
581
- export abstract class DbConnectionStringBuilder$protected {
582
- protected GetProperties(propertyDescriptors: Hashtable): void;
583
- }
584
-
585
-
586
- export interface DbConnectionStringBuilder$instance extends DbConnectionStringBuilder$protected {
551
+ export interface DbConnectionStringBuilder$instance {
587
552
  BrowsableConnectionString: boolean;
588
553
  ConnectionString: string;
589
554
  readonly Count: int;
590
555
  readonly IsFixedSize: boolean;
591
556
  readonly IsReadOnly: boolean;
592
- Item: unknown;
557
+ [keyword: string]: unknown;
593
558
  readonly Keys: ICollection;
594
559
  readonly Values: ICollection;
595
560
  Add(keyword: string, value: unknown): void;
596
561
  Clear(): void;
597
562
  ContainsKey(keyword: string): boolean;
598
563
  EquivalentTo(connectionStringBuilder: DbConnectionStringBuilder): boolean;
564
+ GetProperties(propertyDescriptors: Hashtable): void;
599
565
  Remove(keyword: string): boolean;
600
566
  ShouldSerialize(keyword: string): boolean;
601
567
  ToString(): string;
@@ -621,59 +587,47 @@ export interface __DbConnectionStringBuilder$views {
621
587
  export type DbConnectionStringBuilder = DbConnectionStringBuilder$instance & __DbConnectionStringBuilder$views;
622
588
 
623
589
 
624
- export abstract class DbDataAdapter$protected {
625
- protected AddToBatch(command: IDbCommand): int;
626
- protected ClearBatch(): void;
627
- protected CreateRowUpdatedEvent(dataRow: DataRow, command: IDbCommand, statementType: StatementType, tableMapping: DataTableMapping): RowUpdatedEventArgs;
628
- protected CreateRowUpdatingEvent(dataRow: DataRow, command: IDbCommand, statementType: StatementType, tableMapping: DataTableMapping): RowUpdatingEventArgs;
629
- protected Dispose2(disposing: boolean): void;
630
- protected ExecuteBatch(): int;
631
- protected Fill2(dataTable: DataTable, dataReader: IDataReader): int;
632
- protected Fill4(dataTable: DataTable, command: IDbCommand, behavior: CommandBehavior): int;
633
- protected Fill3(dataTables: DataTable[], dataReader: IDataReader, startRecord: int, maxRecords: int): int;
634
- protected Fill4(dataTables: DataTable[], startRecord: int, maxRecords: int, command: IDbCommand, behavior: CommandBehavior): int;
635
- protected Fill(dataSet: DataSet, srcTable: string, dataReader: IDataReader, startRecord: int, maxRecords: int): int;
636
- protected Fill4(dataSet: DataSet, startRecord: int, maxRecords: int, srcTable: string, command: IDbCommand, behavior: CommandBehavior): int;
637
- protected FillSchema2(dataTable: DataTable, schemaType: SchemaType, dataReader: IDataReader): DataTable | undefined;
638
- protected FillSchema3(dataTable: DataTable, schemaType: SchemaType, command: IDbCommand, behavior: CommandBehavior): DataTable | undefined;
639
- protected FillSchema(dataSet: DataSet, schemaType: SchemaType, srcTable: string, dataReader: IDataReader): DataTable[];
640
- protected FillSchema3(dataSet: DataSet, schemaType: SchemaType, command: IDbCommand, srcTable: string, behavior: CommandBehavior): DataTable[];
641
- protected GetBatchedParameter(commandIdentifier: int, parameterIndex: int): IDataParameter;
642
- protected GetBatchedRecordsAffected(commandIdentifier: int, recordsAffected: int, error: Exception): boolean;
643
- protected InitializeBatching(): void;
644
- protected OnRowUpdated(value: RowUpdatedEventArgs): void;
645
- protected OnRowUpdating(value: RowUpdatingEventArgs): void;
646
- protected TerminateBatching(): void;
647
- protected Update(dataRows: DataRow[], tableMapping: DataTableMapping): int;
648
- }
649
-
650
-
651
- export interface DbDataAdapter$instance extends DbDataAdapter$protected, DataAdapter$instance {
590
+ export interface DbDataAdapter$instance extends DataAdapter$instance {
652
591
  get DeleteCommand(): DbCommand | undefined;
653
- set DeleteCommand(value: DbCommand);
592
+ set DeleteCommand(value: DbCommand | undefined);
654
593
  get InsertCommand(): DbCommand | undefined;
655
- set InsertCommand(value: DbCommand);
594
+ set InsertCommand(value: DbCommand | undefined);
656
595
  get SelectCommand(): DbCommand | undefined;
657
- set SelectCommand(value: DbCommand);
596
+ set SelectCommand(value: DbCommand | undefined);
658
597
  UpdateBatchSize: int;
659
598
  get UpdateCommand(): DbCommand | undefined;
660
- set UpdateCommand(value: DbCommand);
599
+ set UpdateCommand(value: DbCommand | undefined);
600
+ AddToBatch(command: IDbCommand): int;
601
+ ClearBatch(): void;
602
+ CreateRowUpdatedEvent(dataRow: DataRow, command: IDbCommand, statementType: StatementType, tableMapping: DataTableMapping): RowUpdatedEventArgs;
603
+ CreateRowUpdatingEvent(dataRow: DataRow, command: IDbCommand, statementType: StatementType, tableMapping: DataTableMapping): RowUpdatingEventArgs;
604
+ Dispose(disposing: boolean): void;
661
605
  Dispose(): void;
662
- Fill4(dataSet: DataSet): int;
663
- Fill4(dataTable: DataTable): int;
664
- Fill4(startRecord: int, maxRecords: int, ...dataTables: DataTable[]): int;
665
- FillSchema3(dataTable: DataTable, schemaType: SchemaType): DataTable | undefined;
666
- FillSchema3(dataSet: DataSet, schemaType: SchemaType): DataTable[];
606
+ ExecuteBatch(): int;
607
+ Fill(dataSet: DataSet): int;
608
+ Fill(dataTable: DataTable): int;
609
+ Fill(startRecord: int, maxRecords: int, ...dataTables: DataTable[]): int;
610
+ Fill(dataSet: DataSet, srcTable: string, dataReader: IDataReader, startRecord: int, maxRecords: int): int;
611
+ Fill(dataTable: DataTable, dataReader: IDataReader): int;
612
+ Fill(dataTables: DataTable[], dataReader: IDataReader, startRecord: int, maxRecords: int): int;
613
+ FillSchema(dataTable: DataTable, schemaType: SchemaType): DataTable | undefined;
614
+ FillSchema(dataSet: DataSet, schemaType: SchemaType): DataTable[];
615
+ FillSchema(dataSet: DataSet, schemaType: SchemaType, srcTable: string, dataReader: IDataReader): DataTable[];
616
+ FillSchema(dataTable: DataTable, schemaType: SchemaType, dataReader: IDataReader): DataTable | undefined;
617
+ GetBatchedParameter(commandIdentifier: int, parameterIndex: int): IDataParameter;
618
+ GetBatchedRecordsAffected(commandIdentifier: int, recordsAffected: int, error: Exception): boolean;
667
619
  GetFillParameters(): IDataParameter[];
620
+ InitializeBatching(): void;
621
+ OnRowUpdated(value: RowUpdatedEventArgs): void;
622
+ OnRowUpdating(value: RowUpdatingEventArgs): void;
623
+ TerminateBatching(): void;
668
624
  Update(dataSet: DataSet): int;
669
625
  Update(dataTable: DataTable): int;
670
626
  Update(dataSet: DataSet, srcTable: string): int;
671
627
  }
672
628
 
673
629
 
674
- export const DbDataAdapter: {
675
- new(): DbDataAdapter;
676
- new(adapter: DbDataAdapter): DbDataAdapter;
630
+ export const DbDataAdapter: (abstract new() => DbDataAdapter) & (abstract new(adapter: DbDataAdapter) => DbDataAdapter) & {
677
631
  readonly DefaultSourceTableName: string;
678
632
  };
679
633
 
@@ -691,13 +645,7 @@ export interface DbDataAdapter$instance extends System_Internal.ICloneable$insta
691
645
  export type DbDataAdapter = DbDataAdapter$instance & __DbDataAdapter$views;
692
646
 
693
647
 
694
- export abstract class DbDataReader$protected {
695
- protected Dispose(disposing: boolean): void;
696
- protected GetDbDataReader(ordinal: int): DbDataReader;
697
- }
698
-
699
-
700
- export interface DbDataReader$instance extends DbDataReader$protected, MarshalByRefObject {
648
+ export interface DbDataReader$instance extends MarshalByRefObject {
701
649
  readonly Depth: int;
702
650
  readonly FieldCount: int;
703
651
  readonly HasRows: boolean;
@@ -707,6 +655,7 @@ export interface DbDataReader$instance extends DbDataReader$protected, MarshalBy
707
655
  Close(): void;
708
656
  CloseAsync(): Task;
709
657
  Dispose(): void;
658
+ Dispose(disposing: boolean): void;
710
659
  DisposeAsync(): ValueTask;
711
660
  get_Item(ordinal: int): unknown;
712
661
  get_Item(name: string): unknown;
@@ -719,6 +668,7 @@ export interface DbDataReader$instance extends DbDataReader$protected, MarshalBy
719
668
  GetData(ordinal: int): DbDataReader;
720
669
  GetDataTypeName(ordinal: int): string;
721
670
  GetDateTime(ordinal: int): DateTime;
671
+ GetDbDataReader(ordinal: int): DbDataReader;
722
672
  GetDecimal(ordinal: int): decimal;
723
673
  GetDouble(ordinal: int): double;
724
674
  GetEnumerator(): IEnumerator;
@@ -755,8 +705,7 @@ export interface DbDataReader$instance extends DbDataReader$protected, MarshalBy
755
705
  }
756
706
 
757
707
 
758
- export const DbDataReader: {
759
- new(): DbDataReader;
708
+ export const DbDataReader: (abstract new() => DbDataReader) & {
760
709
  };
761
710
 
762
711
 
@@ -773,12 +722,7 @@ export interface DbDataReader$instance extends System_Collections_Internal.IEnum
773
722
  export type DbDataReader = DbDataReader$instance & __DbDataReader$views;
774
723
 
775
724
 
776
- export abstract class DbDataRecord$protected {
777
- protected GetDbDataReader(i: int): DbDataReader;
778
- }
779
-
780
-
781
- export interface DbDataRecord$instance extends DbDataRecord$protected {
725
+ export interface DbDataRecord$instance {
782
726
  readonly FieldCount: int;
783
727
  get_Item(i: int): unknown;
784
728
  get_Item(name: string): unknown;
@@ -790,6 +734,7 @@ export interface DbDataRecord$instance extends DbDataRecord$protected {
790
734
  GetData(i: int): IDataReader;
791
735
  GetDataTypeName(i: int): string;
792
736
  GetDateTime(i: int): DateTime;
737
+ GetDbDataReader(i: int): DbDataReader;
793
738
  GetDecimal(i: int): decimal;
794
739
  GetDouble(i: int): double;
795
740
  GetFieldType(i: int): Type;
@@ -807,8 +752,7 @@ export interface DbDataRecord$instance extends DbDataRecord$protected {
807
752
  }
808
753
 
809
754
 
810
- export const DbDataRecord: {
811
- new(): DbDataRecord;
755
+ export const DbDataRecord: (abstract new() => DbDataRecord) & {
812
756
  };
813
757
 
814
758
 
@@ -822,31 +766,26 @@ export interface DbDataRecord$instance extends System_ComponentModel_Internal.IC
822
766
  export type DbDataRecord = DbDataRecord$instance & __DbDataRecord$views;
823
767
 
824
768
 
825
- export abstract class DbDataSource$protected {
826
- protected CreateDbBatch(): DbBatch;
827
- protected CreateDbCommand(commandText?: string): DbCommand;
828
- protected abstract CreateDbConnection(): DbConnection;
829
- protected Dispose(disposing: boolean): void;
830
- protected DisposeAsyncCore(): ValueTask;
831
- protected OpenDbConnection(): DbConnection;
832
- protected OpenDbConnectionAsync(cancellationToken?: CancellationToken): ValueTask_1<DbConnection>;
833
- }
834
-
835
-
836
- export interface DbDataSource$instance extends DbDataSource$protected {
769
+ export interface DbDataSource$instance {
837
770
  readonly ConnectionString: string;
838
771
  CreateBatch(): DbBatch;
839
772
  CreateCommand(commandText?: string): DbCommand;
840
773
  CreateConnection(): DbConnection;
774
+ CreateDbBatch(): DbBatch;
775
+ CreateDbCommand(commandText?: string): DbCommand;
776
+ CreateDbConnection(): DbConnection;
841
777
  Dispose(): void;
778
+ Dispose(disposing: boolean): void;
842
779
  DisposeAsync(): ValueTask;
780
+ DisposeAsyncCore(): ValueTask;
843
781
  OpenConnection(): DbConnection;
844
782
  OpenConnectionAsync(cancellationToken?: CancellationToken): ValueTask_1<DbConnection>;
783
+ OpenDbConnection(): DbConnection;
784
+ OpenDbConnectionAsync(cancellationToken?: CancellationToken): ValueTask_1<DbConnection>;
845
785
  }
846
786
 
847
787
 
848
- export const DbDataSource: {
849
- new(): DbDataSource;
788
+ export const DbDataSource: (abstract new() => DbDataSource) & {
850
789
  };
851
790
 
852
791
 
@@ -865,8 +804,7 @@ export interface DbDataSourceEnumerator$instance {
865
804
  }
866
805
 
867
806
 
868
- export const DbDataSourceEnumerator: {
869
- new(): DbDataSourceEnumerator;
807
+ export const DbDataSourceEnumerator: (abstract new() => DbDataSourceEnumerator) & {
870
808
  };
871
809
 
872
810
 
@@ -896,25 +834,16 @@ export interface DbEnumerator$instance extends System_Collections_Internal.IEnum
896
834
  export type DbEnumerator = DbEnumerator$instance & __DbEnumerator$views;
897
835
 
898
836
 
899
- export abstract class DbException$protected {
900
- protected readonly DbBatchCommand: DbBatchCommand | undefined;
901
- }
902
-
903
-
904
- export interface DbException$instance extends DbException$protected, ExternalException {
837
+ export interface DbException$instance extends ExternalException {
905
838
  readonly BatchCommand: DbBatchCommand | undefined;
839
+ readonly DbBatchCommand: DbBatchCommand | undefined;
906
840
  readonly IsTransient: boolean;
907
841
  readonly SqlState: string | undefined;
908
842
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
909
843
  }
910
844
 
911
845
 
912
- export const DbException: {
913
- new(): DbException;
914
- new(message: string): DbException;
915
- new(message: string, innerException: Exception): DbException;
916
- new(message: string, errorCode: int): DbException;
917
- new(info: SerializationInfo, context: StreamingContext): DbException;
846
+ export const DbException: (abstract new() => DbException) & (abstract new(message: string) => DbException) & (abstract new(message: string, innerException: Exception) => DbException) & (abstract new(message: string, errorCode: int) => DbException) & (abstract new(info: SerializationInfo, context: StreamingContext) => DbException) & {
918
847
  };
919
848
 
920
849
 
@@ -936,13 +865,13 @@ export interface DbParameter$instance extends MarshalByRefObject {
936
865
  SourceColumn: string;
937
866
  SourceColumnNullMapping: boolean;
938
867
  SourceVersion: DataRowVersion;
939
- Value: unknown;
868
+ get Value(): unknown | undefined;
869
+ set Value(value: unknown | undefined);
940
870
  ResetDbType(): void;
941
871
  }
942
872
 
943
873
 
944
- export const DbParameter: {
945
- new(): DbParameter;
874
+ export const DbParameter: (abstract new() => DbParameter) & {
946
875
  };
947
876
 
948
877
 
@@ -954,15 +883,7 @@ export interface __DbParameter$views {
954
883
  export type DbParameter = DbParameter$instance & __DbParameter$views;
955
884
 
956
885
 
957
- export abstract class DbParameterCollection$protected {
958
- protected abstract GetParameter(index: int): DbParameter;
959
- protected abstract GetParameter(parameterName: string): DbParameter;
960
- protected abstract SetParameter(index: int, value: DbParameter): void;
961
- protected abstract SetParameter(parameterName: string, value: DbParameter): void;
962
- }
963
-
964
-
965
- export interface DbParameterCollection$instance extends DbParameterCollection$protected, MarshalByRefObject {
886
+ export interface DbParameterCollection$instance extends MarshalByRefObject {
966
887
  readonly Count: int;
967
888
  readonly IsFixedSize: boolean;
968
889
  readonly IsReadOnly: boolean;
@@ -977,6 +898,8 @@ export interface DbParameterCollection$instance extends DbParameterCollection$pr
977
898
  get_Item(index: int): DbParameter;
978
899
  get_Item(parameterName: string): DbParameter;
979
900
  GetEnumerator(): IEnumerator;
901
+ GetParameter(index: int): DbParameter;
902
+ GetParameter(parameterName: string): DbParameter;
980
903
  IndexOf(value: unknown): int;
981
904
  IndexOf(parameterName: string): int;
982
905
  Insert(index: int, value: unknown): void;
@@ -985,11 +908,12 @@ export interface DbParameterCollection$instance extends DbParameterCollection$pr
985
908
  RemoveAt(parameterName: string): void;
986
909
  set_Item(index: int, value: DbParameter): void;
987
910
  set_Item(parameterName: string, value: DbParameter): void;
911
+ SetParameter(index: int, value: DbParameter): void;
912
+ SetParameter(parameterName: string, value: DbParameter): void;
988
913
  }
989
914
 
990
915
 
991
- export const DbParameterCollection: {
992
- new(): DbParameterCollection;
916
+ export const DbParameterCollection: (abstract new() => DbParameterCollection) & {
993
917
  };
994
918
 
995
919
 
@@ -1010,19 +934,18 @@ export interface DbProviderFactory$instance {
1010
934
  readonly CanCreateDataSourceEnumerator: boolean;
1011
935
  CreateBatch(): DbBatch;
1012
936
  CreateBatchCommand(): DbBatchCommand;
1013
- CreateCommand(): DbCommand;
937
+ CreateCommand(): DbCommand | undefined;
1014
938
  CreateCommandBuilder(): DbCommandBuilder | undefined;
1015
- CreateConnection(): DbConnection;
939
+ CreateConnection(): DbConnection | undefined;
1016
940
  CreateConnectionStringBuilder(): DbConnectionStringBuilder | undefined;
1017
941
  CreateDataAdapter(): DbDataAdapter | undefined;
1018
942
  CreateDataSource(connectionString: string): DbDataSource;
1019
943
  CreateDataSourceEnumerator(): DbDataSourceEnumerator | undefined;
1020
- CreateParameter(): DbParameter;
944
+ CreateParameter(): DbParameter | undefined;
1021
945
  }
1022
946
 
1023
947
 
1024
- export const DbProviderFactory: {
1025
- new(): DbProviderFactory;
948
+ export const DbProviderFactory: (abstract new() => DbProviderFactory) & {
1026
949
  };
1027
950
 
1028
951
 
@@ -1040,19 +963,15 @@ export const DbProviderSpecificTypePropertyAttribute: {
1040
963
 
1041
964
  export type DbProviderSpecificTypePropertyAttribute = DbProviderSpecificTypePropertyAttribute$instance;
1042
965
 
1043
- export abstract class DbTransaction$protected {
1044
- protected readonly DbConnection: DbConnection | undefined;
1045
- protected Dispose(disposing: boolean): void;
1046
- }
1047
-
1048
-
1049
- export interface DbTransaction$instance extends DbTransaction$protected, MarshalByRefObject {
1050
- readonly Connection: DbConnection;
966
+ export interface DbTransaction$instance extends MarshalByRefObject {
967
+ readonly Connection: DbConnection | undefined;
968
+ readonly DbConnection: DbConnection | undefined;
1051
969
  readonly IsolationLevel: IsolationLevel;
1052
970
  readonly SupportsSavepoints: boolean;
1053
971
  Commit(): void;
1054
972
  CommitAsync(cancellationToken?: CancellationToken): Task;
1055
973
  Dispose(): void;
974
+ Dispose(disposing: boolean): void;
1056
975
  DisposeAsync(): ValueTask;
1057
976
  Release(savepointName: string): void;
1058
977
  ReleaseAsync(savepointName: string, cancellationToken?: CancellationToken): Task;
@@ -1065,8 +984,7 @@ export interface DbTransaction$instance extends DbTransaction$protected, Marshal
1065
984
  }
1066
985
 
1067
986
 
1068
- export const DbTransaction: {
1069
- new(): DbTransaction;
987
+ export const DbTransaction: (abstract new() => DbTransaction) & {
1070
988
  };
1071
989
 
1072
990
 
@@ -1083,7 +1001,8 @@ export type DbTransaction = DbTransaction$instance & __DbTransaction$views;
1083
1001
 
1084
1002
  export interface RowUpdatedEventArgs$instance extends EventArgs {
1085
1003
  readonly Command: IDbCommand | undefined;
1086
- Errors: Exception;
1004
+ get Errors(): Exception | undefined;
1005
+ set Errors(value: Exception | undefined);
1087
1006
  readonly RecordsAffected: int;
1088
1007
  readonly Row: DataRow;
1089
1008
  readonly RowCount: int;
@@ -1102,15 +1021,13 @@ export const RowUpdatedEventArgs: {
1102
1021
 
1103
1022
  export type RowUpdatedEventArgs = RowUpdatedEventArgs$instance;
1104
1023
 
1105
- export abstract class RowUpdatingEventArgs$protected {
1106
- protected BaseCommand: IDbCommand | undefined;
1107
- }
1108
-
1109
-
1110
- export interface RowUpdatingEventArgs$instance extends RowUpdatingEventArgs$protected, EventArgs {
1024
+ export interface RowUpdatingEventArgs$instance extends EventArgs {
1025
+ get BaseCommand(): IDbCommand | undefined;
1026
+ set BaseCommand(value: IDbCommand | undefined);
1111
1027
  get Command(): IDbCommand | undefined;
1112
- set Command(value: IDbCommand);
1113
- Errors: Exception;
1028
+ set Command(value: IDbCommand | undefined);
1029
+ get Errors(): Exception | undefined;
1030
+ set Errors(value: Exception | undefined);
1114
1031
  readonly Row: DataRow;
1115
1032
  readonly StatementType: StatementType;
1116
1033
  Status: UpdateStatus;