@tsonic/efcore-npgsql 10.0.2 → 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/internal/index.d.ts +2 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +3 -0
- package/Microsoft.Extensions.DependencyInjection.d.ts +3 -0
- package/Npgsql/internal/index.d.ts +226 -190
- package/Npgsql.BackendMessages/internal/index.d.ts +0 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/index.d.ts +3 -5
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/index.d.ts +12 -16
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal.d.ts +3 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/index.d.ts +6 -6
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.d.ts +25 -21
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.d.ts +3 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal.d.ts +3 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/index.d.ts +8 -11
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/index.d.ts +46 -41
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/index.d.ts +4 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/index.d.ts +39 -41
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/index.d.ts +7 -7
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/index.d.ts +10 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/index.d.ts +2 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/index.d.ts +69 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.d.ts +91 -91
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/index.d.ts +113 -146
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/index.d.ts +4 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/index.d.ts +48 -34
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/index.d.ts +0 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/index.d.ts +220 -400
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/index.d.ts +20 -22
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/index.d.ts +19 -12
- package/Npgsql.Internal/internal/index.d.ts +35 -46
- package/Npgsql.Internal.Postgres/internal/index.d.ts +6 -0
- package/Npgsql.NameTranslation/internal/index.d.ts +4 -0
- package/Npgsql.PostgresTypes/internal/index.d.ts +9 -18
- package/Npgsql.Replication/internal/index.d.ts +7 -3
- package/Npgsql.Replication.Internal/internal/index.d.ts +1 -2
- package/Npgsql.Replication.PgOutput/internal/index.d.ts +4 -3
- package/Npgsql.Replication.PgOutput.Messages/internal/index.d.ts +3 -29
- package/Npgsql.Replication.TestDecoding/internal/index.d.ts +2 -0
- package/Npgsql.Schema/internal/index.d.ts +7 -7
- package/Npgsql.TypeMapping/internal/index.d.ts +2 -0
- package/NpgsqlTypes/internal/index.d.ts +67 -9
- package/__internal/extensions/index.d.ts +752 -12
- package/package.json +1 -1
|
@@ -131,33 +131,36 @@ 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
|
|
|
137
139
|
|
|
138
140
|
export type INpgsqlNameTranslator = INpgsqlNameTranslator$instance;
|
|
139
141
|
|
|
140
|
-
export
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
protected DbTransaction: DbTransaction | undefined;
|
|
144
|
-
protected CreateDbBatchCommand(): DbBatchCommand;
|
|
145
|
-
protected ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
146
|
-
protected ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<DbDataReader>;
|
|
147
|
-
}
|
|
148
|
-
|
|
142
|
+
export interface NpgsqlBatch$instance extends DbBatch {
|
|
143
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
144
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
149
145
|
|
|
150
|
-
export interface NpgsqlBatch$instance extends NpgsqlBatch$protected, DbBatch {
|
|
151
146
|
readonly BatchCommands: NpgsqlBatchCommandCollection;
|
|
152
147
|
get Connection(): NpgsqlConnection | undefined;
|
|
153
|
-
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);
|
|
154
154
|
EnableErrorBarriers: boolean;
|
|
155
155
|
Timeout: int;
|
|
156
156
|
get Transaction(): NpgsqlTransaction | undefined;
|
|
157
|
-
set Transaction(value: NpgsqlTransaction);
|
|
157
|
+
set Transaction(value: NpgsqlTransaction | undefined);
|
|
158
158
|
Cancel(): void;
|
|
159
159
|
CreateBatchCommand(): NpgsqlBatchCommand;
|
|
160
|
+
CreateDbBatchCommand(): DbBatchCommand;
|
|
160
161
|
Dispose(): void;
|
|
162
|
+
ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
163
|
+
ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<DbDataReader>;
|
|
161
164
|
ExecuteNonQuery(): int;
|
|
162
165
|
ExecuteNonQueryAsync(cancellationToken?: CancellationToken): Task<System_Internal.Int32>;
|
|
163
166
|
ExecuteReader(behavior?: CommandBehavior): NpgsqlDataReader;
|
|
@@ -177,16 +180,12 @@ export const NpgsqlBatch: {
|
|
|
177
180
|
|
|
178
181
|
export type NpgsqlBatch = NpgsqlBatch$instance;
|
|
179
182
|
|
|
180
|
-
export
|
|
181
|
-
protected readonly DbParameterCollection: DbParameterCollection;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
export interface NpgsqlBatchCommand$instance extends NpgsqlBatchCommand$protected, DbBatchCommand {
|
|
183
|
+
export interface NpgsqlBatchCommand$instance extends DbBatchCommand {
|
|
186
184
|
AppendErrorBarrier: Nullable<System_Internal.Boolean>;
|
|
187
185
|
readonly CanCreateParameter: boolean;
|
|
188
186
|
CommandText: string;
|
|
189
187
|
CommandType: CommandType;
|
|
188
|
+
readonly DbParameterCollection: DbParameterCollection;
|
|
190
189
|
OID: uint;
|
|
191
190
|
readonly Parameters: NpgsqlParameterCollection;
|
|
192
191
|
readonly RecordsAffected: int;
|
|
@@ -205,16 +204,15 @@ export const NpgsqlBatchCommand: {
|
|
|
205
204
|
|
|
206
205
|
export type NpgsqlBatchCommand = NpgsqlBatchCommand$instance;
|
|
207
206
|
|
|
208
|
-
export
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
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;
|
|
213
212
|
|
|
214
|
-
export interface NpgsqlBatchCommandCollection$instance extends NpgsqlBatchCommandCollection$protected, DbBatchCommandCollection {
|
|
215
213
|
readonly Count: int;
|
|
216
214
|
readonly IsReadOnly: boolean;
|
|
217
|
-
|
|
215
|
+
[index: number]: NpgsqlBatchCommand;
|
|
218
216
|
Add(item: NpgsqlBatchCommand): void;
|
|
219
217
|
Add(item: DbBatchCommand): void;
|
|
220
218
|
Clear(): void;
|
|
@@ -222,6 +220,7 @@ export interface NpgsqlBatchCommandCollection$instance extends NpgsqlBatchComman
|
|
|
222
220
|
Contains(item: DbBatchCommand): boolean;
|
|
223
221
|
CopyTo(array: NpgsqlBatchCommand[], arrayIndex: int): void;
|
|
224
222
|
CopyTo(array: DbBatchCommand[], arrayIndex: int): void;
|
|
223
|
+
GetBatchCommand(index: int): DbBatchCommand;
|
|
225
224
|
GetEnumerator(): IEnumerator__System_Collections_Generic<DbBatchCommand>;
|
|
226
225
|
IndexOf(item: NpgsqlBatchCommand): int;
|
|
227
226
|
IndexOf(item: DbBatchCommand): int;
|
|
@@ -230,17 +229,21 @@ export interface NpgsqlBatchCommandCollection$instance extends NpgsqlBatchComman
|
|
|
230
229
|
Remove(item: NpgsqlBatchCommand): boolean;
|
|
231
230
|
Remove(item: DbBatchCommand): boolean;
|
|
232
231
|
RemoveAt(index: int): void;
|
|
232
|
+
SetBatchCommand(index: int, batchCommand: DbBatchCommand): void;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
|
|
236
236
|
export const NpgsqlBatchCommandCollection: {
|
|
237
|
-
new(): NpgsqlBatchCommandCollection;
|
|
238
237
|
};
|
|
239
238
|
|
|
240
239
|
|
|
241
240
|
export type NpgsqlBatchCommandCollection = NpgsqlBatchCommandCollection$instance;
|
|
242
241
|
|
|
243
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
|
+
|
|
244
247
|
readonly IsNull: boolean;
|
|
245
248
|
Timeout: TimeSpan;
|
|
246
249
|
Cancel(): void;
|
|
@@ -259,13 +262,16 @@ export interface NpgsqlBinaryExporter$instance {
|
|
|
259
262
|
|
|
260
263
|
|
|
261
264
|
export const NpgsqlBinaryExporter: {
|
|
262
|
-
new(): NpgsqlBinaryExporter;
|
|
263
265
|
};
|
|
264
266
|
|
|
265
267
|
|
|
266
268
|
export type NpgsqlBinaryExporter = NpgsqlBinaryExporter$instance;
|
|
267
269
|
|
|
268
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
|
+
|
|
269
275
|
Timeout: TimeSpan;
|
|
270
276
|
Close(): void;
|
|
271
277
|
CloseAsync(cancellationToken?: CancellationToken): ValueTask;
|
|
@@ -289,42 +295,45 @@ export interface NpgsqlBinaryImporter$instance {
|
|
|
289
295
|
|
|
290
296
|
|
|
291
297
|
export const NpgsqlBinaryImporter: {
|
|
292
|
-
new(): NpgsqlBinaryImporter;
|
|
293
298
|
};
|
|
294
299
|
|
|
295
300
|
|
|
296
301
|
export type NpgsqlBinaryImporter = NpgsqlBinaryImporter$instance;
|
|
297
302
|
|
|
298
|
-
export
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
protected ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
305
|
-
protected ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<DbDataReader>;
|
|
306
|
-
}
|
|
307
|
-
|
|
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;
|
|
308
309
|
|
|
309
|
-
export interface NpgsqlCommand$instance extends NpgsqlCommand$protected, DbCommand {
|
|
310
310
|
AllResultTypesAreUnknown: boolean;
|
|
311
311
|
CommandText: string;
|
|
312
312
|
CommandTimeout: int;
|
|
313
313
|
CommandType: CommandType;
|
|
314
314
|
get Connection(): NpgsqlConnection | undefined;
|
|
315
|
-
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);
|
|
316
321
|
DesignTimeVisible: boolean;
|
|
317
322
|
readonly IsPrepared: boolean;
|
|
318
323
|
readonly Parameters: NpgsqlParameterCollection;
|
|
319
324
|
readonly Statements: IReadOnlyList<NpgsqlBatchCommand>;
|
|
320
325
|
get Transaction(): NpgsqlTransaction | undefined;
|
|
321
|
-
set Transaction(value: NpgsqlTransaction);
|
|
326
|
+
set Transaction(value: NpgsqlTransaction | undefined);
|
|
322
327
|
get UnknownResultTypeList(): boolean[] | undefined;
|
|
323
|
-
set UnknownResultTypeList(value: boolean[]);
|
|
328
|
+
set UnknownResultTypeList(value: boolean[] | undefined);
|
|
324
329
|
UpdatedRowSource: UpdateRowSource;
|
|
325
330
|
Cancel(): void;
|
|
326
331
|
Clone(): NpgsqlCommand;
|
|
332
|
+
CreateDbParameter(): DbParameter;
|
|
327
333
|
CreateParameter(): NpgsqlParameter;
|
|
334
|
+
Dispose(disposing: boolean): void;
|
|
335
|
+
ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
336
|
+
ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<DbDataReader>;
|
|
328
337
|
ExecuteNonQuery(): int;
|
|
329
338
|
ExecuteNonQueryAsync(cancellationToken: CancellationToken): Task<System_Internal.Int32>;
|
|
330
339
|
ExecuteReader(behavior?: CommandBehavior): NpgsqlDataReader;
|
|
@@ -349,25 +358,24 @@ export const NpgsqlCommand: {
|
|
|
349
358
|
|
|
350
359
|
export type NpgsqlCommand = NpgsqlCommand$instance;
|
|
351
360
|
|
|
352
|
-
export
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
protected GetParameterName(parameterName: string): string;
|
|
356
|
-
protected GetParameterPlaceholder(parameterOrdinal: int): string;
|
|
357
|
-
protected SetRowUpdatingHandler(adapter: DbDataAdapter): void;
|
|
358
|
-
}
|
|
359
|
-
|
|
361
|
+
export interface NpgsqlCommandBuilder$instance extends DbCommandBuilder {
|
|
362
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
363
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
360
364
|
|
|
361
|
-
export interface NpgsqlCommandBuilder$instance extends NpgsqlCommandBuilder$protected, DbCommandBuilder {
|
|
362
365
|
QuotePrefix: string;
|
|
363
366
|
QuoteSuffix: string;
|
|
367
|
+
ApplyParameterInfo(p: DbParameter, row: DataRow, statementType: StatementType_Data, whereClause: boolean): void;
|
|
364
368
|
GetDeleteCommand(): NpgsqlCommand;
|
|
365
369
|
GetDeleteCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
366
370
|
GetInsertCommand(): NpgsqlCommand;
|
|
367
371
|
GetInsertCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
372
|
+
GetParameterName(parameterOrdinal: int): string;
|
|
373
|
+
GetParameterName(parameterName: string): string;
|
|
374
|
+
GetParameterPlaceholder(parameterOrdinal: int): string;
|
|
368
375
|
GetUpdateCommand(): NpgsqlCommand;
|
|
369
376
|
GetUpdateCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
370
377
|
QuoteIdentifier(unquotedIdentifier: string): string;
|
|
378
|
+
SetRowUpdatingHandler(adapter: DbDataAdapter): void;
|
|
371
379
|
UnquoteIdentifier(quotedIdentifier: string): string;
|
|
372
380
|
}
|
|
373
381
|
|
|
@@ -381,23 +389,20 @@ export const NpgsqlCommandBuilder: {
|
|
|
381
389
|
|
|
382
390
|
export type NpgsqlCommandBuilder = NpgsqlCommandBuilder$instance;
|
|
383
391
|
|
|
384
|
-
export
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
protected Dispose(disposing: boolean): void;
|
|
391
|
-
}
|
|
392
|
-
|
|
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;
|
|
393
398
|
|
|
394
|
-
export interface NpgsqlConnection$instance extends NpgsqlConnection$protected, DbConnection {
|
|
395
399
|
readonly CanCreateBatch: boolean;
|
|
396
400
|
readonly CommandTimeout: int;
|
|
397
401
|
ConnectionString: string;
|
|
398
402
|
readonly ConnectionTimeout: int;
|
|
399
403
|
readonly Database: string;
|
|
400
404
|
readonly DataSource: string;
|
|
405
|
+
readonly DbProviderFactory: DbProviderFactory;
|
|
401
406
|
FullState: ConnectionState;
|
|
402
407
|
readonly HasIntegerDateTimes: boolean;
|
|
403
408
|
readonly Host: string | undefined;
|
|
@@ -406,22 +411,24 @@ export interface NpgsqlConnection$instance extends NpgsqlConnection$protected, D
|
|
|
406
411
|
readonly PostgreSqlVersion: Version;
|
|
407
412
|
readonly ProcessID: int;
|
|
408
413
|
get ProvideClientCertificatesCallback(): ProvideClientCertificatesCallback | undefined;
|
|
409
|
-
set ProvideClientCertificatesCallback(value: ProvideClientCertificatesCallback);
|
|
414
|
+
set ProvideClientCertificatesCallback(value: ProvideClientCertificatesCallback | undefined);
|
|
410
415
|
get ProvidePasswordCallback(): ProvidePasswordCallback | undefined;
|
|
411
|
-
set ProvidePasswordCallback(value: ProvidePasswordCallback);
|
|
416
|
+
set ProvidePasswordCallback(value: ProvidePasswordCallback | undefined);
|
|
412
417
|
readonly ServerVersion: string;
|
|
413
418
|
get SslClientAuthenticationOptionsCallback(): Action<SslClientAuthenticationOptions> | undefined;
|
|
414
|
-
set SslClientAuthenticationOptionsCallback(value: Action<SslClientAuthenticationOptions>);
|
|
419
|
+
set SslClientAuthenticationOptionsCallback(value: Action<SslClientAuthenticationOptions> | undefined);
|
|
415
420
|
readonly State: ConnectionState;
|
|
416
421
|
readonly Timezone: string;
|
|
417
422
|
readonly TypeMapper: INpgsqlTypeMapper;
|
|
418
423
|
get UserCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
|
|
419
|
-
set UserCertificateValidationCallback(value: RemoteCertificateValidationCallback);
|
|
424
|
+
set UserCertificateValidationCallback(value: RemoteCertificateValidationCallback | undefined);
|
|
420
425
|
readonly UserName: string | undefined;
|
|
421
426
|
BeginBinaryExport(copyToCommand: string): NpgsqlBinaryExporter;
|
|
422
427
|
BeginBinaryExportAsync(copyToCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlBinaryExporter>;
|
|
423
428
|
BeginBinaryImport(copyFromCommand: string): NpgsqlBinaryImporter;
|
|
424
429
|
BeginBinaryImportAsync(copyFromCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlBinaryImporter>;
|
|
430
|
+
BeginDbTransaction(isolationLevel: IsolationLevel): DbTransaction;
|
|
431
|
+
BeginDbTransactionAsync(isolationLevel: IsolationLevel, cancellationToken: CancellationToken): ValueTask<DbTransaction>;
|
|
425
432
|
BeginRawBinaryCopy(copyCommand: string): NpgsqlRawCopyStream;
|
|
426
433
|
BeginRawBinaryCopyAsync(copyCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlRawCopyStream>;
|
|
427
434
|
BeginTextExport(copyToCommand: string): NpgsqlCopyTextReader;
|
|
@@ -439,6 +446,9 @@ export interface NpgsqlConnection$instance extends NpgsqlConnection$protected, D
|
|
|
439
446
|
CloseAsync(): Task;
|
|
440
447
|
CreateBatch(): NpgsqlBatch;
|
|
441
448
|
CreateCommand(): NpgsqlCommand;
|
|
449
|
+
CreateDbBatch(): DbBatch;
|
|
450
|
+
CreateDbCommand(): DbCommand;
|
|
451
|
+
Dispose(disposing: boolean): void;
|
|
442
452
|
DisposeAsync(): ValueTask;
|
|
443
453
|
EnlistTransaction(transaction: Transaction): void;
|
|
444
454
|
GetSchema(): DataTable;
|
|
@@ -473,38 +483,41 @@ export const NpgsqlConnection: {
|
|
|
473
483
|
|
|
474
484
|
export type NpgsqlConnection = NpgsqlConnection$instance;
|
|
475
485
|
|
|
476
|
-
export
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
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;
|
|
480
494
|
|
|
481
|
-
export interface NpgsqlConnectionStringBuilder$instance extends NpgsqlConnectionStringBuilder$protected, DbConnectionStringBuilder {
|
|
482
495
|
get ApplicationName(): string | undefined;
|
|
483
|
-
set ApplicationName(value: string);
|
|
496
|
+
set ApplicationName(value: string | undefined);
|
|
484
497
|
ArrayNullabilityMode: ArrayNullabilityMode;
|
|
485
498
|
AutoPrepareMinUsages: int;
|
|
486
499
|
CancellationTimeout: int;
|
|
487
500
|
ChannelBinding: ChannelBinding;
|
|
488
501
|
CheckCertificateRevocation: boolean;
|
|
489
502
|
get ClientEncoding(): string | undefined;
|
|
490
|
-
set ClientEncoding(value: string);
|
|
503
|
+
set ClientEncoding(value: string | undefined);
|
|
491
504
|
CommandTimeout: int;
|
|
492
505
|
ConnectionIdleLifetime: int;
|
|
493
506
|
ConnectionLifetime: int;
|
|
494
507
|
ConnectionPruningInterval: int;
|
|
495
508
|
get Database(): string | undefined;
|
|
496
|
-
set Database(value: string);
|
|
509
|
+
set Database(value: string | undefined);
|
|
497
510
|
Encoding: string;
|
|
498
511
|
Enlist: boolean;
|
|
499
512
|
GssEncryptionMode: GssEncryptionMode;
|
|
500
513
|
get Host(): string | undefined;
|
|
501
|
-
set Host(value: string);
|
|
514
|
+
set Host(value: string | undefined);
|
|
502
515
|
HostRecheckSeconds: int;
|
|
503
516
|
IncludeErrorDetail: boolean;
|
|
504
517
|
IncludeFailedBatchedCommand: boolean;
|
|
505
518
|
IncludeRealm: boolean;
|
|
506
519
|
InternalCommandTimeout: int;
|
|
507
|
-
|
|
520
|
+
[keyword: string]: unknown;
|
|
508
521
|
KeepAlive: int;
|
|
509
522
|
KerberosServiceName: string;
|
|
510
523
|
readonly Keys: ICollection__System_Collections_Generic<System_Internal.String>;
|
|
@@ -517,43 +530,43 @@ export interface NpgsqlConnectionStringBuilder$instance extends NpgsqlConnection
|
|
|
517
530
|
Multiplexing: boolean;
|
|
518
531
|
NoResetOnClose: boolean;
|
|
519
532
|
get Options(): string | undefined;
|
|
520
|
-
set Options(value: string);
|
|
533
|
+
set Options(value: string | undefined);
|
|
521
534
|
get Passfile(): string | undefined;
|
|
522
|
-
set Passfile(value: string);
|
|
535
|
+
set Passfile(value: string | undefined);
|
|
523
536
|
get Password(): string | undefined;
|
|
524
|
-
set Password(value: string);
|
|
537
|
+
set Password(value: string | undefined);
|
|
525
538
|
PersistSecurityInfo: boolean;
|
|
526
539
|
Pooling: boolean;
|
|
527
540
|
Port: int;
|
|
528
541
|
ReadBufferSize: int;
|
|
529
542
|
get RequireAuth(): string | undefined;
|
|
530
|
-
set RequireAuth(value: string);
|
|
543
|
+
set RequireAuth(value: string | undefined);
|
|
531
544
|
get RootCertificate(): string | undefined;
|
|
532
|
-
set RootCertificate(value: string);
|
|
545
|
+
set RootCertificate(value: string | undefined);
|
|
533
546
|
get SearchPath(): string | undefined;
|
|
534
|
-
set SearchPath(value: string);
|
|
547
|
+
set SearchPath(value: string | undefined);
|
|
535
548
|
ServerCompatibilityMode: ServerCompatibilityMode;
|
|
536
549
|
SocketReceiveBufferSize: int;
|
|
537
550
|
SocketSendBufferSize: int;
|
|
538
551
|
get SslCertificate(): string | undefined;
|
|
539
|
-
set SslCertificate(value: string);
|
|
552
|
+
set SslCertificate(value: string | undefined);
|
|
540
553
|
get SslKey(): string | undefined;
|
|
541
|
-
set SslKey(value: string);
|
|
554
|
+
set SslKey(value: string | undefined);
|
|
542
555
|
SslMode: SslMode;
|
|
543
556
|
SslNegotiation: SslNegotiation;
|
|
544
557
|
get SslPassword(): string | undefined;
|
|
545
|
-
set SslPassword(value: string);
|
|
558
|
+
set SslPassword(value: string | undefined);
|
|
546
559
|
get TargetSessionAttributes(): string | undefined;
|
|
547
|
-
set TargetSessionAttributes(value: string);
|
|
560
|
+
set TargetSessionAttributes(value: string | undefined);
|
|
548
561
|
TcpKeepAlive: boolean;
|
|
549
562
|
TcpKeepAliveInterval: int;
|
|
550
563
|
TcpKeepAliveTime: int;
|
|
551
564
|
Timeout: int;
|
|
552
565
|
get Timezone(): string | undefined;
|
|
553
|
-
set Timezone(value: string);
|
|
566
|
+
set Timezone(value: string | undefined);
|
|
554
567
|
TrustServerCertificate: boolean;
|
|
555
568
|
get Username(): string | undefined;
|
|
556
|
-
set Username(value: string);
|
|
569
|
+
set Username(value: string | undefined);
|
|
557
570
|
readonly Values: ICollection__System_Collections_Generic<unknown | undefined>;
|
|
558
571
|
WriteBufferSize: int;
|
|
559
572
|
WriteCoalescingBufferThresholdBytes: int;
|
|
@@ -565,6 +578,7 @@ export interface NpgsqlConnectionStringBuilder$instance extends NpgsqlConnection
|
|
|
565
578
|
Equals(obj: unknown): boolean;
|
|
566
579
|
GetEnumerator(): IEnumerator__System_Collections_Generic<KeyValuePair<System_Internal.String, unknown>>;
|
|
567
580
|
GetHashCode(): int;
|
|
581
|
+
GetProperties(propertyDescriptors: Hashtable): void;
|
|
568
582
|
Remove(keyword: string): boolean;
|
|
569
583
|
Remove(item: KeyValuePair<System_Internal.String, unknown>): boolean;
|
|
570
584
|
TryGetValue(keyword: string, value: unknown): boolean;
|
|
@@ -581,6 +595,10 @@ export const NpgsqlConnectionStringBuilder: {
|
|
|
581
595
|
export type NpgsqlConnectionStringBuilder = NpgsqlConnectionStringBuilder$instance;
|
|
582
596
|
|
|
583
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
|
+
|
|
584
602
|
Timeout: int;
|
|
585
603
|
Cancel(): void;
|
|
586
604
|
CancelAsync(): Task;
|
|
@@ -589,13 +607,16 @@ export interface NpgsqlCopyTextReader$instance extends StreamReader {
|
|
|
589
607
|
|
|
590
608
|
|
|
591
609
|
export const NpgsqlCopyTextReader: {
|
|
592
|
-
new(): NpgsqlCopyTextReader;
|
|
593
610
|
};
|
|
594
611
|
|
|
595
612
|
|
|
596
613
|
export type NpgsqlCopyTextReader = NpgsqlCopyTextReader$instance;
|
|
597
614
|
|
|
598
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
|
+
|
|
599
620
|
Timeout: int;
|
|
600
621
|
Cancel(): void;
|
|
601
622
|
CancelAsync(): Task;
|
|
@@ -603,29 +624,30 @@ export interface NpgsqlCopyTextWriter$instance extends StreamWriter {
|
|
|
603
624
|
|
|
604
625
|
|
|
605
626
|
export const NpgsqlCopyTextWriter: {
|
|
606
|
-
new(): NpgsqlCopyTextWriter;
|
|
607
627
|
};
|
|
608
628
|
|
|
609
629
|
|
|
610
630
|
export type NpgsqlCopyTextWriter = NpgsqlCopyTextWriter$instance;
|
|
611
631
|
|
|
612
|
-
export
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
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;
|
|
618
638
|
|
|
619
|
-
|
|
620
|
-
export interface NpgsqlDataAdapter$instance extends NpgsqlDataAdapter$protected, DbDataAdapter {
|
|
621
639
|
get DeleteCommand(): NpgsqlCommand | undefined;
|
|
622
|
-
set DeleteCommand(value: NpgsqlCommand);
|
|
640
|
+
set DeleteCommand(value: NpgsqlCommand | undefined);
|
|
623
641
|
get InsertCommand(): NpgsqlCommand | undefined;
|
|
624
|
-
set InsertCommand(value: NpgsqlCommand);
|
|
642
|
+
set InsertCommand(value: NpgsqlCommand | undefined);
|
|
625
643
|
get SelectCommand(): NpgsqlCommand | undefined;
|
|
626
|
-
set SelectCommand(value: NpgsqlCommand);
|
|
644
|
+
set SelectCommand(value: NpgsqlCommand | undefined);
|
|
627
645
|
get UpdateCommand(): NpgsqlCommand | undefined;
|
|
628
|
-
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;
|
|
629
651
|
}
|
|
630
652
|
|
|
631
653
|
|
|
@@ -639,13 +661,14 @@ export const NpgsqlDataAdapter: {
|
|
|
639
661
|
|
|
640
662
|
export type NpgsqlDataAdapter = NpgsqlDataAdapter$instance;
|
|
641
663
|
|
|
642
|
-
export
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
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;
|
|
647
671
|
|
|
648
|
-
export interface NpgsqlDataReader$instance extends NpgsqlDataReader$protected, DbDataReader {
|
|
649
672
|
readonly Depth: int;
|
|
650
673
|
readonly FieldCount: int;
|
|
651
674
|
readonly HasRows: boolean;
|
|
@@ -656,6 +679,7 @@ export interface NpgsqlDataReader$instance extends NpgsqlDataReader$protected, D
|
|
|
656
679
|
readonly Statements: IReadOnlyList<NpgsqlBatchCommand>;
|
|
657
680
|
Close(): void;
|
|
658
681
|
CloseAsync(): Task;
|
|
682
|
+
Dispose(disposing: boolean): void;
|
|
659
683
|
DisposeAsync(): ValueTask;
|
|
660
684
|
get_Item(ordinal: int): unknown;
|
|
661
685
|
get_Item(name: string): unknown;
|
|
@@ -670,6 +694,7 @@ export interface NpgsqlDataReader$instance extends NpgsqlDataReader$protected, D
|
|
|
670
694
|
GetDataTypeName(ordinal: int): string;
|
|
671
695
|
GetDataTypeOID(ordinal: int): uint;
|
|
672
696
|
GetDateTime(ordinal: int): DateTime;
|
|
697
|
+
GetDbDataReader(ordinal: int): DbDataReader;
|
|
673
698
|
GetDecimal(ordinal: int): decimal;
|
|
674
699
|
GetDouble(ordinal: int): double;
|
|
675
700
|
GetEnumerator(): IEnumerator;
|
|
@@ -704,34 +729,32 @@ export interface NpgsqlDataReader$instance extends NpgsqlDataReader$protected, D
|
|
|
704
729
|
|
|
705
730
|
|
|
706
731
|
export const NpgsqlDataReader: {
|
|
707
|
-
new(): NpgsqlDataReader;
|
|
708
732
|
};
|
|
709
733
|
|
|
710
734
|
|
|
711
735
|
export type NpgsqlDataReader = NpgsqlDataReader$instance;
|
|
712
736
|
|
|
713
|
-
export
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
protected CreateDbConnection(): DbConnection;
|
|
717
|
-
protected Dispose(disposing: boolean): void;
|
|
718
|
-
protected DisposeAsyncBase(): ValueTask;
|
|
719
|
-
protected DisposeAsyncCore(): ValueTask;
|
|
720
|
-
protected DisposeBase(): void;
|
|
721
|
-
protected OpenDbConnection(): DbConnection;
|
|
722
|
-
protected OpenDbConnectionAsync(cancellationToken?: CancellationToken): ValueTask<DbConnection>;
|
|
723
|
-
}
|
|
724
|
-
|
|
737
|
+
export interface NpgsqlDataSource$instance extends DbDataSource {
|
|
738
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
739
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
725
740
|
|
|
726
|
-
export interface NpgsqlDataSource$instance extends NpgsqlDataSource$protected, DbDataSource {
|
|
727
741
|
readonly ConnectionString: string;
|
|
728
742
|
Password: string;
|
|
729
743
|
Clear(): void;
|
|
730
744
|
CreateBatch(): NpgsqlBatch;
|
|
731
745
|
CreateCommand(commandText?: string): NpgsqlCommand;
|
|
732
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;
|
|
733
754
|
OpenConnection(): NpgsqlConnection;
|
|
734
755
|
OpenConnectionAsync(cancellationToken?: CancellationToken): ValueTask<NpgsqlConnection>;
|
|
756
|
+
OpenDbConnection(): DbConnection;
|
|
757
|
+
OpenDbConnectionAsync(cancellationToken?: CancellationToken): ValueTask<DbConnection>;
|
|
735
758
|
ReloadTypes(): void;
|
|
736
759
|
ReloadTypesAsync(cancellationToken?: CancellationToken): Task;
|
|
737
760
|
}
|
|
@@ -746,10 +769,13 @@ export const NpgsqlDataSource: {
|
|
|
746
769
|
export type NpgsqlDataSource = NpgsqlDataSource$instance;
|
|
747
770
|
|
|
748
771
|
export interface NpgsqlDataSourceBuilder$instance {
|
|
772
|
+
readonly __tsonic_iface_Npgsql_TypeMapping_INpgsqlTypeMapper: never;
|
|
773
|
+
|
|
749
774
|
readonly ConnectionString: string;
|
|
750
775
|
readonly ConnectionStringBuilder: NpgsqlConnectionStringBuilder;
|
|
751
776
|
DefaultNameTranslator: INpgsqlNameTranslator;
|
|
752
|
-
Name: string;
|
|
777
|
+
get Name(): string | undefined;
|
|
778
|
+
set Name(value: string | undefined);
|
|
753
779
|
AddTypeInfoResolverFactory(factory: PgTypeInfoResolverFactory): void;
|
|
754
780
|
Build(): NpgsqlDataSource;
|
|
755
781
|
BuildMultiHost(): NpgsqlMultiHostDataSource;
|
|
@@ -797,14 +823,12 @@ export interface __NpgsqlDataSourceBuilder$views {
|
|
|
797
823
|
export type NpgsqlDataSourceBuilder = NpgsqlDataSourceBuilder$instance & __NpgsqlDataSourceBuilder$views;
|
|
798
824
|
|
|
799
825
|
|
|
800
|
-
export
|
|
801
|
-
|
|
802
|
-
}
|
|
803
|
-
|
|
826
|
+
export interface NpgsqlException$instance extends DbException {
|
|
827
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
804
828
|
|
|
805
|
-
export interface NpgsqlException$instance extends NpgsqlException$protected, DbException {
|
|
806
829
|
get BatchCommand(): NpgsqlBatchCommand | undefined;
|
|
807
|
-
set BatchCommand(value: NpgsqlBatchCommand);
|
|
830
|
+
set BatchCommand(value: NpgsqlBatchCommand | undefined);
|
|
831
|
+
readonly DbBatchCommand: DbBatchCommand | undefined;
|
|
808
832
|
readonly IsTransient: boolean;
|
|
809
833
|
}
|
|
810
834
|
|
|
@@ -813,13 +837,14 @@ export const NpgsqlException: {
|
|
|
813
837
|
new(): NpgsqlException;
|
|
814
838
|
new(message: string, innerException: Exception): NpgsqlException;
|
|
815
839
|
new(message: string): NpgsqlException;
|
|
816
|
-
new(info: SerializationInfo, context: StreamingContext): NpgsqlException;
|
|
817
840
|
};
|
|
818
841
|
|
|
819
842
|
|
|
820
843
|
export type NpgsqlException = NpgsqlException$instance;
|
|
821
844
|
|
|
822
845
|
export interface NpgsqlFactory$instance extends DbProviderFactory {
|
|
846
|
+
readonly __tsonic_iface_System_IServiceProvider: never;
|
|
847
|
+
|
|
823
848
|
readonly CanCreateBatch: boolean;
|
|
824
849
|
readonly CanCreateCommandBuilder: boolean;
|
|
825
850
|
readonly CanCreateDataAdapter: boolean;
|
|
@@ -837,7 +862,6 @@ export interface NpgsqlFactory$instance extends DbProviderFactory {
|
|
|
837
862
|
|
|
838
863
|
|
|
839
864
|
export const NpgsqlFactory: {
|
|
840
|
-
new(): NpgsqlFactory;
|
|
841
865
|
readonly Instance: NpgsqlFactory;
|
|
842
866
|
};
|
|
843
867
|
|
|
@@ -869,12 +893,10 @@ export const NpgsqlLargeObjectManager: {
|
|
|
869
893
|
|
|
870
894
|
export type NpgsqlLargeObjectManager = NpgsqlLargeObjectManager$instance;
|
|
871
895
|
|
|
872
|
-
export
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
896
|
+
export interface NpgsqlLargeObjectStream$instance extends Stream {
|
|
897
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
898
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
876
899
|
|
|
877
|
-
export interface NpgsqlLargeObjectStream$instance extends NpgsqlLargeObjectStream$protected, Stream {
|
|
878
900
|
readonly CanRead: boolean;
|
|
879
901
|
readonly CanSeek: boolean;
|
|
880
902
|
readonly CanTimeout: boolean;
|
|
@@ -883,6 +905,7 @@ export interface NpgsqlLargeObjectStream$instance extends NpgsqlLargeObjectStrea
|
|
|
883
905
|
readonly Length: long;
|
|
884
906
|
Position: long;
|
|
885
907
|
Close(): void;
|
|
908
|
+
Dispose(disposing: boolean): void;
|
|
886
909
|
Flush(): void;
|
|
887
910
|
GetLengthAsync(cancellationToken?: CancellationToken): Task<System_Internal.Int64>;
|
|
888
911
|
Read(buffer: byte[], offset: int, count: int): int;
|
|
@@ -897,7 +920,6 @@ export interface NpgsqlLargeObjectStream$instance extends NpgsqlLargeObjectStrea
|
|
|
897
920
|
|
|
898
921
|
|
|
899
922
|
export const NpgsqlLargeObjectStream: {
|
|
900
|
-
new(): NpgsqlLargeObjectStream;
|
|
901
923
|
};
|
|
902
924
|
|
|
903
925
|
|
|
@@ -908,7 +930,6 @@ export interface NpgsqlLoggingConfiguration$instance {
|
|
|
908
930
|
|
|
909
931
|
|
|
910
932
|
export const NpgsqlLoggingConfiguration: {
|
|
911
|
-
new(): NpgsqlLoggingConfiguration;
|
|
912
933
|
InitializeLogging(loggerFactory: ILoggerFactory, parameterLoggingEnabled?: boolean): void;
|
|
913
934
|
};
|
|
914
935
|
|
|
@@ -927,6 +948,9 @@ export const NpgsqlMetricsOptions: {
|
|
|
927
948
|
export type NpgsqlMetricsOptions = NpgsqlMetricsOptions$instance;
|
|
928
949
|
|
|
929
950
|
export interface NpgsqlMultiHostDataSource$instance extends NpgsqlDataSource {
|
|
951
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
952
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
953
|
+
|
|
930
954
|
Clear(): void;
|
|
931
955
|
ClearDatabaseStates(): void;
|
|
932
956
|
CreateConnection(targetSessionAttributes: TargetSessionAttributes): NpgsqlConnection;
|
|
@@ -940,25 +964,25 @@ export interface NpgsqlMultiHostDataSource$instance extends NpgsqlDataSource {
|
|
|
940
964
|
|
|
941
965
|
|
|
942
966
|
export const NpgsqlMultiHostDataSource: {
|
|
943
|
-
new(): NpgsqlMultiHostDataSource;
|
|
944
967
|
};
|
|
945
968
|
|
|
946
969
|
|
|
947
970
|
export type NpgsqlMultiHostDataSource = NpgsqlMultiHostDataSource$instance;
|
|
948
971
|
|
|
949
|
-
export
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
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;
|
|
954
978
|
|
|
955
|
-
export interface NpgsqlNestedDataReader$instance extends NpgsqlNestedDataReader$protected, DbDataReader {
|
|
956
979
|
readonly Depth: int;
|
|
957
980
|
readonly FieldCount: int;
|
|
958
981
|
readonly HasRows: boolean;
|
|
959
982
|
readonly IsClosed: boolean;
|
|
960
983
|
readonly RecordsAffected: int;
|
|
961
984
|
Close(): void;
|
|
985
|
+
Dispose(disposing: boolean): void;
|
|
962
986
|
get_Item(ordinal: int): unknown;
|
|
963
987
|
get_Item(name: string): unknown;
|
|
964
988
|
GetBoolean(ordinal: int): boolean;
|
|
@@ -969,6 +993,7 @@ export interface NpgsqlNestedDataReader$instance extends NpgsqlNestedDataReader$
|
|
|
969
993
|
GetData(ordinal: int): NpgsqlNestedDataReader;
|
|
970
994
|
GetDataTypeName(ordinal: int): string;
|
|
971
995
|
GetDateTime(ordinal: int): DateTime;
|
|
996
|
+
GetDbDataReader(ordinal: int): DbDataReader;
|
|
972
997
|
GetDecimal(ordinal: int): decimal;
|
|
973
998
|
GetDouble(ordinal: int): double;
|
|
974
999
|
GetEnumerator(): IEnumerator;
|
|
@@ -991,7 +1016,6 @@ export interface NpgsqlNestedDataReader$instance extends NpgsqlNestedDataReader$
|
|
|
991
1016
|
|
|
992
1017
|
|
|
993
1018
|
export const NpgsqlNestedDataReader: {
|
|
994
|
-
new(): NpgsqlNestedDataReader;
|
|
995
1019
|
};
|
|
996
1020
|
|
|
997
1021
|
|
|
@@ -1003,7 +1027,6 @@ export interface NpgsqlNoticeEventArgs$instance extends EventArgs {
|
|
|
1003
1027
|
|
|
1004
1028
|
|
|
1005
1029
|
export const NpgsqlNoticeEventArgs: {
|
|
1006
|
-
new(): NpgsqlNoticeEventArgs;
|
|
1007
1030
|
};
|
|
1008
1031
|
|
|
1009
1032
|
|
|
@@ -1017,13 +1040,14 @@ export interface NpgsqlNotificationEventArgs$instance extends EventArgs {
|
|
|
1017
1040
|
|
|
1018
1041
|
|
|
1019
1042
|
export const NpgsqlNotificationEventArgs: {
|
|
1020
|
-
new(): NpgsqlNotificationEventArgs;
|
|
1021
1043
|
};
|
|
1022
1044
|
|
|
1023
1045
|
|
|
1024
1046
|
export type NpgsqlNotificationEventArgs = NpgsqlNotificationEventArgs$instance;
|
|
1025
1047
|
|
|
1026
1048
|
export interface NpgsqlOperationInProgressException$instance extends NpgsqlException {
|
|
1049
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1050
|
+
|
|
1027
1051
|
readonly CommandInProgress: NpgsqlCommand | undefined;
|
|
1028
1052
|
}
|
|
1029
1053
|
|
|
@@ -1036,19 +1060,23 @@ export const NpgsqlOperationInProgressException: {
|
|
|
1036
1060
|
export type NpgsqlOperationInProgressException = NpgsqlOperationInProgressException$instance;
|
|
1037
1061
|
|
|
1038
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
|
+
|
|
1039
1067
|
get Collection(): NpgsqlParameterCollection | undefined;
|
|
1040
|
-
set Collection(value: NpgsqlParameterCollection);
|
|
1068
|
+
set Collection(value: NpgsqlParameterCollection | undefined);
|
|
1041
1069
|
get DataTypeName(): string | undefined;
|
|
1042
|
-
set DataTypeName(value: string);
|
|
1070
|
+
set DataTypeName(value: string | undefined);
|
|
1043
1071
|
DbType: DbType;
|
|
1044
1072
|
Direction: ParameterDirection;
|
|
1045
1073
|
IsNullable: boolean;
|
|
1046
1074
|
NpgsqlDbType: NpgsqlDbType;
|
|
1047
1075
|
get NpgsqlValue(): unknown | undefined;
|
|
1048
|
-
set NpgsqlValue(value: unknown);
|
|
1076
|
+
set NpgsqlValue(value: unknown | undefined);
|
|
1049
1077
|
ParameterName: string;
|
|
1050
1078
|
get PostgresType(): PostgresType | undefined;
|
|
1051
|
-
set PostgresType(value: PostgresType);
|
|
1079
|
+
set PostgresType(value: PostgresType | undefined);
|
|
1052
1080
|
Precision: byte;
|
|
1053
1081
|
Scale: byte;
|
|
1054
1082
|
Size: int;
|
|
@@ -1056,7 +1084,7 @@ export interface NpgsqlParameter$instance extends DbParameter {
|
|
|
1056
1084
|
SourceColumnNullMapping: boolean;
|
|
1057
1085
|
SourceVersion: DataRowVersion;
|
|
1058
1086
|
get Value(): unknown | undefined;
|
|
1059
|
-
set Value(value: unknown);
|
|
1087
|
+
set Value(value: unknown | undefined);
|
|
1060
1088
|
Clone(): NpgsqlParameter;
|
|
1061
1089
|
ResetDbType(): void;
|
|
1062
1090
|
}
|
|
@@ -1079,9 +1107,13 @@ export const NpgsqlParameter: {
|
|
|
1079
1107
|
export type NpgsqlParameter = NpgsqlParameter$instance;
|
|
1080
1108
|
|
|
1081
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
|
+
|
|
1082
1114
|
TypedValue: T | undefined;
|
|
1083
1115
|
get Value(): unknown | undefined;
|
|
1084
|
-
set Value(value: unknown);
|
|
1116
|
+
set Value(value: unknown | undefined);
|
|
1085
1117
|
}
|
|
1086
1118
|
|
|
1087
1119
|
|
|
@@ -1095,15 +1127,15 @@ export const NpgsqlParameter_1: {
|
|
|
1095
1127
|
|
|
1096
1128
|
export type NpgsqlParameter_1<T> = NpgsqlParameter_1$instance<T>;
|
|
1097
1129
|
|
|
1098
|
-
export
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
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;
|
|
1105
1138
|
|
|
1106
|
-
export interface NpgsqlParameterCollection$instance extends NpgsqlParameterCollection$protected, DbParameterCollection {
|
|
1107
1139
|
readonly Count: int;
|
|
1108
1140
|
readonly IsFixedSize: boolean;
|
|
1109
1141
|
readonly IsReadOnly: boolean;
|
|
@@ -1130,6 +1162,8 @@ export interface NpgsqlParameterCollection$instance extends NpgsqlParameterColle
|
|
|
1130
1162
|
get_Item(parameterName: string): NpgsqlParameter;
|
|
1131
1163
|
get_Item(index: int): NpgsqlParameter;
|
|
1132
1164
|
GetEnumerator(): IEnumerator;
|
|
1165
|
+
GetParameter(parameterName: string): DbParameter;
|
|
1166
|
+
GetParameter(index: int): DbParameter;
|
|
1133
1167
|
IndexOf(parameterName: string): int;
|
|
1134
1168
|
IndexOf(value: unknown): int;
|
|
1135
1169
|
IndexOf(item: NpgsqlParameter): int;
|
|
@@ -1142,24 +1176,24 @@ export interface NpgsqlParameterCollection$instance extends NpgsqlParameterColle
|
|
|
1142
1176
|
RemoveAt(index: int): void;
|
|
1143
1177
|
set_Item(parameterName: string, value: NpgsqlParameter): void;
|
|
1144
1178
|
set_Item(index: int, value: NpgsqlParameter): void;
|
|
1179
|
+
SetParameter(parameterName: string, value: DbParameter): void;
|
|
1180
|
+
SetParameter(index: int, value: DbParameter): void;
|
|
1145
1181
|
ToArray(): NpgsqlParameter[];
|
|
1146
1182
|
TryGetValue(parameterName: string, parameter: NpgsqlParameter): boolean;
|
|
1147
1183
|
}
|
|
1148
1184
|
|
|
1149
1185
|
|
|
1150
1186
|
export const NpgsqlParameterCollection: {
|
|
1151
|
-
new(): NpgsqlParameterCollection;
|
|
1152
1187
|
};
|
|
1153
1188
|
|
|
1154
1189
|
|
|
1155
1190
|
export type NpgsqlParameterCollection = NpgsqlParameterCollection$instance;
|
|
1156
1191
|
|
|
1157
|
-
export
|
|
1158
|
-
|
|
1159
|
-
|
|
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;
|
|
1160
1196
|
|
|
1161
|
-
|
|
1162
|
-
export interface NpgsqlRawCopyStream$instance extends NpgsqlRawCopyStream$protected, Stream {
|
|
1163
1197
|
readonly CanRead: boolean;
|
|
1164
1198
|
readonly CanSeek: boolean;
|
|
1165
1199
|
readonly CanTimeout: boolean;
|
|
@@ -1170,6 +1204,7 @@ export interface NpgsqlRawCopyStream$instance extends NpgsqlRawCopyStream$protec
|
|
|
1170
1204
|
WriteTimeout: int;
|
|
1171
1205
|
Cancel(): void;
|
|
1172
1206
|
CancelAsync(): Task;
|
|
1207
|
+
Dispose(disposing: boolean): void;
|
|
1173
1208
|
DisposeAsync(): ValueTask;
|
|
1174
1209
|
Flush(): void;
|
|
1175
1210
|
FlushAsync(cancellationToken: CancellationToken): Task;
|
|
@@ -1187,7 +1222,6 @@ export interface NpgsqlRawCopyStream$instance extends NpgsqlRawCopyStream$protec
|
|
|
1187
1222
|
|
|
1188
1223
|
|
|
1189
1224
|
export const NpgsqlRawCopyStream: {
|
|
1190
|
-
new(): NpgsqlRawCopyStream;
|
|
1191
1225
|
};
|
|
1192
1226
|
|
|
1193
1227
|
|
|
@@ -1216,10 +1250,13 @@ export const NpgsqlRowUpdatingEventArgs: {
|
|
|
1216
1250
|
export type NpgsqlRowUpdatingEventArgs = NpgsqlRowUpdatingEventArgs$instance;
|
|
1217
1251
|
|
|
1218
1252
|
export interface NpgsqlSlimDataSourceBuilder$instance {
|
|
1253
|
+
readonly __tsonic_iface_Npgsql_TypeMapping_INpgsqlTypeMapper: never;
|
|
1254
|
+
|
|
1219
1255
|
readonly ConnectionString: string;
|
|
1220
1256
|
readonly ConnectionStringBuilder: NpgsqlConnectionStringBuilder;
|
|
1221
1257
|
DefaultNameTranslator: INpgsqlNameTranslator;
|
|
1222
|
-
Name: string;
|
|
1258
|
+
get Name(): string | undefined;
|
|
1259
|
+
set Name(value: string | undefined);
|
|
1223
1260
|
AddTypeInfoResolverFactory(factory: PgTypeInfoResolverFactory): void;
|
|
1224
1261
|
Build(): NpgsqlDataSource;
|
|
1225
1262
|
BuildMultiHost(): NpgsqlMultiHostDataSource;
|
|
@@ -1296,24 +1333,23 @@ export interface NpgsqlTracingOptionsBuilder$instance {
|
|
|
1296
1333
|
|
|
1297
1334
|
|
|
1298
1335
|
export const NpgsqlTracingOptionsBuilder: {
|
|
1299
|
-
new(): NpgsqlTracingOptionsBuilder;
|
|
1300
1336
|
};
|
|
1301
1337
|
|
|
1302
1338
|
|
|
1303
1339
|
export type NpgsqlTracingOptionsBuilder = NpgsqlTracingOptionsBuilder$instance;
|
|
1304
1340
|
|
|
1305
|
-
export
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
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;
|
|
1309
1345
|
|
|
1310
|
-
|
|
1311
|
-
export interface NpgsqlTransaction$instance extends NpgsqlTransaction$protected, DbTransaction {
|
|
1312
1346
|
readonly Connection: NpgsqlConnection | undefined;
|
|
1347
|
+
readonly DbConnection: DbConnection | undefined;
|
|
1313
1348
|
readonly IsolationLevel: IsolationLevel;
|
|
1314
1349
|
readonly SupportsSavepoints: boolean;
|
|
1315
1350
|
Commit(): void;
|
|
1316
1351
|
CommitAsync(cancellationToken?: CancellationToken): Task;
|
|
1352
|
+
Dispose(disposing: boolean): void;
|
|
1317
1353
|
DisposeAsync(): ValueTask;
|
|
1318
1354
|
Release(name: string): void;
|
|
1319
1355
|
ReleaseAsync(name: string, cancellationToken?: CancellationToken): Task;
|
|
@@ -1327,7 +1363,6 @@ export interface NpgsqlTransaction$instance extends NpgsqlTransaction$protected,
|
|
|
1327
1363
|
|
|
1328
1364
|
|
|
1329
1365
|
export const NpgsqlTransaction: {
|
|
1330
|
-
new(): NpgsqlTransaction;
|
|
1331
1366
|
};
|
|
1332
1367
|
|
|
1333
1368
|
|
|
@@ -1341,13 +1376,14 @@ export interface NpgsqlTypeLoadingOptionsBuilder$instance {
|
|
|
1341
1376
|
|
|
1342
1377
|
|
|
1343
1378
|
export const NpgsqlTypeLoadingOptionsBuilder: {
|
|
1344
|
-
new(): NpgsqlTypeLoadingOptionsBuilder;
|
|
1345
1379
|
};
|
|
1346
1380
|
|
|
1347
1381
|
|
|
1348
1382
|
export type NpgsqlTypeLoadingOptionsBuilder = NpgsqlTypeLoadingOptionsBuilder$instance;
|
|
1349
1383
|
|
|
1350
1384
|
export interface PostgresException$instance extends NpgsqlException {
|
|
1385
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1386
|
+
|
|
1351
1387
|
readonly ColumnName: string | undefined;
|
|
1352
1388
|
readonly ConstraintName: string | undefined;
|
|
1353
1389
|
readonly DataTypeName: string | undefined;
|
|
@@ -1382,35 +1418,35 @@ export type PostgresException = PostgresException$instance;
|
|
|
1382
1418
|
|
|
1383
1419
|
export interface PostgresNotice$instance {
|
|
1384
1420
|
get ColumnName(): string | undefined;
|
|
1385
|
-
set ColumnName(value: string);
|
|
1421
|
+
set ColumnName(value: string | undefined);
|
|
1386
1422
|
get ConstraintName(): string | undefined;
|
|
1387
|
-
set ConstraintName(value: string);
|
|
1423
|
+
set ConstraintName(value: string | undefined);
|
|
1388
1424
|
get DataTypeName(): string | undefined;
|
|
1389
|
-
set DataTypeName(value: string);
|
|
1425
|
+
set DataTypeName(value: string | undefined);
|
|
1390
1426
|
get Detail(): string | undefined;
|
|
1391
|
-
set Detail(value: string);
|
|
1427
|
+
set Detail(value: string | undefined);
|
|
1392
1428
|
get File(): string | undefined;
|
|
1393
|
-
set File(value: string);
|
|
1429
|
+
set File(value: string | undefined);
|
|
1394
1430
|
get Hint(): string | undefined;
|
|
1395
|
-
set Hint(value: string);
|
|
1431
|
+
set Hint(value: string | undefined);
|
|
1396
1432
|
InternalPosition: int;
|
|
1397
1433
|
get InternalQuery(): string | undefined;
|
|
1398
|
-
set InternalQuery(value: string);
|
|
1434
|
+
set InternalQuery(value: string | undefined);
|
|
1399
1435
|
readonly InvariantSeverity: string;
|
|
1400
1436
|
get Line(): string | undefined;
|
|
1401
|
-
set Line(value: string);
|
|
1437
|
+
set Line(value: string | undefined);
|
|
1402
1438
|
MessageText: string;
|
|
1403
1439
|
Position: int;
|
|
1404
1440
|
get Routine(): string | undefined;
|
|
1405
|
-
set Routine(value: string);
|
|
1441
|
+
set Routine(value: string | undefined);
|
|
1406
1442
|
get SchemaName(): string | undefined;
|
|
1407
|
-
set SchemaName(value: string);
|
|
1443
|
+
set SchemaName(value: string | undefined);
|
|
1408
1444
|
Severity: string;
|
|
1409
1445
|
SqlState: string;
|
|
1410
1446
|
get TableName(): string | undefined;
|
|
1411
|
-
set TableName(value: string);
|
|
1447
|
+
set TableName(value: string | undefined);
|
|
1412
1448
|
get Where(): string | undefined;
|
|
1413
|
-
set Where(value: string);
|
|
1449
|
+
set Where(value: string | undefined);
|
|
1414
1450
|
}
|
|
1415
1451
|
|
|
1416
1452
|
|