@tsonic/dotnet 10.0.39 → 10.0.41
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/Internal/internal/index.d.ts +4 -3
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
- package/Microsoft.Win32/internal/index.d.ts +19 -18
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
- package/README.md +76 -104
- package/System/bindings.json +1520 -2039
- package/System/internal/index.d.ts +1549 -1602
- package/System.Buffers/bindings.json +12 -3
- package/System.Buffers/internal/index.d.ts +12 -14
- package/System.Buffers.Binary/internal/index.d.ts +2 -4
- package/System.Buffers.Text/internal/index.d.ts +2 -4
- package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
- package/System.Collections/internal/index.d.ts +129 -131
- package/System.Collections.Concurrent/bindings.json +218 -218
- package/System.Collections.Concurrent/internal/index.d.ts +34 -36
- package/System.Collections.Frozen/bindings.json +413 -611
- package/System.Collections.Frozen/internal/index.d.ts +81 -97
- package/System.Collections.Frozen.d.ts +14 -2
- package/System.Collections.Generic/bindings.json +9420 -14155
- package/System.Collections.Generic/internal/index.d.ts +547 -758
- package/System.Collections.Generic.d.ts +1 -1
- package/System.Collections.Immutable/bindings.json +6000 -9080
- package/System.Collections.Immutable/internal/index.d.ts +265 -354
- package/System.Collections.Immutable.d.ts +49 -12
- package/System.Collections.ObjectModel/bindings.json +132 -654
- package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
- package/System.Collections.Specialized/bindings.json +0 -123
- package/System.Collections.Specialized/internal/index.d.ts +88 -101
- package/System.ComponentModel/bindings.json +163 -102
- package/System.ComponentModel/internal/index.d.ts +618 -608
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
- package/System.ComponentModel.Design/bindings.json +22 -292
- package/System.ComponentModel.Design/internal/index.d.ts +101 -109
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
- package/System.ComponentModel.d.ts +1 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
- package/System.Data/bindings.json +4 -1
- package/System.Data/internal/index.d.ts +351 -350
- package/System.Data.Common/internal/index.d.ts +151 -152
- package/System.Data.SqlTypes/internal/index.d.ts +68 -67
- package/System.Diagnostics/bindings.json +7044 -7249
- package/System.Diagnostics/internal/index.d.ts +446 -461
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
- package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
- package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
- package/System.Diagnostics.Metrics.d.ts +1 -1
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
- package/System.Diagnostics.Tracing/bindings.json +81 -21
- package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
- package/System.Diagnostics.Tracing.d.ts +2 -1
- package/System.Drawing/internal/index.d.ts +76 -75
- package/System.Dynamic/internal/index.d.ts +55 -57
- package/System.Formats.Asn1/bindings.json +48 -69
- package/System.Formats.Asn1/internal/index.d.ts +21 -28
- package/System.Formats.Tar/internal/index.d.ts +8 -7
- package/System.Globalization/internal/index.d.ts +40 -42
- package/System.IO/internal/index.d.ts +187 -189
- package/System.IO.Compression/internal/index.d.ts +29 -31
- package/System.IO.Enumeration/bindings.json +250 -250
- package/System.IO.Enumeration/internal/index.d.ts +15 -17
- package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
- package/System.IO.Pipelines/internal/index.d.ts +15 -17
- package/System.IO.Pipes/internal/index.d.ts +8 -7
- package/System.Linq/internal/index.d.ts +223 -225
- package/System.Linq.Expressions/internal/index.d.ts +205 -207
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
- package/System.Net/bindings.json +104 -104
- package/System.Net/internal/index.d.ts +279 -281
- package/System.Net.Cache/internal/index.d.ts +3 -2
- package/System.Net.Http/internal/index.d.ts +128 -130
- package/System.Net.Http.Headers/bindings.json +0 -204
- package/System.Net.Http.Headers/internal/index.d.ts +111 -127
- package/System.Net.Http.Json/internal/index.d.ts +67 -69
- package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
- package/System.Net.Mail/internal/index.d.ts +76 -78
- package/System.Net.Mime/internal/index.d.ts +11 -10
- package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
- package/System.Net.Quic/internal/index.d.ts +10 -9
- package/System.Net.Security/internal/index.d.ts +87 -89
- package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
- package/System.Net.Sockets/internal/index.d.ts +91 -93
- package/System.Net.WebSockets/internal/index.d.ts +47 -46
- package/System.Numerics/bindings.json +544 -116
- package/System.Numerics/internal/index.d.ts +110 -112
- package/System.Reflection/internal/index.d.ts +270 -272
- package/System.Reflection.Emit/internal/index.d.ts +114 -116
- package/System.Reflection.Metadata/bindings.json +166 -3169
- package/System.Reflection.Metadata/internal/index.d.ts +154 -361
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
- package/System.Reflection.PortableExecutable/bindings.json +58 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
- package/System.Reflection.PortableExecutable.d.ts +1 -0
- package/System.Resources/internal/index.d.ts +33 -35
- package/System.Runtime/internal/index.d.ts +12 -11
- package/System.Runtime.CompilerServices/bindings.json +519 -717
- package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
- package/System.Runtime.CompilerServices.d.ts +14 -4
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
- package/System.Runtime.InteropServices/bindings.json +101 -101
- package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
- package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
- package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.Swift.d.ts +1 -1
- package/System.Runtime.Intrinsics/bindings.json +64 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
- package/System.Runtime.Loader/bindings.json +48 -69
- package/System.Runtime.Loader/internal/index.d.ts +30 -34
- package/System.Runtime.Remoting/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization/internal/index.d.ts +175 -177
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
- package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
- package/System.Runtime.Versioning/internal/index.d.ts +20 -19
- package/System.Security/internal/index.d.ts +64 -66
- package/System.Security.AccessControl/bindings.json +104 -0
- package/System.Security.AccessControl/internal/index.d.ts +59 -58
- package/System.Security.AccessControl.d.ts +6 -5
- package/System.Security.Authentication/internal/index.d.ts +7 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
- package/System.Security.Claims/internal/index.d.ts +45 -44
- package/System.Security.Cryptography/bindings.json +469 -469
- package/System.Security.Cryptography/internal/index.d.ts +269 -271
- package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
- package/System.Security.Permissions/internal/index.d.ts +5 -4
- package/System.Security.Policy/internal/index.d.ts +11 -10
- package/System.Security.Principal/internal/index.d.ts +28 -27
- package/System.Text/bindings.json +1562 -1562
- package/System.Text/internal/index.d.ts +119 -121
- package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
- package/System.Text.Json/bindings.json +0 -290
- package/System.Text.Json/internal/index.d.ts +135 -153
- package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
- package/System.Text.Json.Schema/internal/index.d.ts +9 -8
- package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
- package/System.Text.Json.Serialization.d.ts +1 -1
- package/System.Text.RegularExpressions/bindings.json +198 -402
- package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
- package/System.Text.Unicode/bindings.json +508 -508
- package/System.Text.Unicode/internal/index.d.ts +29 -31
- package/System.Threading/bindings.json +42 -42
- package/System.Threading/internal/index.d.ts +157 -159
- package/System.Threading.Channels/internal/index.d.ts +10 -12
- package/System.Threading.Tasks/bindings.json +4 -1
- package/System.Threading.Tasks/internal/index.d.ts +115 -114
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
- package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
- package/System.Timers/internal/index.d.ts +8 -7
- package/System.Transactions/internal/index.d.ts +31 -30
- package/System.Web/internal/index.d.ts +32 -31
- package/System.Windows.Input/internal/index.d.ts +5 -4
- package/System.Windows.Markup/internal/index.d.ts +3 -2
- package/System.Xml/internal/index.d.ts +383 -385
- package/System.Xml.Linq/internal/index.d.ts +103 -102
- package/System.Xml.Resolvers/internal/index.d.ts +10 -9
- package/System.Xml.Schema/bindings.json +76 -76
- package/System.Xml.Schema/internal/index.d.ts +233 -232
- package/System.Xml.Serialization/bindings.json +193 -0
- package/System.Xml.Serialization/internal/index.d.ts +277 -245
- package/System.Xml.Serialization.d.ts +2 -0
- package/System.Xml.XPath/internal/index.d.ts +46 -45
- package/System.Xml.Xsl/internal/index.d.ts +53 -52
- package/System.Xml.Xsl.Runtime/bindings.json +4 -1
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
- package/System.d.ts +2 -2
- package/__internal/extensions/index.d.ts +517 -515
- package/families.json +63 -7
- package/package.json +2 -2
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Data.Common
|
|
3
3
|
// Assembly: System.Data.Common
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import * as System_Collections_Generic_Internal from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -96,7 +94,7 @@ export interface DataAdapter$instance extends Component {
|
|
|
96
94
|
Fill(dataTables: DataTable[], dataReader: IDataReader, startRecord: int, maxRecords: int): int;
|
|
97
95
|
FillSchema(dataSet: DataSet, schemaType: SchemaType): DataTable[];
|
|
98
96
|
FillSchema(dataSet: DataSet, schemaType: SchemaType, srcTable: string, dataReader: IDataReader): DataTable[];
|
|
99
|
-
FillSchema(dataTable: DataTable, schemaType: SchemaType, dataReader: IDataReader): DataTable |
|
|
97
|
+
FillSchema(dataTable: DataTable, schemaType: SchemaType, dataReader: IDataReader): DataTable | null;
|
|
100
98
|
GetFillParameters(): IDataParameter[];
|
|
101
99
|
OnFillError(value: FillErrorEventArgs): void;
|
|
102
100
|
ResetFillLoadOption(): void;
|
|
@@ -128,15 +126,15 @@ export interface DataColumnMapping$instance extends MarshalByRefObject, System_D
|
|
|
128
126
|
|
|
129
127
|
DataSetColumn: string;
|
|
130
128
|
SourceColumn: string;
|
|
131
|
-
GetDataColumnBySchemaAction(dataTable: DataTable, dataType: Type, schemaAction: MissingSchemaAction): DataColumn |
|
|
129
|
+
GetDataColumnBySchemaAction(dataTable: DataTable, dataType: Type | null, schemaAction: MissingSchemaAction): DataColumn | null;
|
|
132
130
|
ToString(): string;
|
|
133
131
|
}
|
|
134
132
|
|
|
135
133
|
|
|
136
134
|
export const DataColumnMapping: {
|
|
137
135
|
new(): DataColumnMapping;
|
|
138
|
-
new(sourceColumn: string, dataSetColumn: string): DataColumnMapping;
|
|
139
|
-
GetDataColumnBySchemaAction(sourceColumn: string, dataSetColumn: string, dataTable: DataTable, dataType: Type, schemaAction: MissingSchemaAction): DataColumn |
|
|
136
|
+
new(sourceColumn: string | null, dataSetColumn: string | null): DataColumnMapping;
|
|
137
|
+
GetDataColumnBySchemaAction(sourceColumn: string | null, dataSetColumn: string | null, dataTable: DataTable, dataType: Type | null, schemaAction: MissingSchemaAction): DataColumn | null;
|
|
140
138
|
};
|
|
141
139
|
|
|
142
140
|
|
|
@@ -157,25 +155,25 @@ export interface DataColumnMappingCollection$instance extends MarshalByRefObject
|
|
|
157
155
|
readonly __tsonic_iface_System_Data_IColumnMappingCollection: never;
|
|
158
156
|
|
|
159
157
|
readonly Count: int;
|
|
160
|
-
Add(value:
|
|
161
|
-
Add(sourceColumn: string, dataSetColumn: string): DataColumnMapping;
|
|
158
|
+
Add(value: JsValue | null): int;
|
|
159
|
+
Add(sourceColumn: string | null, dataSetColumn: string | null): DataColumnMapping;
|
|
162
160
|
AddRange(values: DataColumnMapping[]): void;
|
|
163
161
|
AddRange(values: ClrArray): void;
|
|
164
162
|
Clear(): void;
|
|
165
|
-
Contains(value: string): boolean;
|
|
166
|
-
Contains(value:
|
|
163
|
+
Contains(value: string | null): boolean;
|
|
164
|
+
Contains(value: JsValue | null): boolean;
|
|
167
165
|
CopyTo(array: ClrArray, index: int): void;
|
|
168
166
|
CopyTo(array: DataColumnMapping[], index: int): void;
|
|
169
167
|
get_Item(index: int): DataColumnMapping;
|
|
170
168
|
get_Item(sourceColumn: string): DataColumnMapping;
|
|
171
169
|
GetByDataSetColumn(value: string): DataColumnMapping;
|
|
172
170
|
GetEnumerator(): IEnumerator;
|
|
173
|
-
IndexOf(value:
|
|
174
|
-
IndexOf(sourceColumn: string): int;
|
|
175
|
-
IndexOfDataSetColumn(dataSetColumn: string): int;
|
|
176
|
-
Insert(index: int, value:
|
|
171
|
+
IndexOf(value: JsValue | null): int;
|
|
172
|
+
IndexOf(sourceColumn: string | null): int;
|
|
173
|
+
IndexOfDataSetColumn(dataSetColumn: string | null): int;
|
|
174
|
+
Insert(index: int, value: JsValue | null): void;
|
|
177
175
|
Insert(index: int, value: DataColumnMapping): void;
|
|
178
|
-
Remove(value:
|
|
176
|
+
Remove(value: JsValue | null): void;
|
|
179
177
|
Remove(value: DataColumnMapping): void;
|
|
180
178
|
RemoveAt(index: int): void;
|
|
181
179
|
RemoveAt(sourceColumn: string): void;
|
|
@@ -186,8 +184,8 @@ export interface DataColumnMappingCollection$instance extends MarshalByRefObject
|
|
|
186
184
|
|
|
187
185
|
export const DataColumnMappingCollection: {
|
|
188
186
|
new(): DataColumnMappingCollection;
|
|
189
|
-
GetColumnMappingBySchemaAction(columnMappings: DataColumnMappingCollection, sourceColumn: string, mappingAction: MissingMappingAction): DataColumnMapping |
|
|
190
|
-
GetDataColumn(columnMappings: DataColumnMappingCollection, sourceColumn: string, dataType: Type, dataTable: DataTable, mappingAction: MissingMappingAction, schemaAction: MissingSchemaAction): DataColumn |
|
|
187
|
+
GetColumnMappingBySchemaAction(columnMappings: DataColumnMappingCollection | null, sourceColumn: string, mappingAction: MissingMappingAction): DataColumnMapping | null;
|
|
188
|
+
GetDataColumn(columnMappings: DataColumnMappingCollection | null, sourceColumn: string, dataType: Type | null, dataTable: DataTable, mappingAction: MissingMappingAction, schemaAction: MissingSchemaAction): DataColumn | null;
|
|
191
189
|
};
|
|
192
190
|
|
|
193
191
|
|
|
@@ -210,17 +208,17 @@ export interface DataTableMapping$instance extends MarshalByRefObject, System_In
|
|
|
210
208
|
readonly ColumnMappings: DataColumnMappingCollection;
|
|
211
209
|
DataSetTable: string;
|
|
212
210
|
SourceTable: string;
|
|
213
|
-
GetColumnMappingBySchemaAction(sourceColumn: string, mappingAction: MissingMappingAction): DataColumnMapping |
|
|
214
|
-
GetDataColumn(sourceColumn: string, dataType: Type, dataTable: DataTable, mappingAction: MissingMappingAction, schemaAction: MissingSchemaAction): DataColumn |
|
|
215
|
-
GetDataTableBySchemaAction(dataSet: DataSet, schemaAction: MissingSchemaAction): DataTable |
|
|
211
|
+
GetColumnMappingBySchemaAction(sourceColumn: string, mappingAction: MissingMappingAction): DataColumnMapping | null;
|
|
212
|
+
GetDataColumn(sourceColumn: string, dataType: Type | null, dataTable: DataTable, mappingAction: MissingMappingAction, schemaAction: MissingSchemaAction): DataColumn | null;
|
|
213
|
+
GetDataTableBySchemaAction(dataSet: DataSet, schemaAction: MissingSchemaAction): DataTable | null;
|
|
216
214
|
ToString(): string;
|
|
217
215
|
}
|
|
218
216
|
|
|
219
217
|
|
|
220
218
|
export const DataTableMapping: {
|
|
221
219
|
new(): DataTableMapping;
|
|
222
|
-
new(sourceTable: string, dataSetTable: string): DataTableMapping;
|
|
223
|
-
new(sourceTable: string, dataSetTable: string, columnMappings: DataColumnMapping[]): DataTableMapping;
|
|
220
|
+
new(sourceTable: string | null, dataSetTable: string | null): DataTableMapping;
|
|
221
|
+
new(sourceTable: string | null, dataSetTable: string | null, columnMappings: DataColumnMapping[] | null): DataTableMapping;
|
|
224
222
|
};
|
|
225
223
|
|
|
226
224
|
|
|
@@ -241,25 +239,25 @@ export interface DataTableMappingCollection$instance extends MarshalByRefObject
|
|
|
241
239
|
readonly __tsonic_iface_System_Data_ITableMappingCollection: never;
|
|
242
240
|
|
|
243
241
|
readonly Count: int;
|
|
244
|
-
Add(value:
|
|
245
|
-
Add(sourceTable: string, dataSetTable: string): DataTableMapping;
|
|
242
|
+
Add(value: JsValue | null): int;
|
|
243
|
+
Add(sourceTable: string | null, dataSetTable: string | null): DataTableMapping;
|
|
246
244
|
AddRange(values: DataTableMapping[]): void;
|
|
247
245
|
AddRange(values: ClrArray): void;
|
|
248
246
|
Clear(): void;
|
|
249
|
-
Contains(value: string): boolean;
|
|
250
|
-
Contains(value:
|
|
247
|
+
Contains(value: string | null): boolean;
|
|
248
|
+
Contains(value: JsValue | null): boolean;
|
|
251
249
|
CopyTo(array: ClrArray, index: int): void;
|
|
252
250
|
CopyTo(array: DataTableMapping[], index: int): void;
|
|
253
251
|
get_Item(index: int): DataTableMapping;
|
|
254
252
|
get_Item(sourceTable: string): DataTableMapping;
|
|
255
253
|
GetByDataSetTable(dataSetTable: string): DataTableMapping;
|
|
256
254
|
GetEnumerator(): IEnumerator;
|
|
257
|
-
IndexOf(value:
|
|
258
|
-
IndexOf(sourceTable: string): int;
|
|
259
|
-
IndexOfDataSetTable(dataSetTable: string): int;
|
|
260
|
-
Insert(index: int, value:
|
|
255
|
+
IndexOf(value: JsValue | null): int;
|
|
256
|
+
IndexOf(sourceTable: string | null): int;
|
|
257
|
+
IndexOfDataSetTable(dataSetTable: string | null): int;
|
|
258
|
+
Insert(index: int, value: JsValue | null): void;
|
|
261
259
|
Insert(index: int, value: DataTableMapping): void;
|
|
262
|
-
Remove(value:
|
|
260
|
+
Remove(value: JsValue | null): void;
|
|
263
261
|
Remove(value: DataTableMapping): void;
|
|
264
262
|
RemoveAt(index: int): void;
|
|
265
263
|
RemoveAt(sourceTable: string): void;
|
|
@@ -270,7 +268,7 @@ export interface DataTableMappingCollection$instance extends MarshalByRefObject
|
|
|
270
268
|
|
|
271
269
|
export const DataTableMappingCollection: {
|
|
272
270
|
new(): DataTableMappingCollection;
|
|
273
|
-
GetTableMappingBySchemaAction(tableMappings: DataTableMappingCollection, sourceTable: string, dataSetTable: string, mappingAction: MissingMappingAction): DataTableMapping |
|
|
271
|
+
GetTableMappingBySchemaAction(tableMappings: DataTableMappingCollection | null, sourceTable: string, dataSetTable: string, mappingAction: MissingMappingAction): DataTableMapping | null;
|
|
274
272
|
};
|
|
275
273
|
|
|
276
274
|
|
|
@@ -291,16 +289,16 @@ export interface DbBatch$instance extends System_Internal.IAsyncDisposable$insta
|
|
|
291
289
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
292
290
|
|
|
293
291
|
readonly BatchCommands: DbBatchCommandCollection;
|
|
294
|
-
get Connection(): DbConnection |
|
|
295
|
-
set Connection(value: DbConnection |
|
|
292
|
+
get Connection(): DbConnection | null;
|
|
293
|
+
set Connection(value: DbConnection | null);
|
|
296
294
|
readonly DbBatchCommands: DbBatchCommandCollection;
|
|
297
|
-
get DbConnection(): DbConnection |
|
|
298
|
-
set DbConnection(value: DbConnection |
|
|
299
|
-
get DbTransaction(): DbTransaction |
|
|
300
|
-
set DbTransaction(value: DbTransaction |
|
|
295
|
+
get DbConnection(): DbConnection | null;
|
|
296
|
+
set DbConnection(value: DbConnection | null);
|
|
297
|
+
get DbTransaction(): DbTransaction | null;
|
|
298
|
+
set DbTransaction(value: DbTransaction | null);
|
|
301
299
|
Timeout: int;
|
|
302
|
-
get Transaction(): DbTransaction |
|
|
303
|
-
set Transaction(value: DbTransaction |
|
|
300
|
+
get Transaction(): DbTransaction | null;
|
|
301
|
+
set Transaction(value: DbTransaction | null);
|
|
304
302
|
Cancel(): void;
|
|
305
303
|
CreateBatchCommand(): DbBatchCommand;
|
|
306
304
|
CreateDbBatchCommand(): DbBatchCommand;
|
|
@@ -313,8 +311,8 @@ export interface DbBatch$instance extends System_Internal.IAsyncDisposable$insta
|
|
|
313
311
|
ExecuteReader(behavior?: CommandBehavior): DbDataReader;
|
|
314
312
|
ExecuteReaderAsync(cancellationToken?: CancellationToken): Task_1<DbDataReader>;
|
|
315
313
|
ExecuteReaderAsync(behavior: CommandBehavior, cancellationToken?: CancellationToken): Task_1<DbDataReader>;
|
|
316
|
-
ExecuteScalar():
|
|
317
|
-
ExecuteScalarAsync(cancellationToken?: CancellationToken): Task_1<
|
|
314
|
+
ExecuteScalar(): JsValue | null;
|
|
315
|
+
ExecuteScalarAsync(cancellationToken?: CancellationToken): Task_1<JsValue | null>;
|
|
318
316
|
Prepare(): void;
|
|
319
317
|
PrepareAsync(cancellationToken?: CancellationToken): Task;
|
|
320
318
|
}
|
|
@@ -394,25 +392,25 @@ export interface DbColumn$instance {
|
|
|
394
392
|
|
|
395
393
|
get AllowDBNull(): Nullable_1<System_Internal.Boolean>;
|
|
396
394
|
set AllowDBNull(value: Nullable_1<System_Internal.Boolean> | boolean);
|
|
397
|
-
get BaseCatalogName(): string |
|
|
398
|
-
set BaseCatalogName(value: string |
|
|
399
|
-
get BaseColumnName(): string |
|
|
400
|
-
set BaseColumnName(value: string |
|
|
401
|
-
get BaseSchemaName(): string |
|
|
402
|
-
set BaseSchemaName(value: string |
|
|
403
|
-
get BaseServerName(): string |
|
|
404
|
-
set BaseServerName(value: string |
|
|
405
|
-
get BaseTableName(): string |
|
|
406
|
-
set BaseTableName(value: string |
|
|
395
|
+
get BaseCatalogName(): string | null;
|
|
396
|
+
set BaseCatalogName(value: string | null);
|
|
397
|
+
get BaseColumnName(): string | null;
|
|
398
|
+
set BaseColumnName(value: string | null);
|
|
399
|
+
get BaseSchemaName(): string | null;
|
|
400
|
+
set BaseSchemaName(value: string | null);
|
|
401
|
+
get BaseServerName(): string | null;
|
|
402
|
+
set BaseServerName(value: string | null);
|
|
403
|
+
get BaseTableName(): string | null;
|
|
404
|
+
set BaseTableName(value: string | null);
|
|
407
405
|
ColumnName: string;
|
|
408
406
|
get ColumnOrdinal(): Nullable_1<System_Internal.Int32>;
|
|
409
407
|
set ColumnOrdinal(value: Nullable_1<System_Internal.Int32> | int);
|
|
410
408
|
get ColumnSize(): Nullable_1<System_Internal.Int32>;
|
|
411
409
|
set ColumnSize(value: Nullable_1<System_Internal.Int32> | int);
|
|
412
|
-
get DataType(): Type |
|
|
413
|
-
set DataType(value: Type |
|
|
414
|
-
get DataTypeName(): string |
|
|
415
|
-
set DataTypeName(value: string |
|
|
410
|
+
get DataType(): Type | null;
|
|
411
|
+
set DataType(value: Type | null);
|
|
412
|
+
get DataTypeName(): string | null;
|
|
413
|
+
set DataTypeName(value: string | null);
|
|
416
414
|
get IsAliased(): Nullable_1<System_Internal.Boolean>;
|
|
417
415
|
set IsAliased(value: Nullable_1<System_Internal.Boolean> | boolean);
|
|
418
416
|
get IsAutoIncrement(): Nullable_1<System_Internal.Boolean>;
|
|
@@ -431,12 +429,13 @@ export interface DbColumn$instance {
|
|
|
431
429
|
set IsReadOnly(value: Nullable_1<System_Internal.Boolean> | boolean);
|
|
432
430
|
get IsUnique(): Nullable_1<System_Internal.Boolean>;
|
|
433
431
|
set IsUnique(value: Nullable_1<System_Internal.Boolean> | boolean);
|
|
432
|
+
readonly Item: JsValue | null;
|
|
434
433
|
get NumericPrecision(): Nullable_1<System_Internal.Int32>;
|
|
435
434
|
set NumericPrecision(value: Nullable_1<System_Internal.Int32> | int);
|
|
436
435
|
get NumericScale(): Nullable_1<System_Internal.Int32>;
|
|
437
436
|
set NumericScale(value: Nullable_1<System_Internal.Int32> | int);
|
|
438
|
-
get UdtAssemblyQualifiedName(): string |
|
|
439
|
-
set UdtAssemblyQualifiedName(value: string |
|
|
437
|
+
get UdtAssemblyQualifiedName(): string | null;
|
|
438
|
+
set UdtAssemblyQualifiedName(value: string | null);
|
|
440
439
|
}
|
|
441
440
|
|
|
442
441
|
|
|
@@ -444,7 +443,7 @@ export const DbColumn: (abstract new() => DbColumn) & {
|
|
|
444
443
|
};
|
|
445
444
|
|
|
446
445
|
|
|
447
|
-
export type DbColumn = DbColumn$instance
|
|
446
|
+
export type DbColumn = DbColumn$instance;
|
|
448
447
|
|
|
449
448
|
export interface DbCommand$instance extends Component, System_Internal.IAsyncDisposable$instance {
|
|
450
449
|
readonly __tsonic_type_System_Data_Common_DbCommand: never;
|
|
@@ -457,17 +456,17 @@ export interface DbCommand$instance extends Component, System_Internal.IAsyncDis
|
|
|
457
456
|
CommandText: string;
|
|
458
457
|
CommandTimeout: int;
|
|
459
458
|
CommandType: CommandType;
|
|
460
|
-
get Connection(): DbConnection |
|
|
461
|
-
set Connection(value: DbConnection |
|
|
462
|
-
get DbConnection(): DbConnection |
|
|
463
|
-
set DbConnection(value: DbConnection |
|
|
459
|
+
get Connection(): DbConnection | null;
|
|
460
|
+
set Connection(value: DbConnection | null);
|
|
461
|
+
get DbConnection(): DbConnection | null;
|
|
462
|
+
set DbConnection(value: DbConnection | null);
|
|
464
463
|
readonly DbParameterCollection: DbParameterCollection;
|
|
465
|
-
get DbTransaction(): DbTransaction |
|
|
466
|
-
set DbTransaction(value: DbTransaction |
|
|
464
|
+
get DbTransaction(): DbTransaction | null;
|
|
465
|
+
set DbTransaction(value: DbTransaction | null);
|
|
467
466
|
DesignTimeVisible: boolean;
|
|
468
467
|
readonly Parameters: DbParameterCollection;
|
|
469
|
-
get Transaction(): DbTransaction |
|
|
470
|
-
set Transaction(value: DbTransaction |
|
|
468
|
+
get Transaction(): DbTransaction | null;
|
|
469
|
+
set Transaction(value: DbTransaction | null);
|
|
471
470
|
UpdatedRowSource: UpdateRowSource;
|
|
472
471
|
Cancel(): void;
|
|
473
472
|
CreateDbParameter(): DbParameter;
|
|
@@ -484,9 +483,9 @@ export interface DbCommand$instance extends Component, System_Internal.IAsyncDis
|
|
|
484
483
|
ExecuteReaderAsync(cancellationToken: CancellationToken): Task_1<DbDataReader>;
|
|
485
484
|
ExecuteReaderAsync(behavior: CommandBehavior): Task_1<DbDataReader>;
|
|
486
485
|
ExecuteReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task_1<DbDataReader>;
|
|
487
|
-
ExecuteScalar():
|
|
488
|
-
ExecuteScalarAsync(): Task_1<
|
|
489
|
-
ExecuteScalarAsync(cancellationToken: CancellationToken): Task_1<
|
|
486
|
+
ExecuteScalar(): JsValue | null;
|
|
487
|
+
ExecuteScalarAsync(): Task_1<JsValue | null>;
|
|
488
|
+
ExecuteScalarAsync(cancellationToken: CancellationToken): Task_1<JsValue | null>;
|
|
490
489
|
Prepare(): void;
|
|
491
490
|
PrepareAsync(cancellationToken?: CancellationToken): Task;
|
|
492
491
|
}
|
|
@@ -515,8 +514,8 @@ export interface DbCommandBuilder$instance extends Component {
|
|
|
515
514
|
CatalogLocation: CatalogLocation;
|
|
516
515
|
CatalogSeparator: string;
|
|
517
516
|
ConflictOption: ConflictOption;
|
|
518
|
-
get DataAdapter(): DbDataAdapter |
|
|
519
|
-
set DataAdapter(value: DbDataAdapter |
|
|
517
|
+
get DataAdapter(): DbDataAdapter | null;
|
|
518
|
+
set DataAdapter(value: DbDataAdapter | null);
|
|
520
519
|
QuotePrefix: string;
|
|
521
520
|
QuoteSuffix: string;
|
|
522
521
|
SchemaSeparator: string;
|
|
@@ -531,10 +530,10 @@ export interface DbCommandBuilder$instance extends Component {
|
|
|
531
530
|
GetParameterName(parameterOrdinal: int): string;
|
|
532
531
|
GetParameterName(parameterName: string): string;
|
|
533
532
|
GetParameterPlaceholder(parameterOrdinal: int): string;
|
|
534
|
-
GetSchemaTable(sourceCommand: DbCommand): DataTable |
|
|
533
|
+
GetSchemaTable(sourceCommand: DbCommand): DataTable | null;
|
|
535
534
|
GetUpdateCommand(): DbCommand;
|
|
536
535
|
GetUpdateCommand(useColumnsForParameterNames: boolean): DbCommand;
|
|
537
|
-
InitializeCommand(command: DbCommand): DbCommand;
|
|
536
|
+
InitializeCommand(command: DbCommand | null): DbCommand;
|
|
538
537
|
QuoteIdentifier(unquotedIdentifier: string): string;
|
|
539
538
|
RefreshSchema(): void;
|
|
540
539
|
SetRowUpdatingHandler(adapter: DbDataAdapter): void;
|
|
@@ -567,7 +566,7 @@ export interface DbConnection$instance extends Component, System_Internal.IAsync
|
|
|
567
566
|
readonly ConnectionTimeout: int;
|
|
568
567
|
readonly Database: string;
|
|
569
568
|
readonly DataSource: string;
|
|
570
|
-
readonly DbProviderFactory: DbProviderFactory |
|
|
569
|
+
readonly DbProviderFactory: DbProviderFactory | null;
|
|
571
570
|
readonly ServerVersion: string;
|
|
572
571
|
readonly State: ConnectionState;
|
|
573
572
|
BeginDbTransaction(isolationLevel: IsolationLevel): DbTransaction;
|
|
@@ -585,13 +584,13 @@ export interface DbConnection$instance extends Component, System_Internal.IAsync
|
|
|
585
584
|
CreateDbBatch(): DbBatch;
|
|
586
585
|
CreateDbCommand(): DbCommand;
|
|
587
586
|
DisposeAsync(): ValueTask;
|
|
588
|
-
EnlistTransaction(transaction: Transaction): void;
|
|
587
|
+
EnlistTransaction(transaction: Transaction | null): void;
|
|
589
588
|
GetSchema(): DataTable;
|
|
590
589
|
GetSchema(collectionName: string): DataTable;
|
|
591
|
-
GetSchema(collectionName: string, restrictionValues: string[]): DataTable;
|
|
590
|
+
GetSchema(collectionName: string, restrictionValues: (string | null)[]): DataTable;
|
|
592
591
|
GetSchemaAsync(cancellationToken?: CancellationToken): Task_1<DataTable>;
|
|
593
592
|
GetSchemaAsync(collectionName: string, cancellationToken?: CancellationToken): Task_1<DataTable>;
|
|
594
|
-
GetSchemaAsync(collectionName: string, restrictionValues: string[], cancellationToken?: CancellationToken): Task_1<DataTable>;
|
|
593
|
+
GetSchemaAsync(collectionName: string, restrictionValues: (string | null)[], cancellationToken?: CancellationToken): Task_1<DataTable>;
|
|
595
594
|
OnStateChange(stateChange: StateChangeEventArgs): void;
|
|
596
595
|
Open(): void;
|
|
597
596
|
OpenAsync(): Task;
|
|
@@ -628,7 +627,7 @@ export interface DbConnectionStringBuilder$instance {
|
|
|
628
627
|
readonly IsReadOnly: boolean;
|
|
629
628
|
readonly Keys: ICollection;
|
|
630
629
|
readonly Values: ICollection;
|
|
631
|
-
Add(keyword: string, value:
|
|
630
|
+
Add(keyword: string, value: JsValue): void;
|
|
632
631
|
Clear(): void;
|
|
633
632
|
ContainsKey(keyword: string): boolean;
|
|
634
633
|
EquivalentTo(connectionStringBuilder: DbConnectionStringBuilder): boolean;
|
|
@@ -636,15 +635,15 @@ export interface DbConnectionStringBuilder$instance {
|
|
|
636
635
|
Remove(keyword: string): boolean;
|
|
637
636
|
ShouldSerialize(keyword: string): boolean;
|
|
638
637
|
ToString(): string;
|
|
639
|
-
TryGetValue(keyword: string, value:
|
|
638
|
+
TryGetValue(keyword: string, value: JsValue | null): boolean;
|
|
640
639
|
}
|
|
641
640
|
|
|
642
641
|
|
|
643
642
|
export const DbConnectionStringBuilder: {
|
|
644
643
|
new(): DbConnectionStringBuilder;
|
|
645
644
|
new(useOdbcRules: boolean): DbConnectionStringBuilder;
|
|
646
|
-
AppendKeyValuePair(builder: StringBuilder, keyword: string, value: string, useOdbcRules: boolean): void;
|
|
647
|
-
AppendKeyValuePair(builder: StringBuilder, keyword: string, value: string): void;
|
|
645
|
+
AppendKeyValuePair(builder: StringBuilder, keyword: string, value: string | null, useOdbcRules: boolean): void;
|
|
646
|
+
AppendKeyValuePair(builder: StringBuilder, keyword: string, value: string | null): void;
|
|
648
647
|
};
|
|
649
648
|
|
|
650
649
|
|
|
@@ -655,7 +654,7 @@ export interface __DbConnectionStringBuilder$views {
|
|
|
655
654
|
As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
|
|
656
655
|
}
|
|
657
656
|
|
|
658
|
-
export type DbConnectionStringBuilder = DbConnectionStringBuilder$instance & __DbConnectionStringBuilder$views & { [keyword: string]:
|
|
657
|
+
export type DbConnectionStringBuilder = DbConnectionStringBuilder$instance & __DbConnectionStringBuilder$views & { [keyword: string]: JsValue; };
|
|
659
658
|
|
|
660
659
|
|
|
661
660
|
export interface DbDataAdapter$instance extends DataAdapter$instance, System_Internal.ICloneable$instance {
|
|
@@ -667,19 +666,19 @@ export interface DbDataAdapter$instance extends DataAdapter$instance, System_Int
|
|
|
667
666
|
readonly __tsonic_iface_System_ICloneable: never;
|
|
668
667
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
669
668
|
|
|
670
|
-
get DeleteCommand(): DbCommand |
|
|
671
|
-
set DeleteCommand(value: DbCommand |
|
|
672
|
-
get InsertCommand(): DbCommand |
|
|
673
|
-
set InsertCommand(value: DbCommand |
|
|
674
|
-
get SelectCommand(): DbCommand |
|
|
675
|
-
set SelectCommand(value: DbCommand |
|
|
669
|
+
get DeleteCommand(): DbCommand | null;
|
|
670
|
+
set DeleteCommand(value: DbCommand | null);
|
|
671
|
+
get InsertCommand(): DbCommand | null;
|
|
672
|
+
set InsertCommand(value: DbCommand | null);
|
|
673
|
+
get SelectCommand(): DbCommand | null;
|
|
674
|
+
set SelectCommand(value: DbCommand | null);
|
|
676
675
|
UpdateBatchSize: int;
|
|
677
|
-
get UpdateCommand(): DbCommand |
|
|
678
|
-
set UpdateCommand(value: DbCommand |
|
|
676
|
+
get UpdateCommand(): DbCommand | null;
|
|
677
|
+
set UpdateCommand(value: DbCommand | null);
|
|
679
678
|
AddToBatch(command: IDbCommand): int;
|
|
680
679
|
ClearBatch(): void;
|
|
681
|
-
CreateRowUpdatedEvent(dataRow: DataRow, command: IDbCommand, statementType: StatementType, tableMapping: DataTableMapping): RowUpdatedEventArgs;
|
|
682
|
-
CreateRowUpdatingEvent(dataRow: DataRow, command: IDbCommand, statementType: StatementType, tableMapping: DataTableMapping): RowUpdatingEventArgs;
|
|
680
|
+
CreateRowUpdatedEvent(dataRow: DataRow, command: IDbCommand | null, statementType: StatementType, tableMapping: DataTableMapping): RowUpdatedEventArgs;
|
|
681
|
+
CreateRowUpdatingEvent(dataRow: DataRow, command: IDbCommand | null, statementType: StatementType, tableMapping: DataTableMapping): RowUpdatingEventArgs;
|
|
683
682
|
Dispose(disposing: boolean): void;
|
|
684
683
|
Dispose(): void;
|
|
685
684
|
ExecuteBatch(): int;
|
|
@@ -694,15 +693,15 @@ export interface DbDataAdapter$instance extends DataAdapter$instance, System_Int
|
|
|
694
693
|
Fill(dataSet: DataSet, srcTable: string, dataReader: IDataReader, startRecord: int, maxRecords: int): int;
|
|
695
694
|
Fill(dataTable: DataTable, dataReader: IDataReader): int;
|
|
696
695
|
Fill(dataTables: DataTable[], dataReader: IDataReader, startRecord: int, maxRecords: int): int;
|
|
697
|
-
FillSchema(dataTable: DataTable, schemaType: SchemaType): DataTable |
|
|
696
|
+
FillSchema(dataTable: DataTable, schemaType: SchemaType): DataTable | null;
|
|
698
697
|
FillSchema(dataSet: DataSet, schemaType: SchemaType): DataTable[];
|
|
699
698
|
FillSchema(dataSet: DataSet, schemaType: SchemaType, srcTable: string): DataTable[];
|
|
700
699
|
FillSchema(dataSet: DataSet, schemaType: SchemaType, command: IDbCommand, srcTable: string, behavior: CommandBehavior): DataTable[];
|
|
701
|
-
FillSchema(dataTable: DataTable, schemaType: SchemaType, command: IDbCommand, behavior: CommandBehavior): DataTable |
|
|
700
|
+
FillSchema(dataTable: DataTable, schemaType: SchemaType, command: IDbCommand, behavior: CommandBehavior): DataTable | null;
|
|
702
701
|
FillSchema(dataSet: DataSet, schemaType: SchemaType, srcTable: string, dataReader: IDataReader): DataTable[];
|
|
703
|
-
FillSchema(dataTable: DataTable, schemaType: SchemaType, dataReader: IDataReader): DataTable |
|
|
702
|
+
FillSchema(dataTable: DataTable, schemaType: SchemaType, dataReader: IDataReader): DataTable | null;
|
|
704
703
|
GetBatchedParameter(commandIdentifier: int, parameterIndex: int): IDataParameter;
|
|
705
|
-
GetBatchedRecordsAffected(commandIdentifier: int, recordsAffected: int, error: Exception): boolean;
|
|
704
|
+
GetBatchedRecordsAffected(commandIdentifier: int, recordsAffected: int, error: Exception | null): boolean;
|
|
706
705
|
GetFillParameters(): IDataParameter[];
|
|
707
706
|
InitializeBatching(): void;
|
|
708
707
|
OnRowUpdated(value: RowUpdatedEventArgs): void;
|
|
@@ -752,13 +751,13 @@ export interface DbDataReader$instance extends MarshalByRefObject, System_Intern
|
|
|
752
751
|
Dispose(): void;
|
|
753
752
|
Dispose(disposing: boolean): void;
|
|
754
753
|
DisposeAsync(): ValueTask;
|
|
755
|
-
get_Item(ordinal: int):
|
|
756
|
-
get_Item(name: string):
|
|
754
|
+
get_Item(ordinal: int): JsValue;
|
|
755
|
+
get_Item(name: string): JsValue;
|
|
757
756
|
GetBoolean(ordinal: int): boolean;
|
|
758
757
|
GetByte(ordinal: int): byte;
|
|
759
|
-
GetBytes(ordinal: int, dataOffset: long, buffer: byte[], bufferOffset: int, length: int): long;
|
|
758
|
+
GetBytes(ordinal: int, dataOffset: long, buffer: byte[] | null, bufferOffset: int, length: int): long;
|
|
760
759
|
GetChar(ordinal: int): char;
|
|
761
|
-
GetChars(ordinal: int, dataOffset: long, buffer: char[], bufferOffset: int, length: int): long;
|
|
760
|
+
GetChars(ordinal: int, dataOffset: long, buffer: char[] | null, bufferOffset: int, length: int): long;
|
|
762
761
|
GetColumnSchemaAsync(cancellationToken?: CancellationToken): Task_1<ReadOnlyCollection_1<DbColumn>>;
|
|
763
762
|
GetData(ordinal: int): DbDataReader;
|
|
764
763
|
GetDataTypeName(ordinal: int): string;
|
|
@@ -779,15 +778,15 @@ export interface DbDataReader$instance extends MarshalByRefObject, System_Intern
|
|
|
779
778
|
GetName(ordinal: int): string;
|
|
780
779
|
GetOrdinal(name: string): int;
|
|
781
780
|
GetProviderSpecificFieldType(ordinal: int): Type;
|
|
782
|
-
GetProviderSpecificValue(ordinal: int):
|
|
783
|
-
GetProviderSpecificValues(values:
|
|
784
|
-
GetSchemaTable(): DataTable |
|
|
785
|
-
GetSchemaTableAsync(cancellationToken?: CancellationToken): Task_1<DataTable |
|
|
781
|
+
GetProviderSpecificValue(ordinal: int): JsValue;
|
|
782
|
+
GetProviderSpecificValues(values: JsValue[]): int;
|
|
783
|
+
GetSchemaTable(): DataTable | null;
|
|
784
|
+
GetSchemaTableAsync(cancellationToken?: CancellationToken): Task_1<DataTable | null>;
|
|
786
785
|
GetStream(ordinal: int): Stream;
|
|
787
786
|
GetString(ordinal: int): string;
|
|
788
787
|
GetTextReader(ordinal: int): TextReader;
|
|
789
|
-
GetValue(ordinal: int):
|
|
790
|
-
GetValues(values:
|
|
788
|
+
GetValue(ordinal: int): JsValue;
|
|
789
|
+
GetValues(values: JsValue[]): int;
|
|
791
790
|
IsDBNull(ordinal: int): boolean;
|
|
792
791
|
IsDBNullAsync(ordinal: int): Task_1<System_Internal.Boolean>;
|
|
793
792
|
IsDBNullAsync(ordinal: int, cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
@@ -822,13 +821,13 @@ export interface DbDataRecord$instance extends System_ComponentModel_Internal.IC
|
|
|
822
821
|
readonly __tsonic_iface_System_Data_IDataRecord: never;
|
|
823
822
|
|
|
824
823
|
readonly FieldCount: int;
|
|
825
|
-
get_Item(i: int):
|
|
826
|
-
get_Item(name: string):
|
|
824
|
+
get_Item(i: int): JsValue;
|
|
825
|
+
get_Item(name: string): JsValue;
|
|
827
826
|
GetBoolean(i: int): boolean;
|
|
828
827
|
GetByte(i: int): byte;
|
|
829
|
-
GetBytes(i: int, dataIndex: long, buffer: byte[], bufferIndex: int, length: int): long;
|
|
828
|
+
GetBytes(i: int, dataIndex: long, buffer: byte[] | null, bufferIndex: int, length: int): long;
|
|
830
829
|
GetChar(i: int): char;
|
|
831
|
-
GetChars(i: int, dataIndex: long, buffer: char[], bufferIndex: int, length: int): long;
|
|
830
|
+
GetChars(i: int, dataIndex: long, buffer: char[] | null, bufferIndex: int, length: int): long;
|
|
832
831
|
GetData(i: int): IDataReader;
|
|
833
832
|
GetDataTypeName(i: int): string;
|
|
834
833
|
GetDateTime(i: int): DateTime;
|
|
@@ -844,8 +843,8 @@ export interface DbDataRecord$instance extends System_ComponentModel_Internal.IC
|
|
|
844
843
|
GetName(i: int): string;
|
|
845
844
|
GetOrdinal(name: string): int;
|
|
846
845
|
GetString(i: int): string;
|
|
847
|
-
GetValue(i: int):
|
|
848
|
-
GetValues(values:
|
|
846
|
+
GetValue(i: int): JsValue;
|
|
847
|
+
GetValues(values: JsValue[]): int;
|
|
849
848
|
IsDBNull(i: int): boolean;
|
|
850
849
|
}
|
|
851
850
|
|
|
@@ -870,10 +869,10 @@ export interface DbDataSource$instance extends System_Internal.IAsyncDisposable$
|
|
|
870
869
|
|
|
871
870
|
readonly ConnectionString: string;
|
|
872
871
|
CreateBatch(): DbBatch;
|
|
873
|
-
CreateCommand(commandText?: string): DbCommand;
|
|
872
|
+
CreateCommand(commandText?: string | null): DbCommand;
|
|
874
873
|
CreateConnection(): DbConnection;
|
|
875
874
|
CreateDbBatch(): DbBatch;
|
|
876
|
-
CreateDbCommand(commandText?: string): DbCommand;
|
|
875
|
+
CreateDbCommand(commandText?: string | null): DbCommand;
|
|
877
876
|
CreateDbConnection(): DbConnection;
|
|
878
877
|
Dispose(): void;
|
|
879
878
|
Dispose(disposing: boolean): void;
|
|
@@ -916,7 +915,7 @@ export interface DbEnumerator$instance {
|
|
|
916
915
|
|
|
917
916
|
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
918
917
|
|
|
919
|
-
readonly Current:
|
|
918
|
+
readonly Current: JsValue;
|
|
920
919
|
MoveNext(): boolean;
|
|
921
920
|
Reset(): void;
|
|
922
921
|
}
|
|
@@ -942,14 +941,14 @@ export interface DbException$instance extends ExternalException, System_Runtime_
|
|
|
942
941
|
|
|
943
942
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
944
943
|
|
|
945
|
-
readonly BatchCommand: DbBatchCommand |
|
|
946
|
-
readonly DbBatchCommand: DbBatchCommand |
|
|
944
|
+
readonly BatchCommand: DbBatchCommand | null;
|
|
945
|
+
readonly DbBatchCommand: DbBatchCommand | null;
|
|
947
946
|
readonly IsTransient: boolean;
|
|
948
|
-
readonly SqlState: string |
|
|
947
|
+
readonly SqlState: string | null;
|
|
949
948
|
}
|
|
950
949
|
|
|
951
950
|
|
|
952
|
-
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) & {
|
|
951
|
+
export const DbException: (abstract new() => DbException) & (abstract new(message: string | null) => DbException) & (abstract new(message: string | null, innerException: Exception | null) => DbException) & (abstract new(message: string | null, errorCode: int) => DbException) & (abstract new(info: SerializationInfo, context: StreamingContext) => DbException) & {
|
|
953
952
|
};
|
|
954
953
|
|
|
955
954
|
|
|
@@ -976,8 +975,8 @@ export interface DbParameter$instance extends MarshalByRefObject {
|
|
|
976
975
|
SourceColumn: string;
|
|
977
976
|
SourceColumnNullMapping: boolean;
|
|
978
977
|
SourceVersion: DataRowVersion;
|
|
979
|
-
get Value():
|
|
980
|
-
set Value(value:
|
|
978
|
+
get Value(): JsValue | null;
|
|
979
|
+
set Value(value: JsValue | null);
|
|
981
980
|
ResetDbType(): void;
|
|
982
981
|
}
|
|
983
982
|
|
|
@@ -1006,11 +1005,11 @@ export interface DbParameterCollection$instance extends MarshalByRefObject {
|
|
|
1006
1005
|
readonly IsFixedSize: boolean;
|
|
1007
1006
|
readonly IsReadOnly: boolean;
|
|
1008
1007
|
readonly IsSynchronized: boolean;
|
|
1009
|
-
readonly SyncRoot:
|
|
1010
|
-
Add(value:
|
|
1008
|
+
readonly SyncRoot: JsValue;
|
|
1009
|
+
Add(value: JsValue): int;
|
|
1011
1010
|
AddRange(values: ClrArray): void;
|
|
1012
1011
|
Clear(): void;
|
|
1013
|
-
Contains(value:
|
|
1012
|
+
Contains(value: JsValue): boolean;
|
|
1014
1013
|
Contains(value: string): boolean;
|
|
1015
1014
|
CopyTo(array: ClrArray, index: int): void;
|
|
1016
1015
|
get_Item(index: int): DbParameter;
|
|
@@ -1018,10 +1017,10 @@ export interface DbParameterCollection$instance extends MarshalByRefObject {
|
|
|
1018
1017
|
GetEnumerator(): IEnumerator;
|
|
1019
1018
|
GetParameter(index: int): DbParameter;
|
|
1020
1019
|
GetParameter(parameterName: string): DbParameter;
|
|
1021
|
-
IndexOf(value:
|
|
1020
|
+
IndexOf(value: JsValue): int;
|
|
1022
1021
|
IndexOf(parameterName: string): int;
|
|
1023
|
-
Insert(index: int, value:
|
|
1024
|
-
Remove(value:
|
|
1022
|
+
Insert(index: int, value: JsValue): void;
|
|
1023
|
+
Remove(value: JsValue): void;
|
|
1025
1024
|
RemoveAt(index: int): void;
|
|
1026
1025
|
RemoveAt(parameterName: string): void;
|
|
1027
1026
|
set_Item(index: int, value: DbParameter): void;
|
|
@@ -1054,14 +1053,14 @@ export interface DbProviderFactory$instance {
|
|
|
1054
1053
|
readonly CanCreateDataSourceEnumerator: boolean;
|
|
1055
1054
|
CreateBatch(): DbBatch;
|
|
1056
1055
|
CreateBatchCommand(): DbBatchCommand;
|
|
1057
|
-
CreateCommand(): DbCommand |
|
|
1058
|
-
CreateCommandBuilder(): DbCommandBuilder |
|
|
1059
|
-
CreateConnection(): DbConnection |
|
|
1060
|
-
CreateConnectionStringBuilder(): DbConnectionStringBuilder |
|
|
1061
|
-
CreateDataAdapter(): DbDataAdapter |
|
|
1056
|
+
CreateCommand(): DbCommand | null;
|
|
1057
|
+
CreateCommandBuilder(): DbCommandBuilder | null;
|
|
1058
|
+
CreateConnection(): DbConnection | null;
|
|
1059
|
+
CreateConnectionStringBuilder(): DbConnectionStringBuilder | null;
|
|
1060
|
+
CreateDataAdapter(): DbDataAdapter | null;
|
|
1062
1061
|
CreateDataSource(connectionString: string): DbDataSource;
|
|
1063
|
-
CreateDataSourceEnumerator(): DbDataSourceEnumerator |
|
|
1064
|
-
CreateParameter(): DbParameter |
|
|
1062
|
+
CreateDataSourceEnumerator(): DbDataSourceEnumerator | null;
|
|
1063
|
+
CreateParameter(): DbParameter | null;
|
|
1065
1064
|
}
|
|
1066
1065
|
|
|
1067
1066
|
|
|
@@ -1092,8 +1091,8 @@ export interface DbTransaction$instance extends MarshalByRefObject, System_Inter
|
|
|
1092
1091
|
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
1093
1092
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
1094
1093
|
|
|
1095
|
-
readonly Connection: DbConnection |
|
|
1096
|
-
readonly DbConnection: DbConnection |
|
|
1094
|
+
readonly Connection: DbConnection | null;
|
|
1095
|
+
readonly DbConnection: DbConnection | null;
|
|
1097
1096
|
readonly IsolationLevel: IsolationLevel;
|
|
1098
1097
|
readonly SupportsSavepoints: boolean;
|
|
1099
1098
|
Commit(): void;
|
|
@@ -1128,9 +1127,9 @@ export type DbTransaction = DbTransaction$instance & __DbTransaction$views;
|
|
|
1128
1127
|
export interface RowUpdatedEventArgs$instance extends EventArgs {
|
|
1129
1128
|
readonly __tsonic_type_System_Data_Common_RowUpdatedEventArgs: never;
|
|
1130
1129
|
|
|
1131
|
-
readonly Command: IDbCommand |
|
|
1132
|
-
get Errors(): Exception |
|
|
1133
|
-
set Errors(value: Exception |
|
|
1130
|
+
readonly Command: IDbCommand | null;
|
|
1131
|
+
get Errors(): Exception | null;
|
|
1132
|
+
set Errors(value: Exception | null);
|
|
1134
1133
|
readonly RecordsAffected: int;
|
|
1135
1134
|
readonly Row: DataRow;
|
|
1136
1135
|
readonly RowCount: int;
|
|
@@ -1143,7 +1142,7 @@ export interface RowUpdatedEventArgs$instance extends EventArgs {
|
|
|
1143
1142
|
|
|
1144
1143
|
|
|
1145
1144
|
export const RowUpdatedEventArgs: {
|
|
1146
|
-
new(dataRow: DataRow, command: IDbCommand, statementType: StatementType, tableMapping: DataTableMapping): RowUpdatedEventArgs;
|
|
1145
|
+
new(dataRow: DataRow, command: IDbCommand | null, statementType: StatementType, tableMapping: DataTableMapping): RowUpdatedEventArgs;
|
|
1147
1146
|
};
|
|
1148
1147
|
|
|
1149
1148
|
|
|
@@ -1152,12 +1151,12 @@ export type RowUpdatedEventArgs = RowUpdatedEventArgs$instance;
|
|
|
1152
1151
|
export interface RowUpdatingEventArgs$instance extends EventArgs {
|
|
1153
1152
|
readonly __tsonic_type_System_Data_Common_RowUpdatingEventArgs: never;
|
|
1154
1153
|
|
|
1155
|
-
get BaseCommand(): IDbCommand |
|
|
1156
|
-
set BaseCommand(value: IDbCommand |
|
|
1157
|
-
get Command(): IDbCommand |
|
|
1158
|
-
set Command(value: IDbCommand |
|
|
1159
|
-
get Errors(): Exception |
|
|
1160
|
-
set Errors(value: Exception |
|
|
1154
|
+
get BaseCommand(): IDbCommand | null;
|
|
1155
|
+
set BaseCommand(value: IDbCommand | null);
|
|
1156
|
+
get Command(): IDbCommand | null;
|
|
1157
|
+
set Command(value: IDbCommand | null);
|
|
1158
|
+
get Errors(): Exception | null;
|
|
1159
|
+
set Errors(value: Exception | null);
|
|
1161
1160
|
readonly Row: DataRow;
|
|
1162
1161
|
readonly StatementType: StatementType;
|
|
1163
1162
|
Status: UpdateStatus;
|
|
@@ -1166,7 +1165,7 @@ export interface RowUpdatingEventArgs$instance extends EventArgs {
|
|
|
1166
1165
|
|
|
1167
1166
|
|
|
1168
1167
|
export const RowUpdatingEventArgs: {
|
|
1169
|
-
new(dataRow: DataRow, command: IDbCommand, statementType: StatementType, tableMapping: DataTableMapping): RowUpdatingEventArgs;
|
|
1168
|
+
new(dataRow: DataRow, command: IDbCommand | null, statementType: StatementType, tableMapping: DataTableMapping): RowUpdatingEventArgs;
|
|
1170
1169
|
};
|
|
1171
1170
|
|
|
1172
1171
|
|
|
@@ -1241,7 +1240,7 @@ export abstract class DbMetaDataColumnNames$instance {
|
|
|
1241
1240
|
export type DbMetaDataColumnNames = DbMetaDataColumnNames$instance;
|
|
1242
1241
|
|
|
1243
1242
|
export abstract class DbProviderFactories$instance {
|
|
1244
|
-
static GetFactory(connection: DbConnection): DbProviderFactory |
|
|
1243
|
+
static GetFactory(connection: DbConnection): DbProviderFactory | null;
|
|
1245
1244
|
static GetFactory(providerRow: DataRow): DbProviderFactory;
|
|
1246
1245
|
static GetFactory(providerInvariantName: string): DbProviderFactory;
|
|
1247
1246
|
static GetFactoryClasses(): DataTable;
|
|
@@ -1249,7 +1248,7 @@ export abstract class DbProviderFactories$instance {
|
|
|
1249
1248
|
static RegisterFactory(providerInvariantName: string, factory: DbProviderFactory): void;
|
|
1250
1249
|
static RegisterFactory(providerInvariantName: string, factoryTypeAssemblyQualifiedName: string): void;
|
|
1251
1250
|
static RegisterFactory(providerInvariantName: string, providerFactoryClass: Type): void;
|
|
1252
|
-
static TryGetFactory(providerInvariantName: string, factory: DbProviderFactory): boolean;
|
|
1251
|
+
static TryGetFactory(providerInvariantName: string, factory: DbProviderFactory | null): boolean;
|
|
1253
1252
|
static UnregisterFactory(providerInvariantName: string): boolean;
|
|
1254
1253
|
}
|
|
1255
1254
|
|