@tsonic/dotnet 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
- package/Microsoft.Win32/internal/index.d.ts +11 -11
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +994 -1006
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +3 -3
- package/System.CodeDom.Compiler/internal/index.d.ts +11 -11
- package/System.Collections/internal/index.d.ts +26 -28
- package/System.Collections.Concurrent/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +6 -6
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Generic/bindings.json +44 -20
- package/System.Collections.Generic/internal/index.d.ts +68 -60
- package/System.Collections.Generic/internal/metadata.json +26 -10
- package/System.Collections.Immutable/internal/index.d.ts +99 -99
- package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
- package/System.Collections.Specialized/internal/index.d.ts +63 -65
- package/System.ComponentModel/internal/index.d.ts +428 -430
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +66 -66
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +72 -72
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +33 -33
- package/System.Data/internal/index.d.ts +168 -168
- package/System.Data.Common/internal/index.d.ts +48 -48
- package/System.Data.SqlTypes/internal/index.d.ts +21 -21
- package/System.Diagnostics/internal/index.d.ts +262 -262
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +25 -25
- package/System.Diagnostics.Contracts/internal/index.d.ts +8 -8
- package/System.Diagnostics.Metrics/internal/index.d.ts +33 -33
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
- package/System.Diagnostics.Tracing/internal/index.d.ts +28 -28
- package/System.Drawing/internal/index.d.ts +77 -77
- package/System.Dynamic/internal/index.d.ts +27 -27
- package/System.Formats.Asn1/internal/index.d.ts +4 -4
- package/System.Formats.Tar/internal/index.d.ts +3 -3
- package/System.Globalization/internal/index.d.ts +18 -18
- package/System.IO/internal/index.d.ts +107 -107
- package/System.IO.Compression/internal/index.d.ts +25 -25
- package/System.IO.Enumeration/internal/index.d.ts +5 -5
- package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
- package/System.IO.Pipelines/internal/index.d.ts +5 -5
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.Linq/internal/index.d.ts +180 -180
- package/System.Linq.Expressions/internal/index.d.ts +169 -169
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/internal/index.d.ts +151 -153
- package/System.Net.Cache/internal/index.d.ts +2 -2
- package/System.Net.Http/internal/index.d.ts +58 -58
- package/System.Net.Http.Headers/internal/index.d.ts +48 -48
- package/System.Net.Http.Json/internal/index.d.ts +58 -58
- package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
- package/System.Net.Mail/internal/index.d.ts +72 -72
- package/System.Net.Mime/internal/index.d.ts +2 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +24 -24
- package/System.Net.Quic/internal/index.d.ts +4 -4
- package/System.Net.Security/internal/index.d.ts +52 -52
- package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
- package/System.Net.Sockets/internal/index.d.ts +41 -41
- package/System.Net.WebSockets/internal/index.d.ts +34 -34
- package/System.Numerics/bindings.json +384 -0
- package/System.Numerics/internal/index.d.ts +91 -93
- package/System.Numerics/internal/metadata.json +256 -0
- package/System.Reflection/internal/index.d.ts +219 -219
- package/System.Reflection.Emit/internal/index.d.ts +118 -118
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +14 -14
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +5 -5
- package/System.Reflection.PortableExecutable/internal/index.d.ts +4 -4
- package/System.Resources/internal/index.d.ts +24 -24
- package/System.Runtime/internal/index.d.ts +5 -5
- package/System.Runtime.CompilerServices/internal/index.d.ts +31 -31
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +93 -93
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +10 -10
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +23 -23
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +36 -36
- package/System.Runtime.Loader/internal/index.d.ts +6 -6
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +77 -79
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +16 -16
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +4 -4
- package/System.Runtime.Serialization.Json/internal/index.d.ts +26 -26
- package/System.Runtime.Versioning/internal/index.d.ts +9 -9
- package/System.Security/internal/index.d.ts +49 -49
- package/System.Security.AccessControl/internal/index.d.ts +31 -31
- package/System.Security.Authentication/internal/index.d.ts +4 -4
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +10 -10
- package/System.Security.Claims/internal/index.d.ts +23 -25
- package/System.Security.Cryptography/internal/index.d.ts +189 -189
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +71 -71
- package/System.Security.Policy/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +9 -11
- package/System.Text/internal/index.d.ts +51 -51
- package/System.Text.Json/internal/index.d.ts +83 -83
- package/System.Text.Json.Nodes/internal/index.d.ts +65 -65
- package/System.Text.Json.Schema/internal/index.d.ts +5 -5
- package/System.Text.Json.Serialization/internal/index.d.ts +10 -10
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +47 -47
- package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
- package/System.Text.Unicode/internal/index.d.ts +4 -4
- package/System.Threading/internal/index.d.ts +87 -87
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +84 -94
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +29 -26
- package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
- package/System.Timers/internal/index.d.ts +3 -3
- package/System.Transactions/internal/index.d.ts +20 -20
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +215 -215
- package/System.Xml.Linq/internal/index.d.ts +51 -51
- package/System.Xml.Resolvers/internal/index.d.ts +4 -4
- package/System.Xml.Schema/internal/index.d.ts +105 -105
- package/System.Xml.Serialization/internal/index.d.ts +136 -136
- package/System.Xml.XPath/internal/index.d.ts +19 -19
- package/System.Xml.Xsl/internal/index.d.ts +41 -41
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +20 -20
- package/__internal/extensions/index.d.ts +415 -414
- package/package.json +1 -1
|
@@ -350,21 +350,21 @@ export interface IColumnMappingCollection$instance extends IList, ICollection, I
|
|
|
350
350
|
readonly syncRoot: unknown;
|
|
351
351
|
readonly isSynchronized: boolean;
|
|
352
352
|
add(sourceColumnName: string, dataSetColumnName: string): IColumnMapping;
|
|
353
|
-
add(value: unknown): int;
|
|
353
|
+
add(value: unknown | undefined): int;
|
|
354
354
|
clear(): void;
|
|
355
355
|
contains(sourceColumnName: string): boolean;
|
|
356
|
-
contains(value: unknown): boolean;
|
|
356
|
+
contains(value: unknown | undefined): boolean;
|
|
357
357
|
copyTo(array: ClrArray, index: int): void;
|
|
358
358
|
get_Item2(index: int): unknown;
|
|
359
359
|
get_Item2(index: string): unknown;
|
|
360
360
|
getByDataSetColumn(dataSetColumnName: string): IColumnMapping;
|
|
361
361
|
getEnumerator(): IEnumerator;
|
|
362
362
|
indexOf(sourceColumnName: string): int;
|
|
363
|
-
insert(index: int, value: unknown): void;
|
|
364
|
-
remove(value: unknown): void;
|
|
363
|
+
insert(index: int, value: unknown | undefined): void;
|
|
364
|
+
remove(value: unknown | undefined): void;
|
|
365
365
|
removeAt(sourceColumnName: string): void;
|
|
366
366
|
removeAt(index: int): void;
|
|
367
|
-
set_Item2(index: int, value: unknown): void;
|
|
367
|
+
set_Item2(index: int, value: unknown | undefined): void;
|
|
368
368
|
set_Item2(index: string, value: unknown): void;
|
|
369
369
|
}
|
|
370
370
|
|
|
@@ -402,20 +402,20 @@ export interface IDataParameterCollection$instance extends IList, ICollection, I
|
|
|
402
402
|
readonly count: int;
|
|
403
403
|
readonly syncRoot: unknown;
|
|
404
404
|
readonly isSynchronized: boolean;
|
|
405
|
-
add(value: unknown): int;
|
|
405
|
+
add(value: unknown | undefined): int;
|
|
406
406
|
clear(): void;
|
|
407
407
|
contains(parameterName: string): boolean;
|
|
408
|
-
contains(value: unknown): boolean;
|
|
408
|
+
contains(value: unknown | undefined): boolean;
|
|
409
409
|
copyTo(array: ClrArray, index: int): void;
|
|
410
410
|
get_Item2(index: int): unknown;
|
|
411
411
|
get_Item2(parameterName: string): unknown;
|
|
412
412
|
getEnumerator(): IEnumerator;
|
|
413
413
|
indexOf(parameterName: string): int;
|
|
414
|
-
insert(index: int, value: unknown): void;
|
|
415
|
-
remove(value: unknown): void;
|
|
414
|
+
insert(index: int, value: unknown | undefined): void;
|
|
415
|
+
remove(value: unknown | undefined): void;
|
|
416
416
|
removeAt(parameterName: string): void;
|
|
417
417
|
removeAt(index: int): void;
|
|
418
|
-
set_Item2(index: int, value: unknown): void;
|
|
418
|
+
set_Item2(index: int, value: unknown | undefined): void;
|
|
419
419
|
set_Item2(parameterName: string, value: unknown): void;
|
|
420
420
|
}
|
|
421
421
|
|
|
@@ -490,7 +490,7 @@ export type IDataRecord = IDataRecord$instance;
|
|
|
490
490
|
|
|
491
491
|
export interface IDbCommand$instance extends IDisposable {
|
|
492
492
|
connection: IDbConnection;
|
|
493
|
-
transaction: IDbTransaction;
|
|
493
|
+
transaction: IDbTransaction | undefined;
|
|
494
494
|
commandText: string;
|
|
495
495
|
commandTimeout: int;
|
|
496
496
|
commandType: CommandType;
|
|
@@ -529,10 +529,10 @@ export interface IDbConnection$instance extends System_Internal.IDisposable$inst
|
|
|
529
529
|
export type IDbConnection = IDbConnection$instance;
|
|
530
530
|
|
|
531
531
|
export interface IDbDataAdapter$instance extends IDataAdapter {
|
|
532
|
-
selectCommand: IDbCommand;
|
|
533
|
-
insertCommand: IDbCommand;
|
|
534
|
-
updateCommand: IDbCommand;
|
|
535
|
-
deleteCommand: IDbCommand;
|
|
532
|
+
selectCommand: IDbCommand | undefined;
|
|
533
|
+
insertCommand: IDbCommand | undefined;
|
|
534
|
+
updateCommand: IDbCommand | undefined;
|
|
535
|
+
deleteCommand: IDbCommand | undefined;
|
|
536
536
|
missingMappingAction: MissingMappingAction;
|
|
537
537
|
missingSchemaAction: MissingSchemaAction;
|
|
538
538
|
readonly tableMappings: ITableMappingCollection;
|
|
@@ -592,21 +592,21 @@ export interface ITableMappingCollection$instance extends IList, ICollection, IE
|
|
|
592
592
|
readonly syncRoot: unknown;
|
|
593
593
|
readonly isSynchronized: boolean;
|
|
594
594
|
add(sourceTableName: string, dataSetTableName: string): ITableMapping;
|
|
595
|
-
add(value: unknown): int;
|
|
595
|
+
add(value: unknown | undefined): int;
|
|
596
596
|
clear(): void;
|
|
597
597
|
contains(sourceTableName: string): boolean;
|
|
598
|
-
contains(value: unknown): boolean;
|
|
598
|
+
contains(value: unknown | undefined): boolean;
|
|
599
599
|
copyTo(array: ClrArray, index: int): void;
|
|
600
600
|
get_Item2(index: int): unknown;
|
|
601
601
|
get_Item2(index: string): unknown;
|
|
602
602
|
getByDataSetTable(dataSetTableName: string): ITableMapping;
|
|
603
603
|
getEnumerator(): IEnumerator;
|
|
604
604
|
indexOf(sourceTableName: string): int;
|
|
605
|
-
insert(index: int, value: unknown): void;
|
|
606
|
-
remove(value: unknown): void;
|
|
605
|
+
insert(index: int, value: unknown | undefined): void;
|
|
606
|
+
remove(value: unknown | undefined): void;
|
|
607
607
|
removeAt(sourceTableName: string): void;
|
|
608
608
|
removeAt(index: int): void;
|
|
609
|
-
set_Item2(index: int, value: unknown): void;
|
|
609
|
+
set_Item2(index: int, value: unknown | undefined): void;
|
|
610
610
|
set_Item2(index: string, value: unknown): void;
|
|
611
611
|
}
|
|
612
612
|
|
|
@@ -629,11 +629,11 @@ export type Constraint = Constraint$instance;
|
|
|
629
629
|
|
|
630
630
|
export interface ConstraintCollection$instance extends InternalDataCollectionBase$instance {
|
|
631
631
|
add(constraint: Constraint): void;
|
|
632
|
-
add(name: string, columns: DataColumn[], primaryKey: boolean): Constraint;
|
|
633
|
-
add(name: string, column: DataColumn, primaryKey: boolean): Constraint;
|
|
634
|
-
add(name: string, primaryKeyColumn: DataColumn, foreignKeyColumn: DataColumn): Constraint;
|
|
635
|
-
add(name: string, primaryKeyColumns: DataColumn[], foreignKeyColumns: DataColumn[]): Constraint;
|
|
636
|
-
addRange(constraints: Constraint[]): void;
|
|
632
|
+
add(name: string | undefined, columns: DataColumn[], primaryKey: boolean): Constraint;
|
|
633
|
+
add(name: string | undefined, column: DataColumn, primaryKey: boolean): Constraint;
|
|
634
|
+
add(name: string | undefined, primaryKeyColumn: DataColumn, foreignKeyColumn: DataColumn): Constraint;
|
|
635
|
+
add(name: string | undefined, primaryKeyColumns: DataColumn[], foreignKeyColumns: DataColumn[]): Constraint;
|
|
636
|
+
addRange(constraints: Constraint[] | undefined): void;
|
|
637
637
|
canRemove(constraint: Constraint): boolean;
|
|
638
638
|
clear(): void;
|
|
639
639
|
contains(name: string): boolean;
|
|
@@ -669,8 +669,8 @@ export interface ConstraintException$instance extends DataException$instance {
|
|
|
669
669
|
|
|
670
670
|
export const ConstraintException: {
|
|
671
671
|
new(): ConstraintException;
|
|
672
|
-
new(s: string): ConstraintException;
|
|
673
|
-
new(message: string, innerException: Exception): ConstraintException;
|
|
672
|
+
new(s: string | undefined): ConstraintException;
|
|
673
|
+
new(message: string | undefined, innerException: Exception | undefined): ConstraintException;
|
|
674
674
|
};
|
|
675
675
|
|
|
676
676
|
|
|
@@ -702,7 +702,7 @@ export interface DataColumn$instance extends MarshalByValueComponent {
|
|
|
702
702
|
readonly table: DataTable;
|
|
703
703
|
unique: boolean;
|
|
704
704
|
dispose(): void;
|
|
705
|
-
getService(service: Type): unknown;
|
|
705
|
+
getService(service: Type | undefined): unknown | undefined;
|
|
706
706
|
setOrdinal(ordinal: int): void;
|
|
707
707
|
toString(): string;
|
|
708
708
|
}
|
|
@@ -711,7 +711,7 @@ export interface DataColumn$instance extends MarshalByValueComponent {
|
|
|
711
711
|
export const DataColumn: {
|
|
712
712
|
new(): DataColumn;
|
|
713
713
|
new(columnName: string): DataColumn;
|
|
714
|
-
new(columnName: string, dataType: Type): DataColumn;
|
|
714
|
+
new(columnName: string | undefined, dataType: Type): DataColumn;
|
|
715
715
|
new(columnName: string, dataType: Type, expr: string): DataColumn;
|
|
716
716
|
new(columnName: string, dataType: Type, expr: string, type_: MappingType): DataColumn;
|
|
717
717
|
};
|
|
@@ -729,14 +729,14 @@ export type DataColumn = DataColumn$instance & __DataColumn$views;
|
|
|
729
729
|
|
|
730
730
|
|
|
731
731
|
export interface DataColumnChangeEventArgs$instance extends EventArgs {
|
|
732
|
-
readonly column: DataColumn;
|
|
733
|
-
proposedValue: unknown;
|
|
732
|
+
readonly column: DataColumn | undefined;
|
|
733
|
+
proposedValue: unknown | undefined;
|
|
734
734
|
readonly row: DataRow;
|
|
735
735
|
}
|
|
736
736
|
|
|
737
737
|
|
|
738
738
|
export const DataColumnChangeEventArgs: {
|
|
739
|
-
new(row: DataRow, column: DataColumn, value: unknown): DataColumnChangeEventArgs;
|
|
739
|
+
new(row: DataRow, column: DataColumn | undefined, value: unknown | undefined): DataColumnChangeEventArgs;
|
|
740
740
|
};
|
|
741
741
|
|
|
742
742
|
|
|
@@ -744,9 +744,9 @@ export type DataColumnChangeEventArgs = DataColumnChangeEventArgs$instance;
|
|
|
744
744
|
|
|
745
745
|
export interface DataColumnCollection$instance extends InternalDataCollectionBase$instance {
|
|
746
746
|
add(column: DataColumn): void;
|
|
747
|
-
add(columnName: string, type_: Type, expression: string): DataColumn;
|
|
748
|
-
add(columnName: string, type_: Type): DataColumn;
|
|
749
|
-
add(columnName: string): DataColumn;
|
|
747
|
+
add(columnName: string | undefined, type_: Type, expression: string): DataColumn;
|
|
748
|
+
add(columnName: string | undefined, type_: Type): DataColumn;
|
|
749
|
+
add(columnName: string | undefined): DataColumn;
|
|
750
750
|
add(): DataColumn;
|
|
751
751
|
addRange(columns: DataColumn[]): void;
|
|
752
752
|
canRemove(column: DataColumn): boolean;
|
|
@@ -784,8 +784,8 @@ export interface DataException$instance extends SystemException {
|
|
|
784
784
|
|
|
785
785
|
export const DataException: {
|
|
786
786
|
new(): DataException;
|
|
787
|
-
new(s: string): DataException;
|
|
788
|
-
new(s: string, innerException: Exception): DataException;
|
|
787
|
+
new(s: string | undefined): DataException;
|
|
788
|
+
new(s: string | undefined, innerException: Exception | undefined): DataException;
|
|
789
789
|
};
|
|
790
790
|
|
|
791
791
|
|
|
@@ -798,13 +798,13 @@ export type DataException = DataException$instance & __DataException$views;
|
|
|
798
798
|
|
|
799
799
|
export interface DataRelation$instance {
|
|
800
800
|
readonly childColumns: DataColumn[];
|
|
801
|
-
readonly childKeyConstraint: ForeignKeyConstraint;
|
|
801
|
+
readonly childKeyConstraint: ForeignKeyConstraint | undefined;
|
|
802
802
|
readonly childTable: DataTable;
|
|
803
803
|
readonly dataSet: DataSet;
|
|
804
804
|
readonly extendedProperties: PropertyCollection;
|
|
805
805
|
nested: boolean;
|
|
806
806
|
readonly parentColumns: DataColumn[];
|
|
807
|
-
readonly parentKeyConstraint: UniqueConstraint;
|
|
807
|
+
readonly parentKeyConstraint: UniqueConstraint | undefined;
|
|
808
808
|
readonly parentTable: DataTable;
|
|
809
809
|
relationName: string;
|
|
810
810
|
toString(): string;
|
|
@@ -812,12 +812,12 @@ export interface DataRelation$instance {
|
|
|
812
812
|
|
|
813
813
|
|
|
814
814
|
export const DataRelation: {
|
|
815
|
-
new(relationName: string, parentColumn: DataColumn, childColumn: DataColumn): DataRelation;
|
|
816
|
-
new(relationName: string, parentColumn: DataColumn, childColumn: DataColumn, createConstraints: boolean): DataRelation;
|
|
817
|
-
new(relationName: string, parentColumns: DataColumn[], childColumns: DataColumn[]): DataRelation;
|
|
818
|
-
new(relationName: string, parentColumns: DataColumn[], childColumns: DataColumn[], createConstraints: boolean): DataRelation;
|
|
819
|
-
new(relationName: string, parentTableName: string, childTableName: string, parentColumnNames: string[], childColumnNames: string[], nested: boolean): DataRelation;
|
|
820
|
-
new(relationName: string, parentTableName: string, parentTableNamespace: string, childTableName: string, childTableNamespace: string, parentColumnNames: string[], childColumnNames: string[], nested: boolean): DataRelation;
|
|
815
|
+
new(relationName: string | undefined, parentColumn: DataColumn, childColumn: DataColumn): DataRelation;
|
|
816
|
+
new(relationName: string | undefined, parentColumn: DataColumn, childColumn: DataColumn, createConstraints: boolean): DataRelation;
|
|
817
|
+
new(relationName: string | undefined, parentColumns: DataColumn[], childColumns: DataColumn[]): DataRelation;
|
|
818
|
+
new(relationName: string | undefined, parentColumns: DataColumn[], childColumns: DataColumn[], createConstraints: boolean): DataRelation;
|
|
819
|
+
new(relationName: string, parentTableName: string, childTableName: string, parentColumnNames: string[] | undefined, childColumnNames: string[] | undefined, nested: boolean): DataRelation;
|
|
820
|
+
new(relationName: string, parentTableName: string, parentTableNamespace: string, childTableName: string, childTableNamespace: string, parentColumnNames: string[] | undefined, childColumnNames: string[] | undefined, nested: boolean): DataRelation;
|
|
821
821
|
};
|
|
822
822
|
|
|
823
823
|
|
|
@@ -825,13 +825,13 @@ export type DataRelation = DataRelation$instance;
|
|
|
825
825
|
|
|
826
826
|
export interface DataRelationCollection$instance extends InternalDataCollectionBase$instance {
|
|
827
827
|
add(relation: DataRelation): void;
|
|
828
|
-
add(name: string, parentColumns: DataColumn[], childColumns: DataColumn[]): DataRelation;
|
|
829
|
-
add(name: string, parentColumns: DataColumn[], childColumns: DataColumn[], createConstraints: boolean): DataRelation;
|
|
828
|
+
add(name: string | undefined, parentColumns: DataColumn[], childColumns: DataColumn[]): DataRelation;
|
|
829
|
+
add(name: string | undefined, parentColumns: DataColumn[], childColumns: DataColumn[], createConstraints: boolean): DataRelation;
|
|
830
830
|
add(parentColumns: DataColumn[], childColumns: DataColumn[]): DataRelation;
|
|
831
|
-
add(name: string, parentColumn: DataColumn, childColumn: DataColumn): DataRelation;
|
|
832
|
-
add(name: string, parentColumn: DataColumn, childColumn: DataColumn, createConstraints: boolean): DataRelation;
|
|
831
|
+
add(name: string | undefined, parentColumn: DataColumn, childColumn: DataColumn): DataRelation;
|
|
832
|
+
add(name: string | undefined, parentColumn: DataColumn, childColumn: DataColumn, createConstraints: boolean): DataRelation;
|
|
833
833
|
add(parentColumn: DataColumn, childColumn: DataColumn): DataRelation;
|
|
834
|
-
addRange(relations: DataRelation[]): void;
|
|
834
|
+
addRange(relations: DataRelation[] | undefined): void;
|
|
835
835
|
canRemove(relation: DataRelation): boolean;
|
|
836
836
|
clear(): void;
|
|
837
837
|
contains(name: string): boolean;
|
|
@@ -861,7 +861,7 @@ export type DataRelationCollection = DataRelationCollection$instance & __DataRel
|
|
|
861
861
|
|
|
862
862
|
export interface DataRow$instance {
|
|
863
863
|
readonly hasErrors: boolean;
|
|
864
|
-
itemArray: unknown[];
|
|
864
|
+
itemArray: (unknown | undefined)[];
|
|
865
865
|
rowError: string;
|
|
866
866
|
readonly rowState: DataRowState;
|
|
867
867
|
readonly table: DataTable;
|
|
@@ -877,10 +877,10 @@ export interface DataRow$instance {
|
|
|
877
877
|
get_Item(columnIndex: int, version: DataRowVersion): unknown;
|
|
878
878
|
get_Item(columnName: string, version: DataRowVersion): unknown;
|
|
879
879
|
get_Item(column: DataColumn, version: DataRowVersion): unknown;
|
|
880
|
-
getChildRows(relationName: string): DataRow[];
|
|
881
|
-
getChildRows(relationName: string, version: DataRowVersion): DataRow[];
|
|
882
|
-
getChildRows(relation: DataRelation): DataRow[];
|
|
883
|
-
getChildRows(relation: DataRelation, version: DataRowVersion): DataRow[];
|
|
880
|
+
getChildRows(relationName: string | undefined): DataRow[];
|
|
881
|
+
getChildRows(relationName: string | undefined, version: DataRowVersion): DataRow[];
|
|
882
|
+
getChildRows(relation: DataRelation | undefined): DataRow[];
|
|
883
|
+
getChildRows(relation: DataRelation | undefined, version: DataRowVersion): DataRow[];
|
|
884
884
|
getColumnError(columnIndex: int): string;
|
|
885
885
|
getColumnError(columnName: string): string;
|
|
886
886
|
getColumnError(column: DataColumn): string;
|
|
@@ -889,10 +889,10 @@ export interface DataRow$instance {
|
|
|
889
889
|
getParentRow(relationName: string, version: DataRowVersion): DataRow;
|
|
890
890
|
getParentRow(relation: DataRelation): DataRow;
|
|
891
891
|
getParentRow(relation: DataRelation, version: DataRowVersion): DataRow;
|
|
892
|
-
getParentRows(relationName: string): DataRow[];
|
|
893
|
-
getParentRows(relationName: string, version: DataRowVersion): DataRow[];
|
|
894
|
-
getParentRows(relation: DataRelation): DataRow[];
|
|
895
|
-
getParentRows(relation: DataRelation, version: DataRowVersion): DataRow[];
|
|
892
|
+
getParentRows(relationName: string | undefined): DataRow[];
|
|
893
|
+
getParentRows(relationName: string | undefined, version: DataRowVersion): DataRow[];
|
|
894
|
+
getParentRows(relation: DataRelation | undefined): DataRow[];
|
|
895
|
+
getParentRows(relation: DataRelation | undefined, version: DataRowVersion): DataRow[];
|
|
896
896
|
hasVersion(version: DataRowVersion): boolean;
|
|
897
897
|
isNull(columnIndex: int): boolean;
|
|
898
898
|
isNull(columnName: string): boolean;
|
|
@@ -904,8 +904,8 @@ export interface DataRow$instance {
|
|
|
904
904
|
set_Item(column: DataColumn, value: unknown): void;
|
|
905
905
|
setAdded(): void;
|
|
906
906
|
setColumnError(columnIndex: int, error: string): void;
|
|
907
|
-
setColumnError(columnName: string, error: string): void;
|
|
908
|
-
setColumnError(column: DataColumn, error: string): void;
|
|
907
|
+
setColumnError(columnName: string, error: string | undefined): void;
|
|
908
|
+
setColumnError(column: DataColumn, error: string | undefined): void;
|
|
909
909
|
setModified(): void;
|
|
910
910
|
setParentRow(parentRow: DataRow): void;
|
|
911
911
|
setParentRow(parentRow: DataRow, relation: DataRelation): void;
|
|
@@ -950,11 +950,11 @@ export interface DataRowCollection$instance extends InternalDataCollectionBase$i
|
|
|
950
950
|
add(...values: unknown[]): DataRow;
|
|
951
951
|
clear(): void;
|
|
952
952
|
contains(key: unknown): boolean;
|
|
953
|
-
contains(keys: unknown[]): boolean;
|
|
953
|
+
contains(keys: (unknown | undefined)[]): boolean;
|
|
954
954
|
copyTo(ar: ClrArray, index: int): void;
|
|
955
955
|
copyTo(array: DataRow[], index: int): void;
|
|
956
956
|
find(key: unknown): DataRow;
|
|
957
|
-
find(keys: unknown[]): DataRow;
|
|
957
|
+
find(keys: (unknown | undefined)[]): DataRow;
|
|
958
958
|
getEnumerator(): IEnumerator;
|
|
959
959
|
indexOf(row: DataRow): int;
|
|
960
960
|
insertAt(row: DataRow, pos: int): void;
|
|
@@ -1048,7 +1048,7 @@ export interface DataSet$instance extends MarshalByValueComponent {
|
|
|
1048
1048
|
readonly relations: DataRelationCollection;
|
|
1049
1049
|
remotingFormat: SerializationFormat;
|
|
1050
1050
|
schemaSerializationMode: SchemaSerializationMode;
|
|
1051
|
-
site: ISite;
|
|
1051
|
+
site: ISite | undefined;
|
|
1052
1052
|
readonly tables: DataTableCollection;
|
|
1053
1053
|
acceptChanges(): void;
|
|
1054
1054
|
beginInit(): void;
|
|
@@ -1062,16 +1062,16 @@ export interface DataSet$instance extends MarshalByValueComponent {
|
|
|
1062
1062
|
getChanges(): DataSet;
|
|
1063
1063
|
getChanges(rowStates: DataRowState): DataSet;
|
|
1064
1064
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1065
|
-
getService(service: Type): unknown;
|
|
1065
|
+
getService(service: Type | undefined): unknown | undefined;
|
|
1066
1066
|
getXml(): string;
|
|
1067
1067
|
getXmlSchema(): string;
|
|
1068
1068
|
hasChanges(): boolean;
|
|
1069
1069
|
hasChanges(rowStates: DataRowState): boolean;
|
|
1070
|
-
inferXmlSchema(reader: XmlReader, nsArray: string[]): void;
|
|
1071
|
-
inferXmlSchema(stream: Stream, nsArray: string[]): void;
|
|
1072
|
-
inferXmlSchema(reader: TextReader, nsArray: string[]): void;
|
|
1073
|
-
inferXmlSchema(fileName: string, nsArray: string[]): void;
|
|
1074
|
-
load(reader: IDataReader, loadOption: LoadOption, errorHandler: FillErrorEventHandler, ...tables: DataTable[]): void;
|
|
1070
|
+
inferXmlSchema(reader: XmlReader, nsArray: string[] | undefined): void;
|
|
1071
|
+
inferXmlSchema(stream: Stream, nsArray: string[] | undefined): void;
|
|
1072
|
+
inferXmlSchema(reader: TextReader, nsArray: string[] | undefined): void;
|
|
1073
|
+
inferXmlSchema(fileName: string, nsArray: string[] | undefined): void;
|
|
1074
|
+
load(reader: IDataReader, loadOption: LoadOption, errorHandler: FillErrorEventHandler | undefined, ...tables: DataTable[]): void;
|
|
1075
1075
|
load(reader: IDataReader, loadOption: LoadOption, ...tables: DataTable[]): void;
|
|
1076
1076
|
load(reader: IDataReader, loadOption: LoadOption, ...tables: string[]): void;
|
|
1077
1077
|
merge(dataSet: DataSet): void;
|
|
@@ -1104,20 +1104,20 @@ export interface DataSet$instance extends MarshalByValueComponent {
|
|
|
1104
1104
|
writeXml(writer: XmlWriter, mode: XmlWriteMode): void;
|
|
1105
1105
|
writeXml(fileName: string, mode: XmlWriteMode): void;
|
|
1106
1106
|
writeXmlSchema(stream: Stream): void;
|
|
1107
|
-
writeXmlSchema(stream: Stream, multipleTargetConverter: Converter_2<Type, System_Internal.String>): void;
|
|
1107
|
+
writeXmlSchema(stream: Stream | undefined, multipleTargetConverter: Converter_2<Type, System_Internal.String>): void;
|
|
1108
1108
|
writeXmlSchema(fileName: string): void;
|
|
1109
1109
|
writeXmlSchema(fileName: string, multipleTargetConverter: Converter_2<Type, System_Internal.String>): void;
|
|
1110
1110
|
writeXmlSchema(writer: TextWriter): void;
|
|
1111
|
-
writeXmlSchema(writer: TextWriter, multipleTargetConverter: Converter_2<Type, System_Internal.String>): void;
|
|
1111
|
+
writeXmlSchema(writer: TextWriter | undefined, multipleTargetConverter: Converter_2<Type, System_Internal.String>): void;
|
|
1112
1112
|
writeXmlSchema(writer: XmlWriter): void;
|
|
1113
|
-
writeXmlSchema(writer: XmlWriter, multipleTargetConverter: Converter_2<Type, System_Internal.String>): void;
|
|
1113
|
+
writeXmlSchema(writer: XmlWriter | undefined, multipleTargetConverter: Converter_2<Type, System_Internal.String>): void;
|
|
1114
1114
|
}
|
|
1115
1115
|
|
|
1116
1116
|
|
|
1117
1117
|
export const DataSet: {
|
|
1118
1118
|
new(): DataSet;
|
|
1119
1119
|
new(dataSetName: string): DataSet;
|
|
1120
|
-
getDataSetSchema(schemaSet: XmlSchemaSet): XmlSchemaComplexType;
|
|
1120
|
+
getDataSetSchema(schemaSet: XmlSchemaSet | undefined): XmlSchemaComplexType;
|
|
1121
1121
|
};
|
|
1122
1122
|
|
|
1123
1123
|
|
|
@@ -1168,7 +1168,7 @@ export interface DataTable$instance extends MarshalByValueComponent {
|
|
|
1168
1168
|
primaryKey: DataColumn[];
|
|
1169
1169
|
remotingFormat: SerializationFormat;
|
|
1170
1170
|
readonly rows: DataRowCollection;
|
|
1171
|
-
site: ISite;
|
|
1171
|
+
site: ISite | undefined;
|
|
1172
1172
|
tableName: string;
|
|
1173
1173
|
acceptChanges(): void;
|
|
1174
1174
|
beginInit(): void;
|
|
@@ -1185,13 +1185,13 @@ export interface DataTable$instance extends MarshalByValueComponent {
|
|
|
1185
1185
|
getChanges(rowStates: DataRowState): DataTable;
|
|
1186
1186
|
getErrors(): DataRow[];
|
|
1187
1187
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1188
|
-
getService(service: Type): unknown;
|
|
1188
|
+
getService(service: Type | undefined): unknown | undefined;
|
|
1189
1189
|
importRow(row: DataRow): void;
|
|
1190
1190
|
load(reader: IDataReader): void;
|
|
1191
1191
|
load(reader: IDataReader, loadOption: LoadOption): void;
|
|
1192
|
-
load(reader: IDataReader, loadOption: LoadOption, errorHandler: FillErrorEventHandler): void;
|
|
1193
|
-
loadDataRow(values: unknown[], fAcceptChanges: boolean): DataRow;
|
|
1194
|
-
loadDataRow(values: unknown[], loadOption: LoadOption): DataRow;
|
|
1192
|
+
load(reader: IDataReader, loadOption: LoadOption, errorHandler: FillErrorEventHandler | undefined): void;
|
|
1193
|
+
loadDataRow(values: (unknown | undefined)[], fAcceptChanges: boolean): DataRow;
|
|
1194
|
+
loadDataRow(values: (unknown | undefined)[], loadOption: LoadOption): DataRow;
|
|
1195
1195
|
merge(table: DataTable): void;
|
|
1196
1196
|
merge(table: DataTable, preserveChanges: boolean): void;
|
|
1197
1197
|
merge(table: DataTable, preserveChanges: boolean, missingSchemaAction: MissingSchemaAction): void;
|
|
@@ -1207,7 +1207,7 @@ export interface DataTable$instance extends MarshalByValueComponent {
|
|
|
1207
1207
|
rejectChanges(): void;
|
|
1208
1208
|
reset(): void;
|
|
1209
1209
|
select(): DataRow[];
|
|
1210
|
-
select(filterExpression: string): DataRow[];
|
|
1210
|
+
select(filterExpression: string | undefined): DataRow[];
|
|
1211
1211
|
select(filterExpression: string, sort: string): DataRow[];
|
|
1212
1212
|
select(filterExpression: string, sort: string, recordStates: DataViewRowState): DataRow[];
|
|
1213
1213
|
toString(): string;
|
|
@@ -1242,7 +1242,7 @@ export const DataTable: {
|
|
|
1242
1242
|
new(): DataTable;
|
|
1243
1243
|
new(tableName: string): DataTable;
|
|
1244
1244
|
new(tableName: string, tableNamespace: string): DataTable;
|
|
1245
|
-
getDataTableSchema(schemaSet: XmlSchemaSet): XmlSchemaComplexType;
|
|
1245
|
+
getDataTableSchema(schemaSet: XmlSchemaSet | undefined): XmlSchemaComplexType;
|
|
1246
1246
|
};
|
|
1247
1247
|
|
|
1248
1248
|
|
|
@@ -1277,26 +1277,26 @@ export const DataTableClearEventArgs: {
|
|
|
1277
1277
|
export type DataTableClearEventArgs = DataTableClearEventArgs$instance;
|
|
1278
1278
|
|
|
1279
1279
|
export interface DataTableCollection$instance extends InternalDataCollectionBase$instance {
|
|
1280
|
-
add(table: DataTable): void;
|
|
1281
|
-
add(name: string): DataTable;
|
|
1282
|
-
add(name: string, tableNamespace: string): DataTable;
|
|
1280
|
+
add(table: DataTable | undefined): void;
|
|
1281
|
+
add(name: string | undefined): DataTable;
|
|
1282
|
+
add(name: string | undefined, tableNamespace: string | undefined): DataTable;
|
|
1283
1283
|
add(): DataTable;
|
|
1284
|
-
addRange(tables: DataTable[]): void;
|
|
1285
|
-
canRemove(table: DataTable): boolean;
|
|
1284
|
+
addRange(tables: (DataTable | undefined)[] | undefined): void;
|
|
1285
|
+
canRemove(table: DataTable | undefined): boolean;
|
|
1286
1286
|
clear(): void;
|
|
1287
|
-
contains(name: string): boolean;
|
|
1288
|
-
contains(name: string, tableNamespace: string): boolean;
|
|
1287
|
+
contains(name: string | undefined): boolean;
|
|
1288
|
+
contains(name: string | undefined, tableNamespace: string | undefined): boolean;
|
|
1289
1289
|
copyTo(ar: ClrArray, index: int): void;
|
|
1290
1290
|
get_Item(index: int): DataTable;
|
|
1291
|
-
get_Item(name: string): DataTable;
|
|
1292
|
-
get_Item(name: string, tableNamespace: string): DataTable;
|
|
1291
|
+
get_Item(name: string | undefined): DataTable;
|
|
1292
|
+
get_Item(name: string | undefined, tableNamespace: string): DataTable | undefined;
|
|
1293
1293
|
getEnumerator(): IEnumerator;
|
|
1294
|
-
indexOf(table: DataTable): int;
|
|
1295
|
-
indexOf(tableName: string): int;
|
|
1296
|
-
indexOf(tableName: string, tableNamespace: string): int;
|
|
1297
|
-
remove(table: DataTable): void;
|
|
1298
|
-
remove(name: string): void;
|
|
1299
|
-
remove(name: string, tableNamespace: string): void;
|
|
1294
|
+
indexOf(table: DataTable | undefined): int;
|
|
1295
|
+
indexOf(tableName: string | undefined): int;
|
|
1296
|
+
indexOf(tableName: string | undefined, tableNamespace: string | undefined): int;
|
|
1297
|
+
remove(table: DataTable | undefined): void;
|
|
1298
|
+
remove(name: string | undefined): void;
|
|
1299
|
+
remove(name: string | undefined, tableNamespace: string | undefined): void;
|
|
1300
1300
|
removeAt(index: int): void;
|
|
1301
1301
|
}
|
|
1302
1302
|
|
|
@@ -1393,7 +1393,7 @@ export interface DataView$instance extends MarshalByValueComponent {
|
|
|
1393
1393
|
allowNew: boolean;
|
|
1394
1394
|
applyDefaultSort: boolean;
|
|
1395
1395
|
readonly count: int;
|
|
1396
|
-
readonly dataViewManager: DataViewManager;
|
|
1396
|
+
readonly dataViewManager: DataViewManager | undefined;
|
|
1397
1397
|
readonly isInitialized: boolean;
|
|
1398
1398
|
readonly item: DataRowView;
|
|
1399
1399
|
rowFilter: string;
|
|
@@ -1402,29 +1402,29 @@ export interface DataView$instance extends MarshalByValueComponent {
|
|
|
1402
1402
|
table: DataTable;
|
|
1403
1403
|
addNew(): DataRowView;
|
|
1404
1404
|
beginInit(): void;
|
|
1405
|
-
copyTo(array: ClrArray, index: int): void;
|
|
1405
|
+
copyTo(array: ClrArray | undefined, index: int): void;
|
|
1406
1406
|
delete_(index: int): void;
|
|
1407
1407
|
dispose(): void;
|
|
1408
1408
|
endInit(): void;
|
|
1409
|
-
equals(view: DataView): boolean;
|
|
1410
|
-
equals(obj: unknown): boolean;
|
|
1411
|
-
find(key: unknown): int;
|
|
1412
|
-
find(key: unknown[]): int;
|
|
1413
|
-
findRows(key: unknown): DataRowView[];
|
|
1414
|
-
findRows(key: unknown[]): DataRowView[];
|
|
1409
|
+
equals(view: DataView | undefined): boolean;
|
|
1410
|
+
equals(obj: unknown | undefined): boolean;
|
|
1411
|
+
find(key: unknown | undefined): int;
|
|
1412
|
+
find(key: (unknown | undefined)[]): int;
|
|
1413
|
+
findRows(key: unknown | undefined): (DataRowView | undefined)[] | undefined;
|
|
1414
|
+
findRows(key: (unknown | undefined)[]): (DataRowView | undefined)[] | undefined;
|
|
1415
1415
|
getEnumerator(): IEnumerator;
|
|
1416
|
-
getService(service: Type): unknown;
|
|
1417
|
-
toTable(): DataTable;
|
|
1418
|
-
toTable(tableName: string): DataTable;
|
|
1419
|
-
toTable(distinct: boolean, ...columnNames: string[]): DataTable;
|
|
1420
|
-
toTable(tableName: string, distinct: boolean, ...columnNames: string[]): DataTable;
|
|
1416
|
+
getService(service: Type | undefined): unknown | undefined;
|
|
1417
|
+
toTable(): DataTable | undefined;
|
|
1418
|
+
toTable(tableName: string | undefined): DataTable | undefined;
|
|
1419
|
+
toTable(distinct: boolean, ...columnNames: string[]): DataTable | undefined;
|
|
1420
|
+
toTable(tableName: string | undefined, distinct: boolean, ...columnNames: string[]): DataTable | undefined;
|
|
1421
1421
|
}
|
|
1422
1422
|
|
|
1423
1423
|
|
|
1424
1424
|
export const DataView: {
|
|
1425
1425
|
new(): DataView;
|
|
1426
|
-
new(table: DataTable): DataView;
|
|
1427
|
-
new(table: DataTable, RowFilter: string, Sort: string, RowState: DataViewRowState): DataView;
|
|
1426
|
+
new(table: DataTable | undefined): DataView;
|
|
1427
|
+
new(table: DataTable, RowFilter: string | undefined, Sort: string | undefined, RowState: DataViewRowState): DataView;
|
|
1428
1428
|
};
|
|
1429
1429
|
|
|
1430
1430
|
|
|
@@ -1453,7 +1453,7 @@ export interface DataViewManager$instance extends MarshalByValueComponent {
|
|
|
1453
1453
|
readonly dataViewSettings: DataViewSettingCollection;
|
|
1454
1454
|
createDataView(table: DataTable): DataView;
|
|
1455
1455
|
dispose(): void;
|
|
1456
|
-
getService(service: Type): unknown;
|
|
1456
|
+
getService(service: Type | undefined): unknown | undefined;
|
|
1457
1457
|
}
|
|
1458
1458
|
|
|
1459
1459
|
|
|
@@ -1481,7 +1481,7 @@ export type DataViewManager = DataViewManager$instance & __DataViewManager$views
|
|
|
1481
1481
|
|
|
1482
1482
|
export interface DataViewSetting$instance {
|
|
1483
1483
|
applyDefaultSort: boolean;
|
|
1484
|
-
readonly dataViewManager: DataViewManager;
|
|
1484
|
+
readonly dataViewManager: DataViewManager | undefined;
|
|
1485
1485
|
rowFilter: string;
|
|
1486
1486
|
rowStateFilter: DataViewRowState;
|
|
1487
1487
|
sort: string;
|
|
@@ -1508,7 +1508,7 @@ export interface DataViewSettingCollection$instance {
|
|
|
1508
1508
|
get_Item(index: int): DataViewSetting;
|
|
1509
1509
|
getEnumerator(): IEnumerator;
|
|
1510
1510
|
set_Item(table: DataTable, value: DataViewSetting): void;
|
|
1511
|
-
set_Item(index: int, value: DataViewSetting): void;
|
|
1511
|
+
set_Item(index: int, value: DataViewSetting | undefined): void;
|
|
1512
1512
|
}
|
|
1513
1513
|
|
|
1514
1514
|
|
|
@@ -1528,17 +1528,17 @@ export type DataViewSettingCollection = DataViewSettingCollection$instance & __D
|
|
|
1528
1528
|
export interface DBConcurrencyException$instance extends SystemException {
|
|
1529
1529
|
row: DataRow;
|
|
1530
1530
|
readonly rowCount: int;
|
|
1531
|
-
copyToRows(array: DataRow[]): void;
|
|
1532
|
-
copyToRows(array: DataRow[], arrayIndex: int): void;
|
|
1533
|
-
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1531
|
+
copyToRows(array: (DataRow | undefined)[] | undefined): void;
|
|
1532
|
+
copyToRows(array: (DataRow | undefined)[] | undefined, arrayIndex: int): void;
|
|
1533
|
+
getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
|
|
1534
1534
|
}
|
|
1535
1535
|
|
|
1536
1536
|
|
|
1537
1537
|
export const DBConcurrencyException: {
|
|
1538
1538
|
new(): DBConcurrencyException;
|
|
1539
|
-
new(message: string): DBConcurrencyException;
|
|
1540
|
-
new(message: string, inner: Exception): DBConcurrencyException;
|
|
1541
|
-
new(message: string, inner: Exception, dataRows: DataRow[]): DBConcurrencyException;
|
|
1539
|
+
new(message: string | undefined): DBConcurrencyException;
|
|
1540
|
+
new(message: string | undefined, inner: Exception | undefined): DBConcurrencyException;
|
|
1541
|
+
new(message: string | undefined, inner: Exception | undefined, dataRows: DataRow[] | undefined): DBConcurrencyException;
|
|
1542
1542
|
};
|
|
1543
1543
|
|
|
1544
1544
|
|
|
@@ -1556,8 +1556,8 @@ export interface DeletedRowInaccessibleException$instance extends DataException$
|
|
|
1556
1556
|
|
|
1557
1557
|
export const DeletedRowInaccessibleException: {
|
|
1558
1558
|
new(): DeletedRowInaccessibleException;
|
|
1559
|
-
new(s: string): DeletedRowInaccessibleException;
|
|
1560
|
-
new(message: string, innerException: Exception): DeletedRowInaccessibleException;
|
|
1559
|
+
new(s: string | undefined): DeletedRowInaccessibleException;
|
|
1560
|
+
new(message: string | undefined, innerException: Exception | undefined): DeletedRowInaccessibleException;
|
|
1561
1561
|
};
|
|
1562
1562
|
|
|
1563
1563
|
|
|
@@ -1575,8 +1575,8 @@ export interface DuplicateNameException$instance extends DataException$instance
|
|
|
1575
1575
|
|
|
1576
1576
|
export const DuplicateNameException: {
|
|
1577
1577
|
new(): DuplicateNameException;
|
|
1578
|
-
new(s: string): DuplicateNameException;
|
|
1579
|
-
new(message: string, innerException: Exception): DuplicateNameException;
|
|
1578
|
+
new(s: string | undefined): DuplicateNameException;
|
|
1579
|
+
new(message: string | undefined, innerException: Exception | undefined): DuplicateNameException;
|
|
1580
1580
|
};
|
|
1581
1581
|
|
|
1582
1582
|
|
|
@@ -1629,8 +1629,8 @@ export interface EvaluateException$instance extends InvalidExpressionException$i
|
|
|
1629
1629
|
|
|
1630
1630
|
export const EvaluateException: {
|
|
1631
1631
|
new(): EvaluateException;
|
|
1632
|
-
new(s: string): EvaluateException;
|
|
1633
|
-
new(message: string, innerException: Exception): EvaluateException;
|
|
1632
|
+
new(s: string | undefined): EvaluateException;
|
|
1633
|
+
new(message: string | undefined, innerException: Exception | undefined): EvaluateException;
|
|
1634
1634
|
};
|
|
1635
1635
|
|
|
1636
1636
|
|
|
@@ -1643,14 +1643,14 @@ export type EvaluateException = EvaluateException$instance & __EvaluateException
|
|
|
1643
1643
|
|
|
1644
1644
|
export interface FillErrorEventArgs$instance extends EventArgs {
|
|
1645
1645
|
continue_: boolean;
|
|
1646
|
-
readonly dataTable: DataTable;
|
|
1646
|
+
readonly dataTable: DataTable | undefined;
|
|
1647
1647
|
errors: Exception;
|
|
1648
|
-
readonly values: unknown[];
|
|
1648
|
+
readonly values: (unknown | undefined)[];
|
|
1649
1649
|
}
|
|
1650
1650
|
|
|
1651
1651
|
|
|
1652
1652
|
export const FillErrorEventArgs: {
|
|
1653
|
-
new(dataTable: DataTable, values: unknown[]): FillErrorEventArgs;
|
|
1653
|
+
new(dataTable: DataTable | undefined, values: (unknown | undefined)[] | undefined): FillErrorEventArgs;
|
|
1654
1654
|
};
|
|
1655
1655
|
|
|
1656
1656
|
|
|
@@ -1671,10 +1671,10 @@ export interface ForeignKeyConstraint$instance extends Constraint {
|
|
|
1671
1671
|
|
|
1672
1672
|
export const ForeignKeyConstraint: {
|
|
1673
1673
|
new(parentColumn: DataColumn, childColumn: DataColumn): ForeignKeyConstraint;
|
|
1674
|
-
new(constraintName: string, parentColumn: DataColumn, childColumn: DataColumn): ForeignKeyConstraint;
|
|
1674
|
+
new(constraintName: string | undefined, parentColumn: DataColumn, childColumn: DataColumn): ForeignKeyConstraint;
|
|
1675
1675
|
new(parentColumns: DataColumn[], childColumns: DataColumn[]): ForeignKeyConstraint;
|
|
1676
|
-
new(constraintName: string, parentColumns: DataColumn[], childColumns: DataColumn[]): ForeignKeyConstraint;
|
|
1677
|
-
new(constraintName: string, parentTableName: string, parentColumnNames: string[], childColumnNames: string[], acceptRejectRule: AcceptRejectRule, deleteRule: Rule, updateRule: Rule): ForeignKeyConstraint;
|
|
1676
|
+
new(constraintName: string | undefined, parentColumns: DataColumn[], childColumns: DataColumn[]): ForeignKeyConstraint;
|
|
1677
|
+
new(constraintName: string | undefined, parentTableName: string | undefined, parentColumnNames: string[], childColumnNames: string[], acceptRejectRule: AcceptRejectRule, deleteRule: Rule, updateRule: Rule): ForeignKeyConstraint;
|
|
1678
1678
|
new(constraintName: string, parentTableName: string, parentTableNamespace: string, parentColumnNames: string[], childColumnNames: string[], acceptRejectRule: AcceptRejectRule, deleteRule: Rule, updateRule: Rule): ForeignKeyConstraint;
|
|
1679
1679
|
};
|
|
1680
1680
|
|
|
@@ -1688,8 +1688,8 @@ export interface InRowChangingEventException$instance extends DataException$inst
|
|
|
1688
1688
|
|
|
1689
1689
|
export const InRowChangingEventException: {
|
|
1690
1690
|
new(): InRowChangingEventException;
|
|
1691
|
-
new(s: string): InRowChangingEventException;
|
|
1692
|
-
new(message: string, innerException: Exception): InRowChangingEventException;
|
|
1691
|
+
new(s: string | undefined): InRowChangingEventException;
|
|
1692
|
+
new(message: string | undefined, innerException: Exception | undefined): InRowChangingEventException;
|
|
1693
1693
|
};
|
|
1694
1694
|
|
|
1695
1695
|
|
|
@@ -1730,8 +1730,8 @@ export interface InvalidConstraintException$instance extends DataException$insta
|
|
|
1730
1730
|
|
|
1731
1731
|
export const InvalidConstraintException: {
|
|
1732
1732
|
new(): InvalidConstraintException;
|
|
1733
|
-
new(s: string): InvalidConstraintException;
|
|
1734
|
-
new(message: string, innerException: Exception): InvalidConstraintException;
|
|
1733
|
+
new(s: string | undefined): InvalidConstraintException;
|
|
1734
|
+
new(message: string | undefined, innerException: Exception | undefined): InvalidConstraintException;
|
|
1735
1735
|
};
|
|
1736
1736
|
|
|
1737
1737
|
|
|
@@ -1749,8 +1749,8 @@ export interface InvalidExpressionException$instance extends DataException$insta
|
|
|
1749
1749
|
|
|
1750
1750
|
export const InvalidExpressionException: {
|
|
1751
1751
|
new(): InvalidExpressionException;
|
|
1752
|
-
new(s: string): InvalidExpressionException;
|
|
1753
|
-
new(message: string, innerException: Exception): InvalidExpressionException;
|
|
1752
|
+
new(s: string | undefined): InvalidExpressionException;
|
|
1753
|
+
new(message: string | undefined, innerException: Exception | undefined): InvalidExpressionException;
|
|
1754
1754
|
};
|
|
1755
1755
|
|
|
1756
1756
|
|
|
@@ -1768,7 +1768,7 @@ export interface MergeFailedEventArgs$instance extends EventArgs {
|
|
|
1768
1768
|
|
|
1769
1769
|
|
|
1770
1770
|
export const MergeFailedEventArgs: {
|
|
1771
|
-
new(table: DataTable, conflict: string): MergeFailedEventArgs;
|
|
1771
|
+
new(table: DataTable | undefined, conflict: string): MergeFailedEventArgs;
|
|
1772
1772
|
};
|
|
1773
1773
|
|
|
1774
1774
|
|
|
@@ -1781,8 +1781,8 @@ export interface MissingPrimaryKeyException$instance extends DataException$insta
|
|
|
1781
1781
|
|
|
1782
1782
|
export const MissingPrimaryKeyException: {
|
|
1783
1783
|
new(): MissingPrimaryKeyException;
|
|
1784
|
-
new(s: string): MissingPrimaryKeyException;
|
|
1785
|
-
new(message: string, innerException: Exception): MissingPrimaryKeyException;
|
|
1784
|
+
new(s: string | undefined): MissingPrimaryKeyException;
|
|
1785
|
+
new(message: string | undefined, innerException: Exception | undefined): MissingPrimaryKeyException;
|
|
1786
1786
|
};
|
|
1787
1787
|
|
|
1788
1788
|
|
|
@@ -1800,8 +1800,8 @@ export interface NoNullAllowedException$instance extends DataException$instance
|
|
|
1800
1800
|
|
|
1801
1801
|
export const NoNullAllowedException: {
|
|
1802
1802
|
new(): NoNullAllowedException;
|
|
1803
|
-
new(s: string): NoNullAllowedException;
|
|
1804
|
-
new(message: string, innerException: Exception): NoNullAllowedException;
|
|
1803
|
+
new(s: string | undefined): NoNullAllowedException;
|
|
1804
|
+
new(message: string | undefined, innerException: Exception | undefined): NoNullAllowedException;
|
|
1805
1805
|
};
|
|
1806
1806
|
|
|
1807
1807
|
|
|
@@ -1832,7 +1832,7 @@ export type OrderedEnumerableRowCollection_1<TRow> = OrderedEnumerableRowCollect
|
|
|
1832
1832
|
|
|
1833
1833
|
|
|
1834
1834
|
export interface PropertyCollection$instance extends Hashtable {
|
|
1835
|
-
add(key: unknown, value: unknown): void;
|
|
1835
|
+
add(key: unknown, value: unknown | undefined): void;
|
|
1836
1836
|
clear(): void;
|
|
1837
1837
|
clone(): unknown;
|
|
1838
1838
|
contains(key: unknown): boolean;
|
|
@@ -1869,8 +1869,8 @@ export interface ReadOnlyException$instance extends DataException$instance {
|
|
|
1869
1869
|
|
|
1870
1870
|
export const ReadOnlyException: {
|
|
1871
1871
|
new(): ReadOnlyException;
|
|
1872
|
-
new(s: string): ReadOnlyException;
|
|
1873
|
-
new(message: string, innerException: Exception): ReadOnlyException;
|
|
1872
|
+
new(s: string | undefined): ReadOnlyException;
|
|
1873
|
+
new(message: string | undefined, innerException: Exception | undefined): ReadOnlyException;
|
|
1874
1874
|
};
|
|
1875
1875
|
|
|
1876
1876
|
|
|
@@ -1888,8 +1888,8 @@ export interface RowNotInTableException$instance extends DataException$instance
|
|
|
1888
1888
|
|
|
1889
1889
|
export const RowNotInTableException: {
|
|
1890
1890
|
new(): RowNotInTableException;
|
|
1891
|
-
new(s: string): RowNotInTableException;
|
|
1892
|
-
new(message: string, innerException: Exception): RowNotInTableException;
|
|
1891
|
+
new(s: string | undefined): RowNotInTableException;
|
|
1892
|
+
new(message: string | undefined, innerException: Exception | undefined): RowNotInTableException;
|
|
1893
1893
|
};
|
|
1894
1894
|
|
|
1895
1895
|
|
|
@@ -1932,8 +1932,8 @@ export interface StrongTypingException$instance extends DataException$instance {
|
|
|
1932
1932
|
|
|
1933
1933
|
export const StrongTypingException: {
|
|
1934
1934
|
new(): StrongTypingException;
|
|
1935
|
-
new(message: string): StrongTypingException;
|
|
1936
|
-
new(s: string, innerException: Exception): StrongTypingException;
|
|
1935
|
+
new(message: string | undefined): StrongTypingException;
|
|
1936
|
+
new(s: string | undefined, innerException: Exception | undefined): StrongTypingException;
|
|
1937
1937
|
};
|
|
1938
1938
|
|
|
1939
1939
|
|
|
@@ -1951,8 +1951,8 @@ export interface SyntaxErrorException$instance extends InvalidExpressionExceptio
|
|
|
1951
1951
|
|
|
1952
1952
|
export const SyntaxErrorException: {
|
|
1953
1953
|
new(): SyntaxErrorException;
|
|
1954
|
-
new(s: string): SyntaxErrorException;
|
|
1955
|
-
new(message: string, innerException: Exception): SyntaxErrorException;
|
|
1954
|
+
new(s: string | undefined): SyntaxErrorException;
|
|
1955
|
+
new(message: string | undefined, innerException: Exception | undefined): SyntaxErrorException;
|
|
1956
1956
|
};
|
|
1957
1957
|
|
|
1958
1958
|
|
|
@@ -1971,7 +1971,7 @@ export interface TypedTableBase_1$instance<T extends DataRow> extends DataTable$
|
|
|
1971
1971
|
getList(): IList;
|
|
1972
1972
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1973
1973
|
getSchema(): XmlSchema;
|
|
1974
|
-
getService(serviceType: Type): unknown;
|
|
1974
|
+
getService(serviceType: Type): unknown | undefined;
|
|
1975
1975
|
readXml(stream: Stream): XmlReadMode;
|
|
1976
1976
|
readXml(reader: TextReader): XmlReadMode;
|
|
1977
1977
|
readXml(fileName: string): XmlReadMode;
|
|
@@ -2028,14 +2028,14 @@ export interface UniqueConstraint$instance extends Constraint {
|
|
|
2028
2028
|
|
|
2029
2029
|
|
|
2030
2030
|
export const UniqueConstraint: {
|
|
2031
|
-
new(name: string, column: DataColumn): UniqueConstraint;
|
|
2031
|
+
new(name: string | undefined, column: DataColumn): UniqueConstraint;
|
|
2032
2032
|
new(column: DataColumn): UniqueConstraint;
|
|
2033
|
-
new(name: string, columns: DataColumn[]): UniqueConstraint;
|
|
2033
|
+
new(name: string | undefined, columns: DataColumn[]): UniqueConstraint;
|
|
2034
2034
|
new(columns: DataColumn[]): UniqueConstraint;
|
|
2035
|
-
new(name: string, columnNames: string[], isPrimaryKey: boolean): UniqueConstraint;
|
|
2036
|
-
new(name: string, column: DataColumn, isPrimaryKey: boolean): UniqueConstraint;
|
|
2035
|
+
new(name: string, columnNames: string[] | undefined, isPrimaryKey: boolean): UniqueConstraint;
|
|
2036
|
+
new(name: string | undefined, column: DataColumn, isPrimaryKey: boolean): UniqueConstraint;
|
|
2037
2037
|
new(column: DataColumn, isPrimaryKey: boolean): UniqueConstraint;
|
|
2038
|
-
new(name: string, columns: DataColumn[], isPrimaryKey: boolean): UniqueConstraint;
|
|
2038
|
+
new(name: string | undefined, columns: DataColumn[], isPrimaryKey: boolean): UniqueConstraint;
|
|
2039
2039
|
new(columns: DataColumn[], isPrimaryKey: boolean): UniqueConstraint;
|
|
2040
2040
|
};
|
|
2041
2041
|
|
|
@@ -2049,8 +2049,8 @@ export interface VersionNotFoundException$instance extends DataException$instanc
|
|
|
2049
2049
|
|
|
2050
2050
|
export const VersionNotFoundException: {
|
|
2051
2051
|
new(): VersionNotFoundException;
|
|
2052
|
-
new(s: string): VersionNotFoundException;
|
|
2053
|
-
new(message: string, innerException: Exception): VersionNotFoundException;
|
|
2052
|
+
new(s: string | undefined): VersionNotFoundException;
|
|
2053
|
+
new(message: string | undefined, innerException: Exception | undefined): VersionNotFoundException;
|
|
2054
2054
|
};
|
|
2055
2055
|
|
|
2056
2056
|
|
|
@@ -2101,15 +2101,15 @@ export abstract class DataRowComparer$instance {
|
|
|
2101
2101
|
export type DataRowComparer = DataRowComparer$instance;
|
|
2102
2102
|
|
|
2103
2103
|
export abstract class DataRowExtensions$instance {
|
|
2104
|
-
static field<T>(row: DataRow, column: DataColumn, version: DataRowVersion): T;
|
|
2105
|
-
static field<T>(row: DataRow, column: DataColumn): T;
|
|
2104
|
+
static field<T>(row: DataRow, column: DataColumn, version: DataRowVersion): T | undefined;
|
|
2105
|
+
static field<T>(row: DataRow, column: DataColumn): T | undefined;
|
|
2106
2106
|
static field<T>(row: DataRow, columnIndex: int, version: DataRowVersion): T;
|
|
2107
2107
|
static field<T>(row: DataRow, columnIndex: int): T;
|
|
2108
|
-
static field<T>(row: DataRow, columnName: string, version: DataRowVersion): T;
|
|
2109
|
-
static field<T>(row: DataRow, columnName: string): T;
|
|
2110
|
-
static setField<T>(row: DataRow, column: DataColumn, value: T): void;
|
|
2108
|
+
static field<T>(row: DataRow, columnName: string, version: DataRowVersion): T | undefined;
|
|
2109
|
+
static field<T>(row: DataRow, columnName: string): T | undefined;
|
|
2110
|
+
static setField<T>(row: DataRow, column: DataColumn, value: T | undefined): void;
|
|
2111
2111
|
static setField<T>(row: DataRow, columnIndex: int, value: T): void;
|
|
2112
|
-
static setField<T>(row: DataRow, columnName: string, value: T): void;
|
|
2112
|
+
static setField<T>(row: DataRow, columnName: string, value: T | undefined): void;
|
|
2113
2113
|
}
|
|
2114
2114
|
|
|
2115
2115
|
|
|
@@ -2119,7 +2119,7 @@ export abstract class DataTableExtensions$instance {
|
|
|
2119
2119
|
static asDataView<T extends DataRow>(source: EnumerableRowCollection_1<T>): DataView;
|
|
2120
2120
|
static asDataView(table: DataTable): DataView;
|
|
2121
2121
|
static asEnumerable(source: DataTable): EnumerableRowCollection_1<DataRow>;
|
|
2122
|
-
static copyToDataTable<T extends DataRow>(source: IEnumerable_1<T>, table: DataTable, options: LoadOption, errorHandler: FillErrorEventHandler): void;
|
|
2122
|
+
static copyToDataTable<T extends DataRow>(source: IEnumerable_1<T>, table: DataTable, options: LoadOption, errorHandler: FillErrorEventHandler | undefined): void;
|
|
2123
2123
|
static copyToDataTable<T extends DataRow>(source: IEnumerable_1<T>, table: DataTable, options: LoadOption): void;
|
|
2124
2124
|
static copyToDataTable<T extends DataRow>(source: IEnumerable_1<T>): DataTable;
|
|
2125
2125
|
}
|
|
@@ -2146,7 +2146,7 @@ export type EnumerableRowCollectionExtensions = EnumerableRowCollectionExtension
|
|
|
2146
2146
|
|
|
2147
2147
|
export abstract class TypedTableBaseExtensions$instance {
|
|
2148
2148
|
static asEnumerable<TRow extends DataRow>(source: TypedTableBase_1<TRow>): EnumerableRowCollection_1<TRow>;
|
|
2149
|
-
static elementAtOrDefault<TRow extends DataRow>(source: TypedTableBase_1<TRow>, index: int): TRow;
|
|
2149
|
+
static elementAtOrDefault<TRow extends DataRow>(source: TypedTableBase_1<TRow>, index: int): TRow | undefined;
|
|
2150
2150
|
static orderBy<TRow extends DataRow, TKey>(source: TypedTableBase_1<TRow>, keySelector: Func_2<TRow, TKey>, comparer: IComparer_1<TKey>): OrderedEnumerableRowCollection_1<TRow>;
|
|
2151
2151
|
static orderBy<TRow extends DataRow, TKey>(source: TypedTableBase_1<TRow>, keySelector: Func_2<TRow, TKey>): OrderedEnumerableRowCollection_1<TRow>;
|
|
2152
2152
|
static orderByDescending<TRow extends DataRow, TKey>(source: TypedTableBase_1<TRow>, keySelector: Func_2<TRow, TKey>, comparer: IComparer_1<TKey>): OrderedEnumerableRowCollection_1<TRow>;
|