UNPKG

@tsonic/dotnet-types

Version:

TypeScript declarations and metadata for .NET 10.0 assemblies

1,009 lines (934 loc) 124 kB
// Auto-generated by generatedts on 2025-11-02T09:57:46Z - do not edit by hand. type int = number & { __brand: "int" }; type uint = number & { __brand: "uint" }; type byte = number & { __brand: "byte" }; type sbyte = number & { __brand: "sbyte" }; type short = number & { __brand: "short" }; type ushort = number & { __brand: "ushort" }; type long = number & { __brand: "long" }; type ulong = number & { __brand: "ulong" }; type float = number & { __brand: "float" }; type double = number & { __brand: "double" }; type decimal = number & { __brand: "decimal" }; declare namespace System.Data { enum AcceptRejectRule { None = 0, Cascade = 1 } enum CommandBehavior { Default = 0, SingleResult = 1, SchemaOnly = 2, KeyInfo = 4, SingleRow = 8, SequentialAccess = 16, CloseConnection = 32 } enum CommandType { Text = 1, StoredProcedure = 4, TableDirect = 512 } enum ConflictOption { CompareAllSearchableValues = 1, CompareRowVersion = 2, OverwriteChanges = 3 } enum ConnectionState { Closed = 0, Open = 1, Connecting = 2, Executing = 4, Fetching = 8, Broken = 16 } class Constraint { ConstraintName: string; readonly Table: System.Data.DataTable; readonly ExtendedProperties: System.Data.PropertyCollection; } class ConstraintCollection extends System.Data.InternalDataCollectionBase implements System.Collections.ICollection, System.Collections.IEnumerable { readonly Item: System.Data.Constraint; readonly Item: System.Data.Constraint; Add(constraint: System.Data.Constraint): void; Add(name: string, columns: ReadonlyArray<System.Data.DataColumn>, primaryKey: boolean): System.Data.Constraint; Add(name: string, column: System.Data.DataColumn, primaryKey: boolean): System.Data.Constraint; Add(name: string, primaryKeyColumn: System.Data.DataColumn, foreignKeyColumn: System.Data.DataColumn): System.Data.Constraint; Add(name: string, primaryKeyColumns: ReadonlyArray<System.Data.DataColumn>, foreignKeyColumns: ReadonlyArray<System.Data.DataColumn>): System.Data.Constraint; AddRange(constraints: ReadonlyArray<System.Data.Constraint>): void; CanRemove(constraint: System.Data.Constraint): boolean; Clear(): void; Contains(name: string): boolean; CopyTo(array: ReadonlyArray<System.Data.Constraint>, index: int): void; IndexOf(constraint: System.Data.Constraint): int; IndexOf(constraintName: string): int; Remove(constraint: System.Data.Constraint): void; RemoveAt(index: int): void; Remove(name: string): void; } class ConstraintException extends System.Data.DataException implements System.Runtime.Serialization.ISerializable { constructor(); constructor(s: string); constructor(message: string, innerException: System.Exception); } class DataColumn extends System.ComponentModel.MarshalByValueComponent implements System.ComponentModel.IComponent, System.IDisposable, System.IServiceProvider { constructor(); constructor(columnName: string); constructor(columnName: string, dataType: System.Type); constructor(columnName: string, dataType: System.Type, expr: string); constructor(columnName: string, dataType: System.Type, expr: string, type: System.Data.MappingType); AllowDBNull: boolean; AutoIncrement: boolean; AutoIncrementSeed: long; AutoIncrementStep: long; Caption: string; ColumnName: string; Prefix: string; DataType: System.Type; DateTimeMode: System.Data.DataSetDateTime; DefaultValue: any; Expression: string; readonly ExtendedProperties: System.Data.PropertyCollection; MaxLength: int; Namespace: string; readonly Ordinal: int; ReadOnly: boolean; readonly Table: System.Data.DataTable; Unique: boolean; ColumnMapping: System.Data.MappingType; SetOrdinal(ordinal: int): void; } class DataColumnChangeEventArgs extends System.EventArgs { constructor(row: System.Data.DataRow, column: System.Data.DataColumn, value: any); readonly Column: System.Data.DataColumn; readonly Row: System.Data.DataRow; ProposedValue: any; } class DataColumnChangeEventHandler extends System.MulticastDelegate implements System.ICloneable, System.Runtime.Serialization.ISerializable { constructor(object: any, method: number); Invoke(sender: any, e: System.Data.DataColumnChangeEventArgs): void; BeginInvoke(sender: any, e: System.Data.DataColumnChangeEventArgs, callback: System.AsyncCallback, object: any): System.IAsyncResult; EndInvoke(result: System.IAsyncResult): void; } class DataColumnCollection extends System.Data.InternalDataCollectionBase implements System.Collections.ICollection, System.Collections.IEnumerable { readonly Item: System.Data.DataColumn; readonly Item: System.Data.DataColumn; Add(column: System.Data.DataColumn): void; AddRange(columns: ReadonlyArray<System.Data.DataColumn>): void; Add(columnName: string, type: System.Type, expression: string): System.Data.DataColumn; Add(columnName: string, type: System.Type): System.Data.DataColumn; Add(columnName: string): System.Data.DataColumn; Add(): System.Data.DataColumn; CanRemove(column: System.Data.DataColumn): boolean; Clear(): void; Contains(name: string): boolean; CopyTo(array: ReadonlyArray<System.Data.DataColumn>, index: int): void; IndexOf(column: System.Data.DataColumn): int; IndexOf(columnName: string): int; Remove(column: System.Data.DataColumn): void; RemoveAt(index: int): void; Remove(name: string): void; } class DataException extends System.SystemException implements System.Runtime.Serialization.ISerializable { constructor(); constructor(s: string); constructor(s: string, innerException: System.Exception); } class DataReaderExtensions { static GetBoolean(reader: System.Data.Common.DbDataReader, name: string): boolean; static GetByte(reader: System.Data.Common.DbDataReader, name: string): byte; static GetBytes(reader: System.Data.Common.DbDataReader, name: string, dataOffset: long, buffer: ReadonlyArray<byte>, bufferOffset: int, length: int): long; static GetChar(reader: System.Data.Common.DbDataReader, name: string): number; static GetChars(reader: System.Data.Common.DbDataReader, name: string, dataOffset: long, buffer: ReadonlyArray<number>, bufferOffset: int, length: int): long; static GetData(reader: System.Data.Common.DbDataReader, name: string): System.Data.Common.DbDataReader; static GetDataTypeName(reader: System.Data.Common.DbDataReader, name: string): string; static GetDateTime(reader: System.Data.Common.DbDataReader, name: string): System.DateTime; static GetDecimal(reader: System.Data.Common.DbDataReader, name: string): decimal; static GetDouble(reader: System.Data.Common.DbDataReader, name: string): double; static GetFieldType(reader: System.Data.Common.DbDataReader, name: string): System.Type; static GetFieldValue<T>(reader: System.Data.Common.DbDataReader, name: string): T; static GetFieldValueAsync<T>(reader: System.Data.Common.DbDataReader, name: string, cancellationToken?: System.Threading.CancellationToken): Promise<T>; static GetFloat(reader: System.Data.Common.DbDataReader, name: string): float; static GetGuid(reader: System.Data.Common.DbDataReader, name: string): System.Guid; static GetInt16(reader: System.Data.Common.DbDataReader, name: string): short; static GetInt32(reader: System.Data.Common.DbDataReader, name: string): int; static GetInt64(reader: System.Data.Common.DbDataReader, name: string): long; static GetProviderSpecificFieldType(reader: System.Data.Common.DbDataReader, name: string): System.Type; static GetProviderSpecificValue(reader: System.Data.Common.DbDataReader, name: string): any; static GetStream(reader: System.Data.Common.DbDataReader, name: string): System.IO.Stream; static GetString(reader: System.Data.Common.DbDataReader, name: string): string; static GetTextReader(reader: System.Data.Common.DbDataReader, name: string): System.IO.TextReader; static GetValue(reader: System.Data.Common.DbDataReader, name: string): any; static IsDBNull(reader: System.Data.Common.DbDataReader, name: string): boolean; static IsDBNullAsync(reader: System.Data.Common.DbDataReader, name: string, cancellationToken?: System.Threading.CancellationToken): Promise<boolean>; } class DataRelation { constructor(relationName: string, parentColumn: System.Data.DataColumn, childColumn: System.Data.DataColumn); constructor(relationName: string, parentColumn: System.Data.DataColumn, childColumn: System.Data.DataColumn, createConstraints: boolean); constructor(relationName: string, parentColumns: ReadonlyArray<System.Data.DataColumn>, childColumns: ReadonlyArray<System.Data.DataColumn>); constructor(relationName: string, parentColumns: ReadonlyArray<System.Data.DataColumn>, childColumns: ReadonlyArray<System.Data.DataColumn>, createConstraints: boolean); constructor(relationName: string, parentTableName: string, childTableName: string, parentColumnNames: ReadonlyArray<string>, childColumnNames: ReadonlyArray<string>, nested: boolean); constructor(relationName: string, parentTableName: string, parentTableNamespace: string, childTableName: string, childTableNamespace: string, parentColumnNames: ReadonlyArray<string>, childColumnNames: ReadonlyArray<string>, nested: boolean); readonly ChildColumns: ReadonlyArray<System.Data.DataColumn>; readonly ChildTable: System.Data.DataTable; readonly DataSet: System.Data.DataSet; readonly ParentColumns: ReadonlyArray<System.Data.DataColumn>; readonly ParentTable: System.Data.DataTable; RelationName: string; Nested: boolean; readonly ParentKeyConstraint: System.Data.UniqueConstraint; readonly ChildKeyConstraint: System.Data.ForeignKeyConstraint; readonly ExtendedProperties: System.Data.PropertyCollection; } class DataRelationCollection extends System.Data.InternalDataCollectionBase implements System.Collections.ICollection, System.Collections.IEnumerable { readonly Item: System.Data.DataRelation; readonly Item: System.Data.DataRelation; Add(relation: System.Data.DataRelation): void; AddRange(relations: ReadonlyArray<System.Data.DataRelation>): void; Add(name: string, parentColumns: ReadonlyArray<System.Data.DataColumn>, childColumns: ReadonlyArray<System.Data.DataColumn>): System.Data.DataRelation; Add(name: string, parentColumns: ReadonlyArray<System.Data.DataColumn>, childColumns: ReadonlyArray<System.Data.DataColumn>, createConstraints: boolean): System.Data.DataRelation; Add(parentColumns: ReadonlyArray<System.Data.DataColumn>, childColumns: ReadonlyArray<System.Data.DataColumn>): System.Data.DataRelation; Add(name: string, parentColumn: System.Data.DataColumn, childColumn: System.Data.DataColumn): System.Data.DataRelation; Add(name: string, parentColumn: System.Data.DataColumn, childColumn: System.Data.DataColumn, createConstraints: boolean): System.Data.DataRelation; Add(parentColumn: System.Data.DataColumn, childColumn: System.Data.DataColumn): System.Data.DataRelation; Clear(): void; Contains(name: string): boolean; CopyTo(array: ReadonlyArray<System.Data.DataRelation>, index: int): void; IndexOf(relation: System.Data.DataRelation): int; IndexOf(relationName: string): int; CanRemove(relation: System.Data.DataRelation): boolean; Remove(relation: System.Data.DataRelation): void; RemoveAt(index: int): void; Remove(name: string): void; } class DataRow { RowError: string; readonly RowState: System.Data.DataRowState; readonly Table: System.Data.DataTable; Item: any; Item: any; Item: any; readonly Item: any; readonly Item: any; readonly Item: any; ItemArray: ReadonlyArray<any>; readonly HasErrors: boolean; AcceptChanges(): void; BeginEdit(): void; CancelEdit(): void; Delete(): void; EndEdit(): void; SetColumnError(columnIndex: int, error: string): void; SetColumnError(columnName: string, error: string): void; SetColumnError(column: System.Data.DataColumn, error: string): void; GetColumnError(columnIndex: int): string; GetColumnError(columnName: string): string; GetColumnError(column: System.Data.DataColumn): string; ClearErrors(): void; GetColumnsInError(): ReadonlyArray<System.Data.DataColumn>; GetChildRows(relationName: string): ReadonlyArray<System.Data.DataRow>; GetChildRows(relationName: string, version: System.Data.DataRowVersion): ReadonlyArray<System.Data.DataRow>; GetChildRows(relation: System.Data.DataRelation): ReadonlyArray<System.Data.DataRow>; GetChildRows(relation: System.Data.DataRelation, version: System.Data.DataRowVersion): ReadonlyArray<System.Data.DataRow>; GetParentRow(relationName: string): System.Data.DataRow; GetParentRow(relationName: string, version: System.Data.DataRowVersion): System.Data.DataRow; GetParentRow(relation: System.Data.DataRelation): System.Data.DataRow; GetParentRow(relation: System.Data.DataRelation, version: System.Data.DataRowVersion): System.Data.DataRow; GetParentRows(relationName: string): ReadonlyArray<System.Data.DataRow>; GetParentRows(relationName: string, version: System.Data.DataRowVersion): ReadonlyArray<System.Data.DataRow>; GetParentRows(relation: System.Data.DataRelation): ReadonlyArray<System.Data.DataRow>; GetParentRows(relation: System.Data.DataRelation, version: System.Data.DataRowVersion): ReadonlyArray<System.Data.DataRow>; HasVersion(version: System.Data.DataRowVersion): boolean; IsNull(columnIndex: int): boolean; IsNull(columnName: string): boolean; IsNull(column: System.Data.DataColumn): boolean; IsNull(column: System.Data.DataColumn, version: System.Data.DataRowVersion): boolean; RejectChanges(): void; SetParentRow(parentRow: System.Data.DataRow): void; SetParentRow(parentRow: System.Data.DataRow, relation: System.Data.DataRelation): void; SetAdded(): void; SetModified(): void; } enum DataRowAction { Nothing = 0, Delete = 1, Change = 2, Rollback = 4, Commit = 8, Add = 16, ChangeOriginal = 32, ChangeCurrentAndOriginal = 64 } class DataRowBuilder { } class DataRowChangeEventArgs extends System.EventArgs { constructor(row: System.Data.DataRow, action: System.Data.DataRowAction); readonly Row: System.Data.DataRow; readonly Action: System.Data.DataRowAction; } class DataRowChangeEventHandler extends System.MulticastDelegate implements System.ICloneable, System.Runtime.Serialization.ISerializable { constructor(object: any, method: number); Invoke(sender: any, e: System.Data.DataRowChangeEventArgs): void; BeginInvoke(sender: any, e: System.Data.DataRowChangeEventArgs, callback: System.AsyncCallback, object: any): System.IAsyncResult; EndInvoke(result: System.IAsyncResult): void; } class DataRowCollection extends System.Data.InternalDataCollectionBase implements System.Collections.ICollection, System.Collections.IEnumerable { readonly Count: int; readonly Item: System.Data.DataRow; Add(row: System.Data.DataRow): void; InsertAt(row: System.Data.DataRow, pos: int): void; IndexOf(row: System.Data.DataRow): int; Add(...values: ReadonlyArray<any>): System.Data.DataRow; Find(key: any): System.Data.DataRow; Find(keys: ReadonlyArray<any>): System.Data.DataRow; Clear(): void; Contains(key: any): boolean; Contains(keys: ReadonlyArray<any>): boolean; CopyTo(ar: System.Array, index: int): void; CopyTo(array: ReadonlyArray<System.Data.DataRow>, index: int): void; GetEnumerator(): System.Collections.IEnumerator; Remove(row: System.Data.DataRow): void; RemoveAt(index: int): void; } class DataRowComparer { static readonly Default: System.Data.DataRowComparer<System.Data.DataRow>; } class DataRowComparer<TRow> implements System.Collections.Generic.IEqualityComparer<TRow> { static readonly Default: System.Data.DataRowComparer<>; } class DataRowExtensions { static Field<T>(row: System.Data.DataRow, columnName: string): T; static Field<T>(row: System.Data.DataRow, column: System.Data.DataColumn): T; static Field<T>(row: System.Data.DataRow, columnIndex: int): T; static Field<T>(row: System.Data.DataRow, columnIndex: int, version: System.Data.DataRowVersion): T; static Field<T>(row: System.Data.DataRow, columnName: string, version: System.Data.DataRowVersion): T; static Field<T>(row: System.Data.DataRow, column: System.Data.DataColumn, version: System.Data.DataRowVersion): T; static SetField<T>(row: System.Data.DataRow, columnIndex: int, value: T): void; static SetField<T>(row: System.Data.DataRow, columnName: string, value: T): void; static SetField<T>(row: System.Data.DataRow, column: System.Data.DataColumn, value: T): void; } enum DataRowState { Detached = 1, Unchanged = 2, Added = 4, Deleted = 8, Modified = 16 } enum DataRowVersion { Original = 256, Current = 512, Proposed = 1024, Default = 1536 } class DataRowView implements System.ComponentModel.ICustomTypeDescriptor, System.ComponentModel.IEditableObject, System.ComponentModel.IDataErrorInfo, System.ComponentModel.INotifyPropertyChanged { readonly DataView: System.Data.DataView; Item: any; Item: any; readonly RowVersion: System.Data.DataRowVersion; readonly Row: System.Data.DataRow; readonly IsNew: boolean; readonly IsEdit: boolean; CreateChildView(relation: System.Data.DataRelation, followParent: boolean): System.Data.DataView; CreateChildView(relation: System.Data.DataRelation): System.Data.DataView; CreateChildView(relationName: string, followParent: boolean): System.Data.DataView; CreateChildView(relationName: string): System.Data.DataView; BeginEdit(): void; CancelEdit(): void; EndEdit(): void; Delete(): void; } class DataSet extends System.ComponentModel.MarshalByValueComponent implements System.ComponentModel.IComponent, System.IDisposable, System.IServiceProvider, System.ComponentModel.IListSource, System.Xml.Serialization.IXmlSerializable, System.ComponentModel.ISupportInitializeNotification, System.ComponentModel.ISupportInitialize, System.Runtime.Serialization.ISerializable { constructor(); constructor(dataSetName: string); RemotingFormat: System.Data.SerializationFormat; SchemaSerializationMode: System.Data.SchemaSerializationMode; CaseSensitive: boolean; readonly DefaultViewManager: System.Data.DataViewManager; EnforceConstraints: boolean; DataSetName: string; Namespace: string; Prefix: string; readonly ExtendedProperties: System.Data.PropertyCollection; readonly HasErrors: boolean; readonly IsInitialized: boolean; Locale: System.Globalization.CultureInfo; Site: System.ComponentModel.ISite; readonly Relations: System.Data.DataRelationCollection; readonly Tables: System.Data.DataTableCollection; GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void; AcceptChanges(): void; BeginInit(): void; EndInit(): void; Clear(): void; Clone(): System.Data.DataSet; Copy(): System.Data.DataSet; GetChanges(): System.Data.DataSet; GetChanges(rowStates: System.Data.DataRowState): System.Data.DataSet; GetXml(): string; GetXmlSchema(): string; HasChanges(): boolean; HasChanges(rowStates: System.Data.DataRowState): boolean; InferXmlSchema(reader: System.Xml.XmlReader, nsArray: ReadonlyArray<string>): void; InferXmlSchema(stream: System.IO.Stream, nsArray: ReadonlyArray<string>): void; InferXmlSchema(reader: System.IO.TextReader, nsArray: ReadonlyArray<string>): void; InferXmlSchema(fileName: string, nsArray: ReadonlyArray<string>): void; ReadXmlSchema(reader: System.Xml.XmlReader): void; ReadXmlSchema(stream: System.IO.Stream): void; ReadXmlSchema(reader: System.IO.TextReader): void; ReadXmlSchema(fileName: string): void; WriteXmlSchema(stream: System.IO.Stream): void; WriteXmlSchema(stream: System.IO.Stream, multipleTargetConverter: System.Converter<System.Type, string>): void; WriteXmlSchema(fileName: string): void; WriteXmlSchema(fileName: string, multipleTargetConverter: System.Converter<System.Type, string>): void; WriteXmlSchema(writer: System.IO.TextWriter): void; WriteXmlSchema(writer: System.IO.TextWriter, multipleTargetConverter: System.Converter<System.Type, string>): void; WriteXmlSchema(writer: System.Xml.XmlWriter): void; WriteXmlSchema(writer: System.Xml.XmlWriter, multipleTargetConverter: System.Converter<System.Type, string>): void; ReadXml(reader: System.Xml.XmlReader): System.Data.XmlReadMode; ReadXml(stream: System.IO.Stream): System.Data.XmlReadMode; ReadXml(reader: System.IO.TextReader): System.Data.XmlReadMode; ReadXml(fileName: string): System.Data.XmlReadMode; ReadXml(reader: System.Xml.XmlReader, mode: System.Data.XmlReadMode): System.Data.XmlReadMode; ReadXml(stream: System.IO.Stream, mode: System.Data.XmlReadMode): System.Data.XmlReadMode; ReadXml(reader: System.IO.TextReader, mode: System.Data.XmlReadMode): System.Data.XmlReadMode; ReadXml(fileName: string, mode: System.Data.XmlReadMode): System.Data.XmlReadMode; WriteXml(stream: System.IO.Stream): void; WriteXml(writer: System.IO.TextWriter): void; WriteXml(writer: System.Xml.XmlWriter): void; WriteXml(fileName: string): void; WriteXml(stream: System.IO.Stream, mode: System.Data.XmlWriteMode): void; WriteXml(writer: System.IO.TextWriter, mode: System.Data.XmlWriteMode): void; WriteXml(writer: System.Xml.XmlWriter, mode: System.Data.XmlWriteMode): void; WriteXml(fileName: string, mode: System.Data.XmlWriteMode): void; Merge(dataSet: System.Data.DataSet): void; Merge(dataSet: System.Data.DataSet, preserveChanges: boolean): void; Merge(dataSet: System.Data.DataSet, preserveChanges: boolean, missingSchemaAction: System.Data.MissingSchemaAction): void; Merge(table: System.Data.DataTable): void; Merge(table: System.Data.DataTable, preserveChanges: boolean, missingSchemaAction: System.Data.MissingSchemaAction): void; Merge(rows: ReadonlyArray<System.Data.DataRow>): void; Merge(rows: ReadonlyArray<System.Data.DataRow>, preserveChanges: boolean, missingSchemaAction: System.Data.MissingSchemaAction): void; RejectChanges(): void; Reset(): void; static GetDataSetSchema(schemaSet: System.Xml.Schema.XmlSchemaSet): System.Xml.Schema.XmlSchemaComplexType; Load(reader: System.Data.IDataReader, loadOption: System.Data.LoadOption, errorHandler: System.Data.FillErrorEventHandler, ...tables: ReadonlyArray<System.Data.DataTable>): void; Load(reader: System.Data.IDataReader, loadOption: System.Data.LoadOption, ...tables: ReadonlyArray<System.Data.DataTable>): void; Load(reader: System.Data.IDataReader, loadOption: System.Data.LoadOption, ...tables: ReadonlyArray<string>): void; CreateDataReader(): System.Data.DataTableReader; CreateDataReader(...dataTables: ReadonlyArray<System.Data.DataTable>): System.Data.DataTableReader; } enum DataSetDateTime { Local = 1, Unspecified = 2, UnspecifiedLocal = 3, Utc = 4 } class DataSysDescriptionAttribute extends System.ComponentModel.DescriptionAttribute { constructor(description: string); readonly Description: string; } class DataTable extends System.ComponentModel.MarshalByValueComponent implements System.ComponentModel.IComponent, System.IDisposable, System.IServiceProvider, System.ComponentModel.IListSource, System.ComponentModel.ISupportInitializeNotification, System.ComponentModel.ISupportInitialize, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable { constructor(); constructor(tableName: string); constructor(tableName: string, tableNamespace: string); CaseSensitive: boolean; readonly IsInitialized: boolean; RemotingFormat: System.Data.SerializationFormat; readonly ChildRelations: System.Data.DataRelationCollection; readonly Columns: System.Data.DataColumnCollection; readonly Constraints: System.Data.ConstraintCollection; readonly DataSet: System.Data.DataSet; readonly DefaultView: System.Data.DataView; DisplayExpression: string; readonly ExtendedProperties: System.Data.PropertyCollection; readonly HasErrors: boolean; Locale: System.Globalization.CultureInfo; MinimumCapacity: int; readonly ParentRelations: System.Data.DataRelationCollection; PrimaryKey: ReadonlyArray<System.Data.DataColumn>; readonly Rows: System.Data.DataRowCollection; TableName: string; Namespace: string; Prefix: string; Site: System.ComponentModel.ISite; GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void; BeginInit(): void; EndInit(): void; AcceptChanges(): void; Clone(): System.Data.DataTable; Copy(): System.Data.DataTable; Clear(): void; Compute(expression: string, filter: string): any; GetChanges(): System.Data.DataTable; GetChanges(rowStates: System.Data.DataRowState): System.Data.DataTable; GetErrors(): ReadonlyArray<System.Data.DataRow>; ImportRow(row: System.Data.DataRow): void; NewRow(): System.Data.DataRow; RejectChanges(): void; Reset(): void; Select(): ReadonlyArray<System.Data.DataRow>; Select(filterExpression: string): ReadonlyArray<System.Data.DataRow>; Select(filterExpression: string, sort: string): ReadonlyArray<System.Data.DataRow>; Select(filterExpression: string, sort: string, recordStates: System.Data.DataViewRowState): ReadonlyArray<System.Data.DataRow>; BeginLoadData(): void; EndLoadData(): void; LoadDataRow(values: ReadonlyArray<any>, fAcceptChanges: boolean): System.Data.DataRow; LoadDataRow(values: ReadonlyArray<any>, loadOption: System.Data.LoadOption): System.Data.DataRow; Merge(table: System.Data.DataTable): void; Merge(table: System.Data.DataTable, preserveChanges: boolean): void; Merge(table: System.Data.DataTable, preserveChanges: boolean, missingSchemaAction: System.Data.MissingSchemaAction): void; Load(reader: System.Data.IDataReader): void; Load(reader: System.Data.IDataReader, loadOption: System.Data.LoadOption): void; Load(reader: System.Data.IDataReader, loadOption: System.Data.LoadOption, errorHandler: System.Data.FillErrorEventHandler): void; CreateDataReader(): System.Data.DataTableReader; WriteXml(stream: System.IO.Stream): void; WriteXml(stream: System.IO.Stream, writeHierarchy: boolean): void; WriteXml(writer: System.IO.TextWriter): void; WriteXml(writer: System.IO.TextWriter, writeHierarchy: boolean): void; WriteXml(writer: System.Xml.XmlWriter): void; WriteXml(writer: System.Xml.XmlWriter, writeHierarchy: boolean): void; WriteXml(fileName: string): void; WriteXml(fileName: string, writeHierarchy: boolean): void; WriteXml(stream: System.IO.Stream, mode: System.Data.XmlWriteMode): void; WriteXml(stream: System.IO.Stream, mode: System.Data.XmlWriteMode, writeHierarchy: boolean): void; WriteXml(writer: System.IO.TextWriter, mode: System.Data.XmlWriteMode): void; WriteXml(writer: System.IO.TextWriter, mode: System.Data.XmlWriteMode, writeHierarchy: boolean): void; WriteXml(writer: System.Xml.XmlWriter, mode: System.Data.XmlWriteMode): void; WriteXml(writer: System.Xml.XmlWriter, mode: System.Data.XmlWriteMode, writeHierarchy: boolean): void; WriteXml(fileName: string, mode: System.Data.XmlWriteMode): void; WriteXml(fileName: string, mode: System.Data.XmlWriteMode, writeHierarchy: boolean): void; WriteXmlSchema(stream: System.IO.Stream): void; WriteXmlSchema(stream: System.IO.Stream, writeHierarchy: boolean): void; WriteXmlSchema(writer: System.IO.TextWriter): void; WriteXmlSchema(writer: System.IO.TextWriter, writeHierarchy: boolean): void; WriteXmlSchema(writer: System.Xml.XmlWriter): void; WriteXmlSchema(writer: System.Xml.XmlWriter, writeHierarchy: boolean): void; WriteXmlSchema(fileName: string): void; WriteXmlSchema(fileName: string, writeHierarchy: boolean): void; ReadXml(stream: System.IO.Stream): System.Data.XmlReadMode; ReadXml(reader: System.IO.TextReader): System.Data.XmlReadMode; ReadXml(fileName: string): System.Data.XmlReadMode; ReadXml(reader: System.Xml.XmlReader): System.Data.XmlReadMode; ReadXmlSchema(stream: System.IO.Stream): void; ReadXmlSchema(reader: System.IO.TextReader): void; ReadXmlSchema(fileName: string): void; ReadXmlSchema(reader: System.Xml.XmlReader): void; static GetDataTableSchema(schemaSet: System.Xml.Schema.XmlSchemaSet): System.Xml.Schema.XmlSchemaComplexType; } class DataTableClearEventArgs extends System.EventArgs { constructor(dataTable: System.Data.DataTable); readonly Table: System.Data.DataTable; readonly TableName: string; readonly TableNamespace: string; } class DataTableClearEventHandler extends System.MulticastDelegate implements System.ICloneable, System.Runtime.Serialization.ISerializable { constructor(object: any, method: number); Invoke(sender: any, e: System.Data.DataTableClearEventArgs): void; BeginInvoke(sender: any, e: System.Data.DataTableClearEventArgs, callback: System.AsyncCallback, object: any): System.IAsyncResult; EndInvoke(result: System.IAsyncResult): void; } class DataTableCollection extends System.Data.InternalDataCollectionBase implements System.Collections.ICollection, System.Collections.IEnumerable { readonly Item: System.Data.DataTable; readonly Item: System.Data.DataTable; readonly Item: System.Data.DataTable; Add(table: System.Data.DataTable): void; AddRange(tables: ReadonlyArray<System.Data.DataTable>): void; Add(name: string): System.Data.DataTable; Add(name: string, tableNamespace: string): System.Data.DataTable; Add(): System.Data.DataTable; CanRemove(table: System.Data.DataTable): boolean; Clear(): void; Contains(name: string): boolean; Contains(name: string, tableNamespace: string): boolean; CopyTo(array: ReadonlyArray<System.Data.DataTable>, index: int): void; IndexOf(table: System.Data.DataTable): int; IndexOf(tableName: string): int; IndexOf(tableName: string, tableNamespace: string): int; Remove(table: System.Data.DataTable): void; RemoveAt(index: int): void; Remove(name: string): void; Remove(name: string, tableNamespace: string): void; } class DataTableExtensions { static AsEnumerable(source: System.Data.DataTable): System.Data.EnumerableRowCollection<System.Data.DataRow>; static CopyToDataTable<T>(source: ReadonlyArray<T>): System.Data.DataTable; static CopyToDataTable<T>(source: ReadonlyArray<T>, table: System.Data.DataTable, options: System.Data.LoadOption): void; static CopyToDataTable<T>(source: ReadonlyArray<T>, table: System.Data.DataTable, options: System.Data.LoadOption, errorHandler: System.Data.FillErrorEventHandler): void; static AsDataView(table: System.Data.DataTable): System.Data.DataView; static AsDataView<T>(source: System.Data.EnumerableRowCollection<T>): System.Data.DataView; } class DataTableNewRowEventArgs extends System.EventArgs { constructor(dataRow: System.Data.DataRow); readonly Row: System.Data.DataRow; } class DataTableNewRowEventHandler extends System.MulticastDelegate implements System.ICloneable, System.Runtime.Serialization.ISerializable { constructor(object: any, method: number); Invoke(sender: any, e: System.Data.DataTableNewRowEventArgs): void; BeginInvoke(sender: any, e: System.Data.DataTableNewRowEventArgs, callback: System.AsyncCallback, object: any): System.IAsyncResult; EndInvoke(result: System.IAsyncResult): void; } class DataTableReader extends System.Data.Common.DbDataReader implements System.Data.IDataReader, System.IDisposable, System.Data.IDataRecord, System.Collections.IEnumerable, System.IAsyncDisposable { constructor(dataTable: System.Data.DataTable); constructor(dataTables: ReadonlyArray<System.Data.DataTable>); readonly Depth: int; readonly IsClosed: boolean; readonly RecordsAffected: int; readonly HasRows: boolean; readonly Item: any; readonly Item: any; readonly FieldCount: int; Close(): void; GetSchemaTable(): System.Data.DataTable; NextResult(): boolean; Read(): boolean; GetProviderSpecificFieldType(ordinal: int): System.Type; GetProviderSpecificValue(ordinal: int): any; GetProviderSpecificValues(values: ReadonlyArray<any>): int; GetBoolean(ordinal: int): boolean; GetByte(ordinal: int): byte; GetBytes(ordinal: int, dataIndex: long, buffer: ReadonlyArray<byte>, bufferIndex: int, length: int): long; GetChar(ordinal: int): number; GetChars(ordinal: int, dataIndex: long, buffer: ReadonlyArray<number>, bufferIndex: int, length: int): long; GetDataTypeName(ordinal: int): string; GetDateTime(ordinal: int): System.DateTime; GetDecimal(ordinal: int): decimal; GetDouble(ordinal: int): double; GetFieldType(ordinal: int): System.Type; GetFloat(ordinal: int): float; GetGuid(ordinal: int): System.Guid; GetInt16(ordinal: int): short; GetInt32(ordinal: int): int; GetInt64(ordinal: int): long; GetName(ordinal: int): string; GetOrdinal(name: string): int; GetString(ordinal: int): string; GetValue(ordinal: int): any; GetValues(values: ReadonlyArray<any>): int; IsDBNull(ordinal: int): boolean; GetEnumerator(): System.Collections.IEnumerator; } class DataView extends System.ComponentModel.MarshalByValueComponent implements System.ComponentModel.IComponent, System.IDisposable, System.IServiceProvider, System.ComponentModel.IBindingListView, System.ComponentModel.IBindingList, System.Collections.IList, System.Collections.ICollection, System.Collections.IEnumerable, System.ComponentModel.ITypedList, System.ComponentModel.ISupportInitializeNotification, System.ComponentModel.ISupportInitialize { constructor(); constructor(table: System.Data.DataTable); constructor(table: System.Data.DataTable, RowFilter: string, Sort: string, RowState: System.Data.DataViewRowState); AllowDelete: boolean; ApplyDefaultSort: boolean; AllowEdit: boolean; AllowNew: boolean; readonly Count: int; readonly DataViewManager: System.Data.DataViewManager; readonly IsInitialized: boolean; RowFilter: string; RowStateFilter: System.Data.DataViewRowState; Sort: string; Table: System.Data.DataTable; readonly Item: System.Data.DataRowView; AddNew(): System.Data.DataRowView; BeginInit(): void; EndInit(): void; CopyTo(array: System.Array, index: int): void; Delete(index: int): void; Find(key: any): int; Find(key: ReadonlyArray<any>): int; FindRows(key: any): ReadonlyArray<System.Data.DataRowView>; FindRows(key: ReadonlyArray<any>): ReadonlyArray<System.Data.DataRowView>; GetEnumerator(): System.Collections.IEnumerator; ToTable(): System.Data.DataTable; ToTable(tableName: string): System.Data.DataTable; ToTable(distinct: boolean, ...columnNames: ReadonlyArray<string>): System.Data.DataTable; ToTable(tableName: string, distinct: boolean, ...columnNames: ReadonlyArray<string>): System.Data.DataTable; } class DataViewManager extends System.ComponentModel.MarshalByValueComponent implements System.ComponentModel.IComponent, System.IDisposable, System.IServiceProvider, System.ComponentModel.IBindingList, System.Collections.IList, System.Collections.ICollection, System.Collections.IEnumerable, System.ComponentModel.ITypedList { constructor(); constructor(dataSet: System.Data.DataSet); DataSet: System.Data.DataSet; readonly DataViewSettings: System.Data.DataViewSettingCollection; DataViewSettingCollectionString: string; CreateDataView(table: System.Data.DataTable): System.Data.DataView; } enum DataViewRowState { None = 0, Unchanged = 2, Added = 4, Deleted = 8, ModifiedCurrent = 16, CurrentRows = 22, ModifiedOriginal = 32, OriginalRows = 42 } class DataViewSetting { ApplyDefaultSort: boolean; readonly DataViewManager: System.Data.DataViewManager; readonly Table: System.Data.DataTable; RowFilter: string; RowStateFilter: System.Data.DataViewRowState; Sort: string; } class DataViewSettingCollection implements System.Collections.ICollection, System.Collections.IEnumerable { Item: System.Data.DataViewSetting; readonly Item: System.Data.DataViewSetting; Item: System.Data.DataViewSetting; readonly Count: int; readonly IsReadOnly: boolean; readonly IsSynchronized: boolean; readonly SyncRoot: any; CopyTo(ar: System.Array, index: int): void; CopyTo(ar: ReadonlyArray<System.Data.DataViewSetting>, index: int): void; GetEnumerator(): System.Collections.IEnumerator; } class DBConcurrencyException extends System.SystemException implements System.Runtime.Serialization.ISerializable { constructor(); constructor(message: string); constructor(message: string, inner: System.Exception); constructor(message: string, inner: System.Exception, dataRows: ReadonlyArray<System.Data.DataRow>); Row: System.Data.DataRow; readonly RowCount: int; GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void; CopyToRows(array: ReadonlyArray<System.Data.DataRow>): void; CopyToRows(array: ReadonlyArray<System.Data.DataRow>, arrayIndex: int): void; } enum DbType { AnsiString = 0, Binary = 1, Byte = 2, Boolean = 3, Currency = 4, Date = 5, DateTime = 6, Decimal = 7, Double = 8, Guid = 9, Int16 = 10, Int32 = 11, Int64 = 12, Object = 13, SByte = 14, Single = 15, String = 16, Time = 17, UInt16 = 18, UInt32 = 19, UInt64 = 20, VarNumeric = 21, AnsiStringFixedLength = 22, StringFixedLength = 23, Xml = 25, DateTime2 = 26, DateTimeOffset = 27 } class DeletedRowInaccessibleException extends System.Data.DataException implements System.Runtime.Serialization.ISerializable { constructor(); constructor(s: string); constructor(message: string, innerException: System.Exception); } class DuplicateNameException extends System.Data.DataException implements System.Runtime.Serialization.ISerializable { constructor(); constructor(s: string); constructor(message: string, innerException: System.Exception); } class EnumerableRowCollection implements System.Collections.IEnumerable { } class EnumerableRowCollection<TRow> extends System.Data.EnumerableRowCollection implements System.Collections.IEnumerable, ReadonlyArray<TRow> { GetEnumerator(): System.Collections.Generic.IEnumerator<TRow>; } class EnumerableRowCollectionExtensions { static Where<TRow>(source: System.Data.EnumerableRowCollection<TRow>, predicate: System.Func<TRow, boolean>): System.Data.EnumerableRowCollection<TRow>; static OrderBy<TRow, TKey>(source: System.Data.EnumerableRowCollection<TRow>, keySelector: System.Func<TRow, TKey>): System.Data.OrderedEnumerableRowCollection<TRow>; static OrderBy<TRow, TKey>(source: System.Data.EnumerableRowCollection<TRow>, keySelector: System.Func<TRow, TKey>, comparer: System.Collections.Generic.IComparer<TKey>): System.Data.OrderedEnumerableRowCollection<TRow>; static OrderByDescending<TRow, TKey>(source: System.Data.EnumerableRowCollection<TRow>, keySelector: System.Func<TRow, TKey>): System.Data.OrderedEnumerableRowCollection<TRow>; static OrderByDescending<TRow, TKey>(source: System.Data.EnumerableRowCollection<TRow>, keySelector: System.Func<TRow, TKey>, comparer: System.Collections.Generic.IComparer<TKey>): System.Data.OrderedEnumerableRowCollection<TRow>; static ThenBy<TRow, TKey>(source: System.Data.OrderedEnumerableRowCollection<TRow>, keySelector: System.Func<TRow, TKey>): System.Data.OrderedEnumerableRowCollection<TRow>; static ThenBy<TRow, TKey>(source: System.Data.OrderedEnumerableRowCollection<TRow>, keySelector: System.Func<TRow, TKey>, comparer: System.Collections.Generic.IComparer<TKey>): System.Data.OrderedEnumerableRowCollection<TRow>; static ThenByDescending<TRow, TKey>(source: System.Data.OrderedEnumerableRowCollection<TRow>, keySelector: System.Func<TRow, TKey>): System.Data.OrderedEnumerableRowCollection<TRow>; static ThenByDescending<TRow, TKey>(source: System.Data.OrderedEnumerableRowCollection<TRow>, keySelector: System.Func<TRow, TKey>, comparer: System.Collections.Generic.IComparer<TKey>): System.Data.OrderedEnumerableRowCollection<TRow>; static Select<TRow, S>(source: System.Data.EnumerableRowCollection<TRow>, selector: System.Func<TRow, S>): System.Data.EnumerableRowCollection<S>; static Cast<TResult>(source: System.Data.EnumerableRowCollection): System.Data.EnumerableRowCollection<TResult>; } class EvaluateException extends System.Data.InvalidExpressionException implements System.Runtime.Serialization.ISerializable { constructor(); constructor(s: string); constructor(message: string, innerException: System.Exception); } class FillErrorEventArgs extends System.EventArgs { constructor(dataTable: System.Data.DataTable, values: ReadonlyArray<any>); Continue: boolean; readonly DataTable: System.Data.DataTable; Errors: System.Exception; readonly Values: ReadonlyArray<any>; } class FillErrorEventHandler extends System.MulticastDelegate implements System.ICloneable, System.Runtime.Serialization.ISerializable { constructor(object: any, method: number); Invoke(sender: any, e: System.Data.FillErrorEventArgs): void; BeginInvoke(sender: any, e: System.Data.FillErrorEventArgs, callback: System.AsyncCallback, object: any): System.IAsyncResult; EndInvoke(result: System.IAsyncResult): void; } class ForeignKeyConstraint extends System.Data.Constraint { constructor(parentColumn: System.Data.DataColumn, childColumn: System.Data.DataColumn); constructor(constraintName: string, parentColumn: System.Data.DataColumn, childColumn: System.Data.DataColumn); constructor(parentColumns: ReadonlyArray<System.Data.DataColumn>, childColumns: ReadonlyArray<System.Data.DataColumn>); constructor(constraintName: string, parentColumns: ReadonlyArray<System.Data.DataColumn>, childColumns: ReadonlyArray<System.Data.DataColumn>); constructor(constraintName: string, parentTableName: string, parentColumnNames: ReadonlyArray<string>, childColumnNames: ReadonlyArray<string>, acceptRejectRule: System.Data.AcceptRejectRule, deleteRule: System.Data.Rule, updateRule: System.Data.Rule); constructor(constraintName: string, parentTableName: string, parentTableNamespace: string, parentColumnNames: ReadonlyArray<string>, childColumnNames: ReadonlyArray<string>, acceptRejectRule: System.Data.AcceptRejectRule, deleteRule: System.Data.Rule, updateRule: System.Data.Rule); readonly Columns: ReadonlyArray<System.Data.DataColumn>; readonly Table: System.Data.DataTable; AcceptRejectRule: System.Data.AcceptRejectRule; DeleteRule: System.Data.Rule; readonly RelatedColumns: ReadonlyArray<System.Data.DataColumn>; readonly RelatedTable: System.Data.DataTable; UpdateRule: System.Data.Rule; } interface IColumnMapping { DataSetColumn: string; SourceColumn: string; } interface IColumnMappingCollection extends System.Collections.IList, System.Collections.ICollection, System.Collections.IEnumerable { Item: any; Add(sourceColumnName: string, dataSetColumnName: string): System.Data.IColumnMapping; Contains(sourceColumnName: string): boolean; GetByDataSetColumn(dataSetColumnName: string): System.Data.IColumnMapping; IndexOf(sourceColumnName: string): int; RemoveAt(sourceColumnName: string): void; } interface IDataAdapter { MissingMappingAction: System.Data.MissingMappingAction; MissingSchemaAction: System.Data.MissingSchemaAction; readonly TableMappings: System.Data.ITableMappingCollection; FillSchema(dataSet: System.Data.DataSet, schemaType: System.Data.SchemaType): ReadonlyArray<System.Data.DataTable>; Fill(dataSet: System.Data.DataSet): int; GetFillParameters(): ReadonlyArray<System.Data.IDataParameter>; Update(dataSet: System.Data.DataSet): int; } interface IDataParameter { DbType: System.Data.DbType; Direction: System.Data.ParameterDirection; readonly IsNullable: boolean; ParameterName: string; SourceColumn: string; SourceVersion: System.Data.DataRowVersion; Value: any; } interface IDataParameterCollection extends System.Collections.IList, System.Collections.ICollection, System.Collections.IEnumerable { Item: any; Contains(parameterName: string): boolean; IndexOf(parameterName: string): int; RemoveAt(parameterName: string): void; } interface IDataReader extends System.Data.IDataRecord { readonly Depth: int; readonly IsClosed: boolean; readonly RecordsAffected: int; Close(): void; GetSchemaTable(): System.Data.DataTable; NextResult(): boolean; Read(): boolean; } interface IDataRecord { readonly FieldCount: int; readonly Item: any; readonly Item: any; GetName(i: int): string; GetDataTypeName(i: int): string; GetFieldType(i: int): System.Type; GetValue(i: int): any; GetValues(values: ReadonlyArray<any>): int; GetOrdinal(name: string): int; GetBoolean(i: int): boolean; GetByte(i: int): byte; GetBytes(i: int, fieldOffset: long, buffer: ReadonlyArray<byte>, bufferoffset: int, length: int): long; GetChar(i: int): number; GetChars(i: int, fieldoffset: long, buffer: ReadonlyArray<number>, bufferoffset: int, length: int): long; GetGuid(i: int): System.Guid; GetInt16(i: int): short; GetInt32(i: int): int; GetInt64(i: int): long; GetFloat(i: int): float; GetDouble(i: int): double; GetString(i: int): string; GetDecimal(i: int): decimal; GetDateTime(i: int): System.DateTime; GetData(i: int): System.Data.IDataReader; IsDBNull(i: int): boolean; } interface IDbCommand { Connection: System.Data.IDbConnection; Transaction: System.Data.IDbTransaction; CommandText: string; CommandTimeout: int; CommandType: System.Data.CommandType; readonly Parameters: System.Data.IDataParameterCollection; UpdatedRowSource: System.Data.UpdateRowSource; Prepare(): void; Cancel(): void; CreateParameter(): System.Data.IDbDataParameter; ExecuteNonQuery(): int; ExecuteReader(): System.Data.IDataReader; ExecuteReader(behavior: System.Data.CommandBehavior): System.Data.IDataReader; ExecuteScalar(): any; } interface IDbConnection { ConnectionString: string; readonly ConnectionTimeout: int; readonly Database: string; readonly State: System.Data.ConnectionState; BeginTransaction(): System.Data.IDbTransaction; BeginTransaction(il: System.Data.IsolationLevel): System.Data.IDbTransaction; Close(): void; ChangeDatabase(databaseName: string): void; CreateCommand(): System.Data.IDbCommand; Open(): void; } interface IDbDataAdapter extends System.Data.IDataAdapter { SelectCommand: System.Data.IDbCommand; InsertCommand: System.Data.IDbCommand; UpdateCommand: System.Data.IDbCommand; DeleteCommand: System.Data.IDbCommand; } interface IDbDataParameter extends System.Data.IDataParameter { Precision: byte; Scale: byte; Size: int; } interface IDbTransaction { readonly Connection: System.Data.IDbConnection; readonly IsolationLevel: System.Data.IsolationLevel; Commit(): void; Rollback(): void; } class InRowChangingEventException extends System.Data.DataException implements System.Runtime.Serialization.ISerializable { constructor(); constructor(s: string); constructor(message: string, innerException: System.Exception); } class InternalDataCollectionBase implements System.Collections.ICollection, System.Collections.IEnumerable { constructor(); readonly Count: int; readonly IsReadOnly: boolean; readonly IsSynchronized: boolean; readonly SyncRoot: any; CopyTo(ar: System.Array, index: int): void; GetEnumerator(): System.Collections.IEnumerator; } class InvalidConstraintException extends System.Data.DataException implements System.Runtime.Serialization.ISerializable { constructor(); constructor(s: string); constructor(message: string, innerException: System.Exception); } class InvalidExpressionException extends System.Data.DataException implements System.Runtime.Serialization.ISerializable { constructor(); constructor(s: string); constructor(message: string, innerException: System.Exception); } enum IsolationLevel { Chaos = 16, ReadUncommitted = 256, ReadCommitted = 4096, RepeatableRead = 65536, Serializable = 1048576, Snapshot = 16777216, Unspecified = -1 } interface ITableMapping { readonly ColumnMappings: System.Data.IColumnMappingCollection; DataSetTable: string; SourceTable: string; } interface ITableMappingCollection extends System.Collections.