@tsonic/efcore-npgsql 10.0.1 → 10.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.EntityFrameworkCore/bindings.json +737 -0
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +2 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +20 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +5 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +3 -0
- package/Microsoft.Extensions.DependencyInjection/bindings.json +6 -0
- package/Microsoft.Extensions.DependencyInjection.d.ts +3 -0
- package/Npgsql/bindings.json +3099 -41
- package/Npgsql/internal/index.d.ts +231 -75
- package/Npgsql.BackendMessages/bindings.json +7 -0
- package/Npgsql.BackendMessages/internal/index.d.ts +0 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL/bindings.json +39 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/index.d.ts +4 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/bindings.json +179 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/index.d.ts +11 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/bindings.json +22 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/bindings.json +8 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal.d.ts +3 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/bindings.json +59 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/index.d.ts +7 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/bindings.json +275 -16
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.d.ts +37 -9
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal.d.ts +1 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.d.ts +2 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/bindings.json +120 -31
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.d.ts +9 -8
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal.d.ts +3 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/bindings.json +150 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/index.d.ts +8 -11
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/bindings.json +480 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/index.d.ts +49 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions.d.ts +4 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/bindings.json +85 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/index.d.ts +4 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/bindings.json +763 -8
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/index.d.ts +44 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/bindings.json +94 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/index.d.ts +9 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal.d.ts +2 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/bindings.json +42 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/index.d.ts +10 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.d.ts +5 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/bindings.json +31 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/index.d.ts +2 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/bindings.json +410 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/index.d.ts +69 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/bindings.json +53 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/bindings.json +1093 -9
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.d.ts +91 -3
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/bindings.json +2356 -296
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/index.d.ts +112 -5
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal.d.ts +6 -5
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/bindings.json +25 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/index.d.ts +4 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/bindings.json +508 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/index.d.ts +55 -8
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/bindings.json +23 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/index.d.ts +0 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/bindings.json +4017 -129
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/index.d.ts +210 -8
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.d.ts +5 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/bindings.json +16 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/bindings.json +257 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/index.d.ts +24 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.d.ts +5 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/bindings.json +20 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/bindings.json +137 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/index.d.ts +21 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal.d.ts +3 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL.d.ts +1 -1
- package/Npgsql.Internal/bindings.json +884 -15
- package/Npgsql.Internal/internal/index.d.ts +41 -18
- package/Npgsql.Internal.Postgres/bindings.json +81 -0
- package/Npgsql.Internal.Postgres/internal/index.d.ts +6 -0
- package/Npgsql.Internal.d.ts +1 -1
- package/Npgsql.NameTranslation/bindings.json +30 -0
- package/Npgsql.NameTranslation/internal/index.d.ts +4 -0
- package/Npgsql.PostgresTypes/bindings.json +144 -12
- package/Npgsql.PostgresTypes/internal/index.d.ts +12 -18
- package/Npgsql.Replication/bindings.json +166 -11
- package/Npgsql.Replication/internal/index.d.ts +12 -7
- package/Npgsql.Replication.Internal/bindings.json +26 -1
- package/Npgsql.Replication.Internal/internal/index.d.ts +1 -1
- package/Npgsql.Replication.PgOutput/bindings.json +160 -6
- package/Npgsql.Replication.PgOutput/internal/index.d.ts +7 -5
- package/Npgsql.Replication.PgOutput.Messages/bindings.json +513 -83
- package/Npgsql.Replication.PgOutput.Messages/internal/index.d.ts +43 -66
- package/Npgsql.Replication.TestDecoding/bindings.json +40 -2
- package/Npgsql.Replication.TestDecoding/internal/index.d.ts +3 -1
- package/Npgsql.Schema/bindings.json +87 -54
- package/Npgsql.Schema/internal/index.d.ts +34 -28
- package/Npgsql.TypeMapping/bindings.json +17 -0
- package/Npgsql.TypeMapping/internal/index.d.ts +2 -0
- package/Npgsql.Util/bindings.json +4 -0
- package/Npgsql.d.ts +1 -1
- package/NpgsqlTypes/bindings.json +871 -4
- package/NpgsqlTypes/internal/index.d.ts +67 -7
- package/__internal/extensions/index.d.ts +752 -12
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ import type { NpgsqlDbType } from "../../NpgsqlTypes/internal/index.js";
|
|
|
18
18
|
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
19
19
|
import type { ICollection as ICollection__System_Collections_Generic, IDictionary as IDictionary__System_Collections_Generic, IEnumerable as IEnumerable__System_Collections_Generic, IEnumerator as IEnumerator__System_Collections_Generic, IList as IList__System_Collections_Generic, IReadOnlyDictionary, IReadOnlyList, KeyValuePair } from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
20
20
|
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
21
|
-
import type { ICollection, IDictionary, IEnumerable, IEnumerator, IList } from "@tsonic/dotnet/System.Collections.js";
|
|
21
|
+
import type { Hashtable, ICollection, IDictionary, IEnumerable, IEnumerator, IList } from "@tsonic/dotnet/System.Collections.js";
|
|
22
22
|
import type { ReadOnlyCollection } from "@tsonic/dotnet/System.Collections.ObjectModel.js";
|
|
23
23
|
import * as System_ComponentModel_Internal from "@tsonic/dotnet/System.ComponentModel.js";
|
|
24
24
|
import type { IComponent, ICustomTypeDescriptor } from "@tsonic/dotnet/System.ComponentModel.js";
|
|
@@ -131,6 +131,8 @@ export type ProvidePasswordCallback = (host: string, port: int, database: string
|
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
export interface INpgsqlNameTranslator$instance {
|
|
134
|
+
readonly __tsonic_iface_Npgsql_INpgsqlNameTranslator: never;
|
|
135
|
+
|
|
134
136
|
TranslateTypeName(clrName: string): string;
|
|
135
137
|
}
|
|
136
138
|
|
|
@@ -138,16 +140,27 @@ export interface INpgsqlNameTranslator$instance {
|
|
|
138
140
|
export type INpgsqlNameTranslator = INpgsqlNameTranslator$instance;
|
|
139
141
|
|
|
140
142
|
export interface NpgsqlBatch$instance extends DbBatch {
|
|
143
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
144
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
145
|
+
|
|
141
146
|
readonly BatchCommands: NpgsqlBatchCommandCollection;
|
|
142
147
|
get Connection(): NpgsqlConnection | undefined;
|
|
143
|
-
set Connection(value: NpgsqlConnection);
|
|
148
|
+
set Connection(value: NpgsqlConnection | undefined);
|
|
149
|
+
readonly DbBatchCommands: DbBatchCommandCollection;
|
|
150
|
+
get DbConnection(): DbConnection | undefined;
|
|
151
|
+
set DbConnection(value: DbConnection | undefined);
|
|
152
|
+
get DbTransaction(): DbTransaction | undefined;
|
|
153
|
+
set DbTransaction(value: DbTransaction | undefined);
|
|
144
154
|
EnableErrorBarriers: boolean;
|
|
145
155
|
Timeout: int;
|
|
146
156
|
get Transaction(): NpgsqlTransaction | undefined;
|
|
147
|
-
set Transaction(value: NpgsqlTransaction);
|
|
157
|
+
set Transaction(value: NpgsqlTransaction | undefined);
|
|
148
158
|
Cancel(): void;
|
|
149
159
|
CreateBatchCommand(): NpgsqlBatchCommand;
|
|
160
|
+
CreateDbBatchCommand(): DbBatchCommand;
|
|
150
161
|
Dispose(): void;
|
|
162
|
+
ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
163
|
+
ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<DbDataReader>;
|
|
151
164
|
ExecuteNonQuery(): int;
|
|
152
165
|
ExecuteNonQueryAsync(cancellationToken?: CancellationToken): Task<System_Internal.Int32>;
|
|
153
166
|
ExecuteReader(behavior?: CommandBehavior): NpgsqlDataReader;
|
|
@@ -172,11 +185,12 @@ export interface NpgsqlBatchCommand$instance extends DbBatchCommand {
|
|
|
172
185
|
readonly CanCreateParameter: boolean;
|
|
173
186
|
CommandText: string;
|
|
174
187
|
CommandType: CommandType;
|
|
175
|
-
readonly
|
|
188
|
+
readonly DbParameterCollection: DbParameterCollection;
|
|
189
|
+
OID: uint;
|
|
176
190
|
readonly Parameters: NpgsqlParameterCollection;
|
|
177
191
|
readonly RecordsAffected: int;
|
|
178
|
-
|
|
179
|
-
|
|
192
|
+
Rows: ulong;
|
|
193
|
+
StatementType: StatementType;
|
|
180
194
|
CreateParameter(): NpgsqlParameter;
|
|
181
195
|
ToString(): string;
|
|
182
196
|
}
|
|
@@ -191,9 +205,14 @@ export const NpgsqlBatchCommand: {
|
|
|
191
205
|
export type NpgsqlBatchCommand = NpgsqlBatchCommand$instance;
|
|
192
206
|
|
|
193
207
|
export interface NpgsqlBatchCommandCollection$instance extends DbBatchCommandCollection {
|
|
208
|
+
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
209
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
210
|
+
readonly __tsonic_iface_System_Collections_Generic_IList_1: never;
|
|
211
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
212
|
+
|
|
194
213
|
readonly Count: int;
|
|
195
214
|
readonly IsReadOnly: boolean;
|
|
196
|
-
|
|
215
|
+
[index: number]: NpgsqlBatchCommand;
|
|
197
216
|
Add(item: NpgsqlBatchCommand): void;
|
|
198
217
|
Add(item: DbBatchCommand): void;
|
|
199
218
|
Clear(): void;
|
|
@@ -201,6 +220,7 @@ export interface NpgsqlBatchCommandCollection$instance extends DbBatchCommandCol
|
|
|
201
220
|
Contains(item: DbBatchCommand): boolean;
|
|
202
221
|
CopyTo(array: NpgsqlBatchCommand[], arrayIndex: int): void;
|
|
203
222
|
CopyTo(array: DbBatchCommand[], arrayIndex: int): void;
|
|
223
|
+
GetBatchCommand(index: int): DbBatchCommand;
|
|
204
224
|
GetEnumerator(): IEnumerator__System_Collections_Generic<DbBatchCommand>;
|
|
205
225
|
IndexOf(item: NpgsqlBatchCommand): int;
|
|
206
226
|
IndexOf(item: DbBatchCommand): int;
|
|
@@ -209,17 +229,21 @@ export interface NpgsqlBatchCommandCollection$instance extends DbBatchCommandCol
|
|
|
209
229
|
Remove(item: NpgsqlBatchCommand): boolean;
|
|
210
230
|
Remove(item: DbBatchCommand): boolean;
|
|
211
231
|
RemoveAt(index: int): void;
|
|
232
|
+
SetBatchCommand(index: int, batchCommand: DbBatchCommand): void;
|
|
212
233
|
}
|
|
213
234
|
|
|
214
235
|
|
|
215
236
|
export const NpgsqlBatchCommandCollection: {
|
|
216
|
-
new(): NpgsqlBatchCommandCollection;
|
|
217
237
|
};
|
|
218
238
|
|
|
219
239
|
|
|
220
240
|
export type NpgsqlBatchCommandCollection = NpgsqlBatchCommandCollection$instance;
|
|
221
241
|
|
|
222
242
|
export interface NpgsqlBinaryExporter$instance {
|
|
243
|
+
readonly __tsonic_iface_Npgsql_ICancelable: never;
|
|
244
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
245
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
246
|
+
|
|
223
247
|
readonly IsNull: boolean;
|
|
224
248
|
Timeout: TimeSpan;
|
|
225
249
|
Cancel(): void;
|
|
@@ -238,13 +262,16 @@ export interface NpgsqlBinaryExporter$instance {
|
|
|
238
262
|
|
|
239
263
|
|
|
240
264
|
export const NpgsqlBinaryExporter: {
|
|
241
|
-
new(): NpgsqlBinaryExporter;
|
|
242
265
|
};
|
|
243
266
|
|
|
244
267
|
|
|
245
268
|
export type NpgsqlBinaryExporter = NpgsqlBinaryExporter$instance;
|
|
246
269
|
|
|
247
270
|
export interface NpgsqlBinaryImporter$instance {
|
|
271
|
+
readonly __tsonic_iface_Npgsql_ICancelable: never;
|
|
272
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
273
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
274
|
+
|
|
248
275
|
Timeout: TimeSpan;
|
|
249
276
|
Close(): void;
|
|
250
277
|
CloseAsync(cancellationToken?: CancellationToken): ValueTask;
|
|
@@ -268,31 +295,45 @@ export interface NpgsqlBinaryImporter$instance {
|
|
|
268
295
|
|
|
269
296
|
|
|
270
297
|
export const NpgsqlBinaryImporter: {
|
|
271
|
-
new(): NpgsqlBinaryImporter;
|
|
272
298
|
};
|
|
273
299
|
|
|
274
300
|
|
|
275
301
|
export type NpgsqlBinaryImporter = NpgsqlBinaryImporter$instance;
|
|
276
302
|
|
|
277
303
|
export interface NpgsqlCommand$instance extends DbCommand {
|
|
304
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
305
|
+
readonly __tsonic_iface_System_Data_IDbCommand: never;
|
|
306
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
307
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
308
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
309
|
+
|
|
278
310
|
AllResultTypesAreUnknown: boolean;
|
|
279
311
|
CommandText: string;
|
|
280
312
|
CommandTimeout: int;
|
|
281
313
|
CommandType: CommandType;
|
|
282
314
|
get Connection(): NpgsqlConnection | undefined;
|
|
283
|
-
set Connection(value: NpgsqlConnection);
|
|
315
|
+
set Connection(value: NpgsqlConnection | undefined);
|
|
316
|
+
get DbConnection(): DbConnection | undefined;
|
|
317
|
+
set DbConnection(value: DbConnection | undefined);
|
|
318
|
+
readonly DbParameterCollection: DbParameterCollection;
|
|
319
|
+
get DbTransaction(): DbTransaction | undefined;
|
|
320
|
+
set DbTransaction(value: DbTransaction | undefined);
|
|
284
321
|
DesignTimeVisible: boolean;
|
|
285
322
|
readonly IsPrepared: boolean;
|
|
286
323
|
readonly Parameters: NpgsqlParameterCollection;
|
|
287
324
|
readonly Statements: IReadOnlyList<NpgsqlBatchCommand>;
|
|
288
325
|
get Transaction(): NpgsqlTransaction | undefined;
|
|
289
|
-
set Transaction(value: NpgsqlTransaction);
|
|
326
|
+
set Transaction(value: NpgsqlTransaction | undefined);
|
|
290
327
|
get UnknownResultTypeList(): boolean[] | undefined;
|
|
291
|
-
set UnknownResultTypeList(value: boolean[]);
|
|
328
|
+
set UnknownResultTypeList(value: boolean[] | undefined);
|
|
292
329
|
UpdatedRowSource: UpdateRowSource;
|
|
293
330
|
Cancel(): void;
|
|
294
331
|
Clone(): NpgsqlCommand;
|
|
332
|
+
CreateDbParameter(): DbParameter;
|
|
295
333
|
CreateParameter(): NpgsqlParameter;
|
|
334
|
+
Dispose(disposing: boolean): void;
|
|
335
|
+
ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
336
|
+
ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<DbDataReader>;
|
|
296
337
|
ExecuteNonQuery(): int;
|
|
297
338
|
ExecuteNonQueryAsync(cancellationToken: CancellationToken): Task<System_Internal.Int32>;
|
|
298
339
|
ExecuteReader(behavior?: CommandBehavior): NpgsqlDataReader;
|
|
@@ -318,15 +359,23 @@ export const NpgsqlCommand: {
|
|
|
318
359
|
export type NpgsqlCommand = NpgsqlCommand$instance;
|
|
319
360
|
|
|
320
361
|
export interface NpgsqlCommandBuilder$instance extends DbCommandBuilder {
|
|
362
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
363
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
364
|
+
|
|
321
365
|
QuotePrefix: string;
|
|
322
366
|
QuoteSuffix: string;
|
|
367
|
+
ApplyParameterInfo(p: DbParameter, row: DataRow, statementType: StatementType_Data, whereClause: boolean): void;
|
|
323
368
|
GetDeleteCommand(): NpgsqlCommand;
|
|
324
369
|
GetDeleteCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
325
370
|
GetInsertCommand(): NpgsqlCommand;
|
|
326
371
|
GetInsertCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
372
|
+
GetParameterName(parameterOrdinal: int): string;
|
|
373
|
+
GetParameterName(parameterName: string): string;
|
|
374
|
+
GetParameterPlaceholder(parameterOrdinal: int): string;
|
|
327
375
|
GetUpdateCommand(): NpgsqlCommand;
|
|
328
376
|
GetUpdateCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
329
377
|
QuoteIdentifier(unquotedIdentifier: string): string;
|
|
378
|
+
SetRowUpdatingHandler(adapter: DbDataAdapter): void;
|
|
330
379
|
UnquoteIdentifier(quotedIdentifier: string): string;
|
|
331
380
|
}
|
|
332
381
|
|
|
@@ -341,13 +390,20 @@ export const NpgsqlCommandBuilder: {
|
|
|
341
390
|
export type NpgsqlCommandBuilder = NpgsqlCommandBuilder$instance;
|
|
342
391
|
|
|
343
392
|
export interface NpgsqlConnection$instance extends DbConnection {
|
|
393
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
394
|
+
readonly __tsonic_iface_System_Data_IDbConnection: never;
|
|
395
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
396
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
397
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
398
|
+
|
|
344
399
|
readonly CanCreateBatch: boolean;
|
|
345
400
|
readonly CommandTimeout: int;
|
|
346
401
|
ConnectionString: string;
|
|
347
402
|
readonly ConnectionTimeout: int;
|
|
348
403
|
readonly Database: string;
|
|
349
404
|
readonly DataSource: string;
|
|
350
|
-
readonly
|
|
405
|
+
readonly DbProviderFactory: DbProviderFactory;
|
|
406
|
+
FullState: ConnectionState;
|
|
351
407
|
readonly HasIntegerDateTimes: boolean;
|
|
352
408
|
readonly Host: string | undefined;
|
|
353
409
|
readonly Port: int;
|
|
@@ -355,22 +411,24 @@ export interface NpgsqlConnection$instance extends DbConnection {
|
|
|
355
411
|
readonly PostgreSqlVersion: Version;
|
|
356
412
|
readonly ProcessID: int;
|
|
357
413
|
get ProvideClientCertificatesCallback(): ProvideClientCertificatesCallback | undefined;
|
|
358
|
-
set ProvideClientCertificatesCallback(value: ProvideClientCertificatesCallback);
|
|
414
|
+
set ProvideClientCertificatesCallback(value: ProvideClientCertificatesCallback | undefined);
|
|
359
415
|
get ProvidePasswordCallback(): ProvidePasswordCallback | undefined;
|
|
360
|
-
set ProvidePasswordCallback(value: ProvidePasswordCallback);
|
|
416
|
+
set ProvidePasswordCallback(value: ProvidePasswordCallback | undefined);
|
|
361
417
|
readonly ServerVersion: string;
|
|
362
418
|
get SslClientAuthenticationOptionsCallback(): Action<SslClientAuthenticationOptions> | undefined;
|
|
363
|
-
set SslClientAuthenticationOptionsCallback(value: Action<SslClientAuthenticationOptions>);
|
|
419
|
+
set SslClientAuthenticationOptionsCallback(value: Action<SslClientAuthenticationOptions> | undefined);
|
|
364
420
|
readonly State: ConnectionState;
|
|
365
421
|
readonly Timezone: string;
|
|
366
422
|
readonly TypeMapper: INpgsqlTypeMapper;
|
|
367
423
|
get UserCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
|
|
368
|
-
set UserCertificateValidationCallback(value: RemoteCertificateValidationCallback);
|
|
424
|
+
set UserCertificateValidationCallback(value: RemoteCertificateValidationCallback | undefined);
|
|
369
425
|
readonly UserName: string | undefined;
|
|
370
426
|
BeginBinaryExport(copyToCommand: string): NpgsqlBinaryExporter;
|
|
371
427
|
BeginBinaryExportAsync(copyToCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlBinaryExporter>;
|
|
372
428
|
BeginBinaryImport(copyFromCommand: string): NpgsqlBinaryImporter;
|
|
373
429
|
BeginBinaryImportAsync(copyFromCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlBinaryImporter>;
|
|
430
|
+
BeginDbTransaction(isolationLevel: IsolationLevel): DbTransaction;
|
|
431
|
+
BeginDbTransactionAsync(isolationLevel: IsolationLevel, cancellationToken: CancellationToken): ValueTask<DbTransaction>;
|
|
374
432
|
BeginRawBinaryCopy(copyCommand: string): NpgsqlRawCopyStream;
|
|
375
433
|
BeginRawBinaryCopyAsync(copyCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlRawCopyStream>;
|
|
376
434
|
BeginTextExport(copyToCommand: string): NpgsqlCopyTextReader;
|
|
@@ -388,6 +446,9 @@ export interface NpgsqlConnection$instance extends DbConnection {
|
|
|
388
446
|
CloseAsync(): Task;
|
|
389
447
|
CreateBatch(): NpgsqlBatch;
|
|
390
448
|
CreateCommand(): NpgsqlCommand;
|
|
449
|
+
CreateDbBatch(): DbBatch;
|
|
450
|
+
CreateDbCommand(): DbCommand;
|
|
451
|
+
Dispose(disposing: boolean): void;
|
|
391
452
|
DisposeAsync(): ValueTask;
|
|
392
453
|
EnlistTransaction(transaction: Transaction): void;
|
|
393
454
|
GetSchema(): DataTable;
|
|
@@ -423,32 +484,40 @@ export const NpgsqlConnection: {
|
|
|
423
484
|
export type NpgsqlConnection = NpgsqlConnection$instance;
|
|
424
485
|
|
|
425
486
|
export interface NpgsqlConnectionStringBuilder$instance extends DbConnectionStringBuilder {
|
|
487
|
+
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
488
|
+
readonly __tsonic_iface_System_Collections_Generic_IDictionary_2: never;
|
|
489
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
490
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
491
|
+
readonly __tsonic_iface_System_Collections_IDictionary: never;
|
|
492
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
493
|
+
readonly __tsonic_iface_System_ComponentModel_ICustomTypeDescriptor: never;
|
|
494
|
+
|
|
426
495
|
get ApplicationName(): string | undefined;
|
|
427
|
-
set ApplicationName(value: string);
|
|
496
|
+
set ApplicationName(value: string | undefined);
|
|
428
497
|
ArrayNullabilityMode: ArrayNullabilityMode;
|
|
429
498
|
AutoPrepareMinUsages: int;
|
|
430
499
|
CancellationTimeout: int;
|
|
431
500
|
ChannelBinding: ChannelBinding;
|
|
432
501
|
CheckCertificateRevocation: boolean;
|
|
433
502
|
get ClientEncoding(): string | undefined;
|
|
434
|
-
set ClientEncoding(value: string);
|
|
503
|
+
set ClientEncoding(value: string | undefined);
|
|
435
504
|
CommandTimeout: int;
|
|
436
505
|
ConnectionIdleLifetime: int;
|
|
437
506
|
ConnectionLifetime: int;
|
|
438
507
|
ConnectionPruningInterval: int;
|
|
439
508
|
get Database(): string | undefined;
|
|
440
|
-
set Database(value: string);
|
|
509
|
+
set Database(value: string | undefined);
|
|
441
510
|
Encoding: string;
|
|
442
511
|
Enlist: boolean;
|
|
443
512
|
GssEncryptionMode: GssEncryptionMode;
|
|
444
513
|
get Host(): string | undefined;
|
|
445
|
-
set Host(value: string);
|
|
514
|
+
set Host(value: string | undefined);
|
|
446
515
|
HostRecheckSeconds: int;
|
|
447
516
|
IncludeErrorDetail: boolean;
|
|
448
517
|
IncludeFailedBatchedCommand: boolean;
|
|
449
518
|
IncludeRealm: boolean;
|
|
450
519
|
InternalCommandTimeout: int;
|
|
451
|
-
|
|
520
|
+
[keyword: string]: unknown;
|
|
452
521
|
KeepAlive: int;
|
|
453
522
|
KerberosServiceName: string;
|
|
454
523
|
readonly Keys: ICollection__System_Collections_Generic<System_Internal.String>;
|
|
@@ -461,43 +530,43 @@ export interface NpgsqlConnectionStringBuilder$instance extends DbConnectionStri
|
|
|
461
530
|
Multiplexing: boolean;
|
|
462
531
|
NoResetOnClose: boolean;
|
|
463
532
|
get Options(): string | undefined;
|
|
464
|
-
set Options(value: string);
|
|
533
|
+
set Options(value: string | undefined);
|
|
465
534
|
get Passfile(): string | undefined;
|
|
466
|
-
set Passfile(value: string);
|
|
535
|
+
set Passfile(value: string | undefined);
|
|
467
536
|
get Password(): string | undefined;
|
|
468
|
-
set Password(value: string);
|
|
537
|
+
set Password(value: string | undefined);
|
|
469
538
|
PersistSecurityInfo: boolean;
|
|
470
539
|
Pooling: boolean;
|
|
471
540
|
Port: int;
|
|
472
541
|
ReadBufferSize: int;
|
|
473
542
|
get RequireAuth(): string | undefined;
|
|
474
|
-
set RequireAuth(value: string);
|
|
543
|
+
set RequireAuth(value: string | undefined);
|
|
475
544
|
get RootCertificate(): string | undefined;
|
|
476
|
-
set RootCertificate(value: string);
|
|
545
|
+
set RootCertificate(value: string | undefined);
|
|
477
546
|
get SearchPath(): string | undefined;
|
|
478
|
-
set SearchPath(value: string);
|
|
547
|
+
set SearchPath(value: string | undefined);
|
|
479
548
|
ServerCompatibilityMode: ServerCompatibilityMode;
|
|
480
549
|
SocketReceiveBufferSize: int;
|
|
481
550
|
SocketSendBufferSize: int;
|
|
482
551
|
get SslCertificate(): string | undefined;
|
|
483
|
-
set SslCertificate(value: string);
|
|
552
|
+
set SslCertificate(value: string | undefined);
|
|
484
553
|
get SslKey(): string | undefined;
|
|
485
|
-
set SslKey(value: string);
|
|
554
|
+
set SslKey(value: string | undefined);
|
|
486
555
|
SslMode: SslMode;
|
|
487
556
|
SslNegotiation: SslNegotiation;
|
|
488
557
|
get SslPassword(): string | undefined;
|
|
489
|
-
set SslPassword(value: string);
|
|
558
|
+
set SslPassword(value: string | undefined);
|
|
490
559
|
get TargetSessionAttributes(): string | undefined;
|
|
491
|
-
set TargetSessionAttributes(value: string);
|
|
560
|
+
set TargetSessionAttributes(value: string | undefined);
|
|
492
561
|
TcpKeepAlive: boolean;
|
|
493
562
|
TcpKeepAliveInterval: int;
|
|
494
563
|
TcpKeepAliveTime: int;
|
|
495
564
|
Timeout: int;
|
|
496
565
|
get Timezone(): string | undefined;
|
|
497
|
-
set Timezone(value: string);
|
|
566
|
+
set Timezone(value: string | undefined);
|
|
498
567
|
TrustServerCertificate: boolean;
|
|
499
568
|
get Username(): string | undefined;
|
|
500
|
-
set Username(value: string);
|
|
569
|
+
set Username(value: string | undefined);
|
|
501
570
|
readonly Values: ICollection__System_Collections_Generic<unknown | undefined>;
|
|
502
571
|
WriteBufferSize: int;
|
|
503
572
|
WriteCoalescingBufferThresholdBytes: int;
|
|
@@ -509,6 +578,7 @@ export interface NpgsqlConnectionStringBuilder$instance extends DbConnectionStri
|
|
|
509
578
|
Equals(obj: unknown): boolean;
|
|
510
579
|
GetEnumerator(): IEnumerator__System_Collections_Generic<KeyValuePair<System_Internal.String, unknown>>;
|
|
511
580
|
GetHashCode(): int;
|
|
581
|
+
GetProperties(propertyDescriptors: Hashtable): void;
|
|
512
582
|
Remove(keyword: string): boolean;
|
|
513
583
|
Remove(item: KeyValuePair<System_Internal.String, unknown>): boolean;
|
|
514
584
|
TryGetValue(keyword: string, value: unknown): boolean;
|
|
@@ -525,6 +595,10 @@ export const NpgsqlConnectionStringBuilder: {
|
|
|
525
595
|
export type NpgsqlConnectionStringBuilder = NpgsqlConnectionStringBuilder$instance;
|
|
526
596
|
|
|
527
597
|
export interface NpgsqlCopyTextReader$instance extends StreamReader {
|
|
598
|
+
readonly __tsonic_iface_Npgsql_ICancelable: never;
|
|
599
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
600
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
601
|
+
|
|
528
602
|
Timeout: int;
|
|
529
603
|
Cancel(): void;
|
|
530
604
|
CancelAsync(): Task;
|
|
@@ -533,13 +607,16 @@ export interface NpgsqlCopyTextReader$instance extends StreamReader {
|
|
|
533
607
|
|
|
534
608
|
|
|
535
609
|
export const NpgsqlCopyTextReader: {
|
|
536
|
-
new(): NpgsqlCopyTextReader;
|
|
537
610
|
};
|
|
538
611
|
|
|
539
612
|
|
|
540
613
|
export type NpgsqlCopyTextReader = NpgsqlCopyTextReader$instance;
|
|
541
614
|
|
|
542
615
|
export interface NpgsqlCopyTextWriter$instance extends StreamWriter {
|
|
616
|
+
readonly __tsonic_iface_Npgsql_ICancelable: never;
|
|
617
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
618
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
619
|
+
|
|
543
620
|
Timeout: int;
|
|
544
621
|
Cancel(): void;
|
|
545
622
|
CancelAsync(): Task;
|
|
@@ -547,21 +624,30 @@ export interface NpgsqlCopyTextWriter$instance extends StreamWriter {
|
|
|
547
624
|
|
|
548
625
|
|
|
549
626
|
export const NpgsqlCopyTextWriter: {
|
|
550
|
-
new(): NpgsqlCopyTextWriter;
|
|
551
627
|
};
|
|
552
628
|
|
|
553
629
|
|
|
554
630
|
export type NpgsqlCopyTextWriter = NpgsqlCopyTextWriter$instance;
|
|
555
631
|
|
|
556
632
|
export interface NpgsqlDataAdapter$instance extends DbDataAdapter {
|
|
633
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
634
|
+
readonly __tsonic_iface_System_Data_IDataAdapter: never;
|
|
635
|
+
readonly __tsonic_iface_System_Data_IDbDataAdapter: never;
|
|
636
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
637
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
638
|
+
|
|
557
639
|
get DeleteCommand(): NpgsqlCommand | undefined;
|
|
558
|
-
set DeleteCommand(value: NpgsqlCommand);
|
|
640
|
+
set DeleteCommand(value: NpgsqlCommand | undefined);
|
|
559
641
|
get InsertCommand(): NpgsqlCommand | undefined;
|
|
560
|
-
set InsertCommand(value: NpgsqlCommand);
|
|
642
|
+
set InsertCommand(value: NpgsqlCommand | undefined);
|
|
561
643
|
get SelectCommand(): NpgsqlCommand | undefined;
|
|
562
|
-
set SelectCommand(value: NpgsqlCommand);
|
|
644
|
+
set SelectCommand(value: NpgsqlCommand | undefined);
|
|
563
645
|
get UpdateCommand(): NpgsqlCommand | undefined;
|
|
564
|
-
set UpdateCommand(value: NpgsqlCommand);
|
|
646
|
+
set UpdateCommand(value: NpgsqlCommand | undefined);
|
|
647
|
+
CreateRowUpdatedEvent(dataRow: DataRow, command: IDbCommand, statementType: StatementType_Data, tableMapping: DataTableMapping): RowUpdatedEventArgs;
|
|
648
|
+
CreateRowUpdatingEvent(dataRow: DataRow, command: IDbCommand, statementType: StatementType_Data, tableMapping: DataTableMapping): RowUpdatingEventArgs;
|
|
649
|
+
OnRowUpdated(value: RowUpdatedEventArgs): void;
|
|
650
|
+
OnRowUpdating(value: RowUpdatingEventArgs): void;
|
|
565
651
|
}
|
|
566
652
|
|
|
567
653
|
|
|
@@ -576,6 +662,13 @@ export const NpgsqlDataAdapter: {
|
|
|
576
662
|
export type NpgsqlDataAdapter = NpgsqlDataAdapter$instance;
|
|
577
663
|
|
|
578
664
|
export interface NpgsqlDataReader$instance extends DbDataReader {
|
|
665
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
666
|
+
readonly __tsonic_iface_System_Data_Common_IDbColumnSchemaGenerator: never;
|
|
667
|
+
readonly __tsonic_iface_System_Data_IDataReader: never;
|
|
668
|
+
readonly __tsonic_iface_System_Data_IDataRecord: never;
|
|
669
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
670
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
671
|
+
|
|
579
672
|
readonly Depth: int;
|
|
580
673
|
readonly FieldCount: int;
|
|
581
674
|
readonly HasRows: boolean;
|
|
@@ -586,6 +679,7 @@ export interface NpgsqlDataReader$instance extends DbDataReader {
|
|
|
586
679
|
readonly Statements: IReadOnlyList<NpgsqlBatchCommand>;
|
|
587
680
|
Close(): void;
|
|
588
681
|
CloseAsync(): Task;
|
|
682
|
+
Dispose(disposing: boolean): void;
|
|
589
683
|
DisposeAsync(): ValueTask;
|
|
590
684
|
get_Item(ordinal: int): unknown;
|
|
591
685
|
get_Item(name: string): unknown;
|
|
@@ -600,6 +694,7 @@ export interface NpgsqlDataReader$instance extends DbDataReader {
|
|
|
600
694
|
GetDataTypeName(ordinal: int): string;
|
|
601
695
|
GetDataTypeOID(ordinal: int): uint;
|
|
602
696
|
GetDateTime(ordinal: int): DateTime;
|
|
697
|
+
GetDbDataReader(ordinal: int): DbDataReader;
|
|
603
698
|
GetDecimal(ordinal: int): decimal;
|
|
604
699
|
GetDouble(ordinal: int): double;
|
|
605
700
|
GetEnumerator(): IEnumerator;
|
|
@@ -634,21 +729,32 @@ export interface NpgsqlDataReader$instance extends DbDataReader {
|
|
|
634
729
|
|
|
635
730
|
|
|
636
731
|
export const NpgsqlDataReader: {
|
|
637
|
-
new(): NpgsqlDataReader;
|
|
638
732
|
};
|
|
639
733
|
|
|
640
734
|
|
|
641
735
|
export type NpgsqlDataReader = NpgsqlDataReader$instance;
|
|
642
736
|
|
|
643
737
|
export interface NpgsqlDataSource$instance extends DbDataSource {
|
|
738
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
739
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
740
|
+
|
|
644
741
|
readonly ConnectionString: string;
|
|
645
742
|
Password: string;
|
|
646
743
|
Clear(): void;
|
|
647
744
|
CreateBatch(): NpgsqlBatch;
|
|
648
745
|
CreateCommand(commandText?: string): NpgsqlCommand;
|
|
649
746
|
CreateConnection(): NpgsqlConnection;
|
|
747
|
+
CreateDbBatch(): DbBatch;
|
|
748
|
+
CreateDbCommand(commandText?: string): DbCommand;
|
|
749
|
+
CreateDbConnection(): DbConnection;
|
|
750
|
+
Dispose(disposing: boolean): void;
|
|
751
|
+
DisposeAsyncBase(): ValueTask;
|
|
752
|
+
DisposeAsyncCore(): ValueTask;
|
|
753
|
+
DisposeBase(): void;
|
|
650
754
|
OpenConnection(): NpgsqlConnection;
|
|
651
755
|
OpenConnectionAsync(cancellationToken?: CancellationToken): ValueTask<NpgsqlConnection>;
|
|
756
|
+
OpenDbConnection(): DbConnection;
|
|
757
|
+
OpenDbConnectionAsync(cancellationToken?: CancellationToken): ValueTask<DbConnection>;
|
|
652
758
|
ReloadTypes(): void;
|
|
653
759
|
ReloadTypesAsync(cancellationToken?: CancellationToken): Task;
|
|
654
760
|
}
|
|
@@ -663,10 +769,13 @@ export const NpgsqlDataSource: {
|
|
|
663
769
|
export type NpgsqlDataSource = NpgsqlDataSource$instance;
|
|
664
770
|
|
|
665
771
|
export interface NpgsqlDataSourceBuilder$instance {
|
|
772
|
+
readonly __tsonic_iface_Npgsql_TypeMapping_INpgsqlTypeMapper: never;
|
|
773
|
+
|
|
666
774
|
readonly ConnectionString: string;
|
|
667
775
|
readonly ConnectionStringBuilder: NpgsqlConnectionStringBuilder;
|
|
668
776
|
DefaultNameTranslator: INpgsqlNameTranslator;
|
|
669
|
-
Name: string;
|
|
777
|
+
get Name(): string | undefined;
|
|
778
|
+
set Name(value: string | undefined);
|
|
670
779
|
AddTypeInfoResolverFactory(factory: PgTypeInfoResolverFactory): void;
|
|
671
780
|
Build(): NpgsqlDataSource;
|
|
672
781
|
BuildMultiHost(): NpgsqlMultiHostDataSource;
|
|
@@ -715,8 +824,11 @@ export type NpgsqlDataSourceBuilder = NpgsqlDataSourceBuilder$instance & __Npgsq
|
|
|
715
824
|
|
|
716
825
|
|
|
717
826
|
export interface NpgsqlException$instance extends DbException {
|
|
827
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
828
|
+
|
|
718
829
|
get BatchCommand(): NpgsqlBatchCommand | undefined;
|
|
719
|
-
set BatchCommand(value: NpgsqlBatchCommand);
|
|
830
|
+
set BatchCommand(value: NpgsqlBatchCommand | undefined);
|
|
831
|
+
readonly DbBatchCommand: DbBatchCommand | undefined;
|
|
720
832
|
readonly IsTransient: boolean;
|
|
721
833
|
}
|
|
722
834
|
|
|
@@ -731,6 +843,8 @@ export const NpgsqlException: {
|
|
|
731
843
|
export type NpgsqlException = NpgsqlException$instance;
|
|
732
844
|
|
|
733
845
|
export interface NpgsqlFactory$instance extends DbProviderFactory {
|
|
846
|
+
readonly __tsonic_iface_System_IServiceProvider: never;
|
|
847
|
+
|
|
734
848
|
readonly CanCreateBatch: boolean;
|
|
735
849
|
readonly CanCreateCommandBuilder: boolean;
|
|
736
850
|
readonly CanCreateDataAdapter: boolean;
|
|
@@ -748,7 +862,6 @@ export interface NpgsqlFactory$instance extends DbProviderFactory {
|
|
|
748
862
|
|
|
749
863
|
|
|
750
864
|
export const NpgsqlFactory: {
|
|
751
|
-
new(): NpgsqlFactory;
|
|
752
865
|
readonly Instance: NpgsqlFactory;
|
|
753
866
|
};
|
|
754
867
|
|
|
@@ -781,6 +894,9 @@ export const NpgsqlLargeObjectManager: {
|
|
|
781
894
|
export type NpgsqlLargeObjectManager = NpgsqlLargeObjectManager$instance;
|
|
782
895
|
|
|
783
896
|
export interface NpgsqlLargeObjectStream$instance extends Stream {
|
|
897
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
898
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
899
|
+
|
|
784
900
|
readonly CanRead: boolean;
|
|
785
901
|
readonly CanSeek: boolean;
|
|
786
902
|
readonly CanTimeout: boolean;
|
|
@@ -789,6 +905,7 @@ export interface NpgsqlLargeObjectStream$instance extends Stream {
|
|
|
789
905
|
readonly Length: long;
|
|
790
906
|
Position: long;
|
|
791
907
|
Close(): void;
|
|
908
|
+
Dispose(disposing: boolean): void;
|
|
792
909
|
Flush(): void;
|
|
793
910
|
GetLengthAsync(cancellationToken?: CancellationToken): Task<System_Internal.Int64>;
|
|
794
911
|
Read(buffer: byte[], offset: int, count: int): int;
|
|
@@ -803,7 +920,6 @@ export interface NpgsqlLargeObjectStream$instance extends Stream {
|
|
|
803
920
|
|
|
804
921
|
|
|
805
922
|
export const NpgsqlLargeObjectStream: {
|
|
806
|
-
new(): NpgsqlLargeObjectStream;
|
|
807
923
|
};
|
|
808
924
|
|
|
809
925
|
|
|
@@ -814,7 +930,6 @@ export interface NpgsqlLoggingConfiguration$instance {
|
|
|
814
930
|
|
|
815
931
|
|
|
816
932
|
export const NpgsqlLoggingConfiguration: {
|
|
817
|
-
new(): NpgsqlLoggingConfiguration;
|
|
818
933
|
InitializeLogging(loggerFactory: ILoggerFactory, parameterLoggingEnabled?: boolean): void;
|
|
819
934
|
};
|
|
820
935
|
|
|
@@ -833,6 +948,9 @@ export const NpgsqlMetricsOptions: {
|
|
|
833
948
|
export type NpgsqlMetricsOptions = NpgsqlMetricsOptions$instance;
|
|
834
949
|
|
|
835
950
|
export interface NpgsqlMultiHostDataSource$instance extends NpgsqlDataSource {
|
|
951
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
952
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
953
|
+
|
|
836
954
|
Clear(): void;
|
|
837
955
|
ClearDatabaseStates(): void;
|
|
838
956
|
CreateConnection(targetSessionAttributes: TargetSessionAttributes): NpgsqlConnection;
|
|
@@ -846,19 +964,25 @@ export interface NpgsqlMultiHostDataSource$instance extends NpgsqlDataSource {
|
|
|
846
964
|
|
|
847
965
|
|
|
848
966
|
export const NpgsqlMultiHostDataSource: {
|
|
849
|
-
new(): NpgsqlMultiHostDataSource;
|
|
850
967
|
};
|
|
851
968
|
|
|
852
969
|
|
|
853
970
|
export type NpgsqlMultiHostDataSource = NpgsqlMultiHostDataSource$instance;
|
|
854
971
|
|
|
855
972
|
export interface NpgsqlNestedDataReader$instance extends DbDataReader {
|
|
973
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
974
|
+
readonly __tsonic_iface_System_Data_IDataReader: never;
|
|
975
|
+
readonly __tsonic_iface_System_Data_IDataRecord: never;
|
|
976
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
977
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
978
|
+
|
|
856
979
|
readonly Depth: int;
|
|
857
980
|
readonly FieldCount: int;
|
|
858
981
|
readonly HasRows: boolean;
|
|
859
982
|
readonly IsClosed: boolean;
|
|
860
983
|
readonly RecordsAffected: int;
|
|
861
984
|
Close(): void;
|
|
985
|
+
Dispose(disposing: boolean): void;
|
|
862
986
|
get_Item(ordinal: int): unknown;
|
|
863
987
|
get_Item(name: string): unknown;
|
|
864
988
|
GetBoolean(ordinal: int): boolean;
|
|
@@ -869,6 +993,7 @@ export interface NpgsqlNestedDataReader$instance extends DbDataReader {
|
|
|
869
993
|
GetData(ordinal: int): NpgsqlNestedDataReader;
|
|
870
994
|
GetDataTypeName(ordinal: int): string;
|
|
871
995
|
GetDateTime(ordinal: int): DateTime;
|
|
996
|
+
GetDbDataReader(ordinal: int): DbDataReader;
|
|
872
997
|
GetDecimal(ordinal: int): decimal;
|
|
873
998
|
GetDouble(ordinal: int): double;
|
|
874
999
|
GetEnumerator(): IEnumerator;
|
|
@@ -891,7 +1016,6 @@ export interface NpgsqlNestedDataReader$instance extends DbDataReader {
|
|
|
891
1016
|
|
|
892
1017
|
|
|
893
1018
|
export const NpgsqlNestedDataReader: {
|
|
894
|
-
new(): NpgsqlNestedDataReader;
|
|
895
1019
|
};
|
|
896
1020
|
|
|
897
1021
|
|
|
@@ -903,7 +1027,6 @@ export interface NpgsqlNoticeEventArgs$instance extends EventArgs {
|
|
|
903
1027
|
|
|
904
1028
|
|
|
905
1029
|
export const NpgsqlNoticeEventArgs: {
|
|
906
|
-
new(): NpgsqlNoticeEventArgs;
|
|
907
1030
|
};
|
|
908
1031
|
|
|
909
1032
|
|
|
@@ -917,13 +1040,14 @@ export interface NpgsqlNotificationEventArgs$instance extends EventArgs {
|
|
|
917
1040
|
|
|
918
1041
|
|
|
919
1042
|
export const NpgsqlNotificationEventArgs: {
|
|
920
|
-
new(): NpgsqlNotificationEventArgs;
|
|
921
1043
|
};
|
|
922
1044
|
|
|
923
1045
|
|
|
924
1046
|
export type NpgsqlNotificationEventArgs = NpgsqlNotificationEventArgs$instance;
|
|
925
1047
|
|
|
926
1048
|
export interface NpgsqlOperationInProgressException$instance extends NpgsqlException {
|
|
1049
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1050
|
+
|
|
927
1051
|
readonly CommandInProgress: NpgsqlCommand | undefined;
|
|
928
1052
|
}
|
|
929
1053
|
|
|
@@ -936,18 +1060,23 @@ export const NpgsqlOperationInProgressException: {
|
|
|
936
1060
|
export type NpgsqlOperationInProgressException = NpgsqlOperationInProgressException$instance;
|
|
937
1061
|
|
|
938
1062
|
export interface NpgsqlParameter$instance extends DbParameter {
|
|
1063
|
+
readonly __tsonic_iface_System_Data_IDataParameter: never;
|
|
1064
|
+
readonly __tsonic_iface_System_Data_IDbDataParameter: never;
|
|
1065
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
1066
|
+
|
|
939
1067
|
get Collection(): NpgsqlParameterCollection | undefined;
|
|
940
|
-
set Collection(value: NpgsqlParameterCollection);
|
|
1068
|
+
set Collection(value: NpgsqlParameterCollection | undefined);
|
|
941
1069
|
get DataTypeName(): string | undefined;
|
|
942
|
-
set DataTypeName(value: string);
|
|
1070
|
+
set DataTypeName(value: string | undefined);
|
|
943
1071
|
DbType: DbType;
|
|
944
1072
|
Direction: ParameterDirection;
|
|
945
1073
|
IsNullable: boolean;
|
|
946
1074
|
NpgsqlDbType: NpgsqlDbType;
|
|
947
1075
|
get NpgsqlValue(): unknown | undefined;
|
|
948
|
-
set NpgsqlValue(value: unknown);
|
|
1076
|
+
set NpgsqlValue(value: unknown | undefined);
|
|
949
1077
|
ParameterName: string;
|
|
950
|
-
|
|
1078
|
+
get PostgresType(): PostgresType | undefined;
|
|
1079
|
+
set PostgresType(value: PostgresType | undefined);
|
|
951
1080
|
Precision: byte;
|
|
952
1081
|
Scale: byte;
|
|
953
1082
|
Size: int;
|
|
@@ -955,7 +1084,7 @@ export interface NpgsqlParameter$instance extends DbParameter {
|
|
|
955
1084
|
SourceColumnNullMapping: boolean;
|
|
956
1085
|
SourceVersion: DataRowVersion;
|
|
957
1086
|
get Value(): unknown | undefined;
|
|
958
|
-
set Value(value: unknown);
|
|
1087
|
+
set Value(value: unknown | undefined);
|
|
959
1088
|
Clone(): NpgsqlParameter;
|
|
960
1089
|
ResetDbType(): void;
|
|
961
1090
|
}
|
|
@@ -978,9 +1107,13 @@ export const NpgsqlParameter: {
|
|
|
978
1107
|
export type NpgsqlParameter = NpgsqlParameter$instance;
|
|
979
1108
|
|
|
980
1109
|
export interface NpgsqlParameter_1$instance<T> extends NpgsqlParameter {
|
|
1110
|
+
readonly __tsonic_iface_System_Data_IDataParameter: never;
|
|
1111
|
+
readonly __tsonic_iface_System_Data_IDbDataParameter: never;
|
|
1112
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
1113
|
+
|
|
981
1114
|
TypedValue: T | undefined;
|
|
982
1115
|
get Value(): unknown | undefined;
|
|
983
|
-
set Value(value: unknown);
|
|
1116
|
+
set Value(value: unknown | undefined);
|
|
984
1117
|
}
|
|
985
1118
|
|
|
986
1119
|
|
|
@@ -995,6 +1128,14 @@ export const NpgsqlParameter_1: {
|
|
|
995
1128
|
export type NpgsqlParameter_1<T> = NpgsqlParameter_1$instance<T>;
|
|
996
1129
|
|
|
997
1130
|
export interface NpgsqlParameterCollection$instance extends DbParameterCollection {
|
|
1131
|
+
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
1132
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
1133
|
+
readonly __tsonic_iface_System_Collections_Generic_IList_1: never;
|
|
1134
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
1135
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
1136
|
+
readonly __tsonic_iface_System_Collections_IList: never;
|
|
1137
|
+
readonly __tsonic_iface_System_Data_IDataParameterCollection: never;
|
|
1138
|
+
|
|
998
1139
|
readonly Count: int;
|
|
999
1140
|
readonly IsFixedSize: boolean;
|
|
1000
1141
|
readonly IsReadOnly: boolean;
|
|
@@ -1021,6 +1162,8 @@ export interface NpgsqlParameterCollection$instance extends DbParameterCollectio
|
|
|
1021
1162
|
get_Item(parameterName: string): NpgsqlParameter;
|
|
1022
1163
|
get_Item(index: int): NpgsqlParameter;
|
|
1023
1164
|
GetEnumerator(): IEnumerator;
|
|
1165
|
+
GetParameter(parameterName: string): DbParameter;
|
|
1166
|
+
GetParameter(index: int): DbParameter;
|
|
1024
1167
|
IndexOf(parameterName: string): int;
|
|
1025
1168
|
IndexOf(value: unknown): int;
|
|
1026
1169
|
IndexOf(item: NpgsqlParameter): int;
|
|
@@ -1033,19 +1176,24 @@ export interface NpgsqlParameterCollection$instance extends DbParameterCollectio
|
|
|
1033
1176
|
RemoveAt(index: int): void;
|
|
1034
1177
|
set_Item(parameterName: string, value: NpgsqlParameter): void;
|
|
1035
1178
|
set_Item(index: int, value: NpgsqlParameter): void;
|
|
1179
|
+
SetParameter(parameterName: string, value: DbParameter): void;
|
|
1180
|
+
SetParameter(index: int, value: DbParameter): void;
|
|
1036
1181
|
ToArray(): NpgsqlParameter[];
|
|
1037
1182
|
TryGetValue(parameterName: string, parameter: NpgsqlParameter): boolean;
|
|
1038
1183
|
}
|
|
1039
1184
|
|
|
1040
1185
|
|
|
1041
1186
|
export const NpgsqlParameterCollection: {
|
|
1042
|
-
new(): NpgsqlParameterCollection;
|
|
1043
1187
|
};
|
|
1044
1188
|
|
|
1045
1189
|
|
|
1046
1190
|
export type NpgsqlParameterCollection = NpgsqlParameterCollection$instance;
|
|
1047
1191
|
|
|
1048
1192
|
export interface NpgsqlRawCopyStream$instance extends Stream {
|
|
1193
|
+
readonly __tsonic_iface_Npgsql_ICancelable: never;
|
|
1194
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
1195
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1196
|
+
|
|
1049
1197
|
readonly CanRead: boolean;
|
|
1050
1198
|
readonly CanSeek: boolean;
|
|
1051
1199
|
readonly CanTimeout: boolean;
|
|
@@ -1056,6 +1204,7 @@ export interface NpgsqlRawCopyStream$instance extends Stream {
|
|
|
1056
1204
|
WriteTimeout: int;
|
|
1057
1205
|
Cancel(): void;
|
|
1058
1206
|
CancelAsync(): Task;
|
|
1207
|
+
Dispose(disposing: boolean): void;
|
|
1059
1208
|
DisposeAsync(): ValueTask;
|
|
1060
1209
|
Flush(): void;
|
|
1061
1210
|
FlushAsync(cancellationToken: CancellationToken): Task;
|
|
@@ -1073,7 +1222,6 @@ export interface NpgsqlRawCopyStream$instance extends Stream {
|
|
|
1073
1222
|
|
|
1074
1223
|
|
|
1075
1224
|
export const NpgsqlRawCopyStream: {
|
|
1076
|
-
new(): NpgsqlRawCopyStream;
|
|
1077
1225
|
};
|
|
1078
1226
|
|
|
1079
1227
|
|
|
@@ -1102,10 +1250,13 @@ export const NpgsqlRowUpdatingEventArgs: {
|
|
|
1102
1250
|
export type NpgsqlRowUpdatingEventArgs = NpgsqlRowUpdatingEventArgs$instance;
|
|
1103
1251
|
|
|
1104
1252
|
export interface NpgsqlSlimDataSourceBuilder$instance {
|
|
1253
|
+
readonly __tsonic_iface_Npgsql_TypeMapping_INpgsqlTypeMapper: never;
|
|
1254
|
+
|
|
1105
1255
|
readonly ConnectionString: string;
|
|
1106
1256
|
readonly ConnectionStringBuilder: NpgsqlConnectionStringBuilder;
|
|
1107
1257
|
DefaultNameTranslator: INpgsqlNameTranslator;
|
|
1108
|
-
Name: string;
|
|
1258
|
+
get Name(): string | undefined;
|
|
1259
|
+
set Name(value: string | undefined);
|
|
1109
1260
|
AddTypeInfoResolverFactory(factory: PgTypeInfoResolverFactory): void;
|
|
1110
1261
|
Build(): NpgsqlDataSource;
|
|
1111
1262
|
BuildMultiHost(): NpgsqlMultiHostDataSource;
|
|
@@ -1182,18 +1333,23 @@ export interface NpgsqlTracingOptionsBuilder$instance {
|
|
|
1182
1333
|
|
|
1183
1334
|
|
|
1184
1335
|
export const NpgsqlTracingOptionsBuilder: {
|
|
1185
|
-
new(): NpgsqlTracingOptionsBuilder;
|
|
1186
1336
|
};
|
|
1187
1337
|
|
|
1188
1338
|
|
|
1189
1339
|
export type NpgsqlTracingOptionsBuilder = NpgsqlTracingOptionsBuilder$instance;
|
|
1190
1340
|
|
|
1191
1341
|
export interface NpgsqlTransaction$instance extends DbTransaction {
|
|
1342
|
+
readonly __tsonic_iface_System_Data_IDbTransaction: never;
|
|
1343
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
1344
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1345
|
+
|
|
1192
1346
|
readonly Connection: NpgsqlConnection | undefined;
|
|
1347
|
+
readonly DbConnection: DbConnection | undefined;
|
|
1193
1348
|
readonly IsolationLevel: IsolationLevel;
|
|
1194
1349
|
readonly SupportsSavepoints: boolean;
|
|
1195
1350
|
Commit(): void;
|
|
1196
1351
|
CommitAsync(cancellationToken?: CancellationToken): Task;
|
|
1352
|
+
Dispose(disposing: boolean): void;
|
|
1197
1353
|
DisposeAsync(): ValueTask;
|
|
1198
1354
|
Release(name: string): void;
|
|
1199
1355
|
ReleaseAsync(name: string, cancellationToken?: CancellationToken): Task;
|
|
@@ -1207,7 +1363,6 @@ export interface NpgsqlTransaction$instance extends DbTransaction {
|
|
|
1207
1363
|
|
|
1208
1364
|
|
|
1209
1365
|
export const NpgsqlTransaction: {
|
|
1210
|
-
new(): NpgsqlTransaction;
|
|
1211
1366
|
};
|
|
1212
1367
|
|
|
1213
1368
|
|
|
@@ -1221,13 +1376,14 @@ export interface NpgsqlTypeLoadingOptionsBuilder$instance {
|
|
|
1221
1376
|
|
|
1222
1377
|
|
|
1223
1378
|
export const NpgsqlTypeLoadingOptionsBuilder: {
|
|
1224
|
-
new(): NpgsqlTypeLoadingOptionsBuilder;
|
|
1225
1379
|
};
|
|
1226
1380
|
|
|
1227
1381
|
|
|
1228
1382
|
export type NpgsqlTypeLoadingOptionsBuilder = NpgsqlTypeLoadingOptionsBuilder$instance;
|
|
1229
1383
|
|
|
1230
1384
|
export interface PostgresException$instance extends NpgsqlException {
|
|
1385
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1386
|
+
|
|
1231
1387
|
readonly ColumnName: string | undefined;
|
|
1232
1388
|
readonly ConstraintName: string | undefined;
|
|
1233
1389
|
readonly DataTypeName: string | undefined;
|
|
@@ -1262,35 +1418,35 @@ export type PostgresException = PostgresException$instance;
|
|
|
1262
1418
|
|
|
1263
1419
|
export interface PostgresNotice$instance {
|
|
1264
1420
|
get ColumnName(): string | undefined;
|
|
1265
|
-
set ColumnName(value: string);
|
|
1421
|
+
set ColumnName(value: string | undefined);
|
|
1266
1422
|
get ConstraintName(): string | undefined;
|
|
1267
|
-
set ConstraintName(value: string);
|
|
1423
|
+
set ConstraintName(value: string | undefined);
|
|
1268
1424
|
get DataTypeName(): string | undefined;
|
|
1269
|
-
set DataTypeName(value: string);
|
|
1425
|
+
set DataTypeName(value: string | undefined);
|
|
1270
1426
|
get Detail(): string | undefined;
|
|
1271
|
-
set Detail(value: string);
|
|
1427
|
+
set Detail(value: string | undefined);
|
|
1272
1428
|
get File(): string | undefined;
|
|
1273
|
-
set File(value: string);
|
|
1429
|
+
set File(value: string | undefined);
|
|
1274
1430
|
get Hint(): string | undefined;
|
|
1275
|
-
set Hint(value: string);
|
|
1431
|
+
set Hint(value: string | undefined);
|
|
1276
1432
|
InternalPosition: int;
|
|
1277
1433
|
get InternalQuery(): string | undefined;
|
|
1278
|
-
set InternalQuery(value: string);
|
|
1434
|
+
set InternalQuery(value: string | undefined);
|
|
1279
1435
|
readonly InvariantSeverity: string;
|
|
1280
1436
|
get Line(): string | undefined;
|
|
1281
|
-
set Line(value: string);
|
|
1437
|
+
set Line(value: string | undefined);
|
|
1282
1438
|
MessageText: string;
|
|
1283
1439
|
Position: int;
|
|
1284
1440
|
get Routine(): string | undefined;
|
|
1285
|
-
set Routine(value: string);
|
|
1441
|
+
set Routine(value: string | undefined);
|
|
1286
1442
|
get SchemaName(): string | undefined;
|
|
1287
|
-
set SchemaName(value: string);
|
|
1443
|
+
set SchemaName(value: string | undefined);
|
|
1288
1444
|
Severity: string;
|
|
1289
1445
|
SqlState: string;
|
|
1290
1446
|
get TableName(): string | undefined;
|
|
1291
|
-
set TableName(value: string);
|
|
1447
|
+
set TableName(value: string | undefined);
|
|
1292
1448
|
get Where(): string | undefined;
|
|
1293
|
-
set Where(value: string);
|
|
1449
|
+
set Where(value: string | undefined);
|
|
1294
1450
|
}
|
|
1295
1451
|
|
|
1296
1452
|
|