@tsonic/efcore-npgsql 10.0.2 → 10.0.7
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 +284 -280
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +3 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +5 -5
- package/Microsoft.Extensions.DependencyInjection.d.ts +3 -0
- package/Npgsql/internal/index.d.ts +402 -290
- package/Npgsql.BackendMessages/internal/index.d.ts +4 -3
- package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/index.d.ts +13 -13
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/index.d.ts +33 -31
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/internal/index.d.ts +4 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/internal/index.d.ts +4 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal.d.ts +3 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/index.d.ts +20 -16
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.d.ts +51 -39
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.d.ts +38 -33
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal.d.ts +3 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/index.d.ts +32 -25
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/index.d.ts +73 -54
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/index.d.ts +21 -13
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/index.d.ts +47 -47
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/index.d.ts +29 -25
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/index.d.ts +21 -9
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/index.d.ts +16 -12
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/index.d.ts +179 -46
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/internal/index.d.ts +2 -2
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.d.ts +149 -117
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/index.d.ts +155 -148
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/index.d.ts +17 -9
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/index.d.ts +79 -51
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/index.d.ts +16 -13
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/index.d.ts +342 -465
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/internal/index.d.ts +6 -3
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/index.d.ts +40 -32
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/internal/index.d.ts +11 -7
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/index.d.ts +39 -26
- package/Npgsql.Internal/internal/index.d.ts +141 -104
- package/Npgsql.Internal.Postgres/internal/index.d.ts +16 -2
- package/Npgsql.NameTranslation/internal/index.d.ts +13 -9
- package/Npgsql.PostgresTypes/internal/index.d.ts +34 -23
- package/Npgsql.Replication/internal/index.d.ts +49 -25
- package/Npgsql.Replication.Internal/internal/index.d.ts +10 -9
- package/Npgsql.Replication.PgOutput/internal/index.d.ts +31 -22
- package/Npgsql.Replication.PgOutput.Messages/internal/index.d.ts +74 -36
- package/Npgsql.Replication.TestDecoding/internal/index.d.ts +18 -10
- package/Npgsql.Schema/internal/index.d.ts +26 -24
- package/Npgsql.TypeMapping/internal/index.d.ts +7 -3
- package/Npgsql.Util/internal/index.d.ts +4 -2
- package/NpgsqlTypes/internal/index.d.ts +145 -33
- package/__internal/extensions/index.d.ts +867 -89
- package/package.json +5 -5
|
@@ -15,31 +15,31 @@ import type { NpgsqlDbColumn } from "../../Npgsql.Schema/internal/index.js";
|
|
|
15
15
|
import * as Npgsql_TypeMapping_Internal from "../../Npgsql.TypeMapping/internal/index.js";
|
|
16
16
|
import type { INpgsqlTypeMapper } from "../../Npgsql.TypeMapping/internal/index.js";
|
|
17
17
|
import type { NpgsqlDbType } from "../../NpgsqlTypes/internal/index.js";
|
|
18
|
-
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
19
|
-
import type {
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import type {
|
|
23
|
-
import * as System_ComponentModel_Internal from "@tsonic/dotnet/System.ComponentModel.js";
|
|
24
|
-
import type { IComponent, ICustomTypeDescriptor } from "@tsonic/dotnet/System.ComponentModel.js";
|
|
25
|
-
import * as System_Data_Common_Internal from "@tsonic/dotnet/System.Data.Common.js";
|
|
26
|
-
import type { DataTableMapping, DbBatch, DbBatchCommand, DbBatchCommandCollection, DbColumn, DbCommand, DbCommandBuilder, DbConnection, DbConnectionStringBuilder, DbDataAdapter, DbDataReader, DbDataSource, DbException, DbParameter, DbParameterCollection, DbProviderFactory, DbTransaction, IDbColumnSchemaGenerator, RowUpdatedEventArgs, RowUpdatingEventArgs } from "@tsonic/dotnet/System.Data.Common.js";
|
|
27
|
-
import * as System_Data_Internal from "@tsonic/dotnet/System.Data.js";
|
|
28
|
-
import type { CommandBehavior, CommandType, ConnectionState, DataRow, DataRowVersion, DataTable, DbType, IDataAdapter, IDataParameter, IDataParameterCollection, IDataReader, IDataRecord, IDbCommand, IDbConnection, IDbDataAdapter, IDbDataParameter, IDbTransaction, IsolationLevel, ParameterDirection, StatementType as StatementType_Data, UpdateRowSource } from "@tsonic/dotnet/System.Data.js";
|
|
29
|
-
import type { Activity } from "@tsonic/dotnet/System.Diagnostics.js";
|
|
30
|
-
import * as System_IO_Internal from "@tsonic/dotnet/System.IO.js";
|
|
31
|
-
import type { SeekOrigin, Stream, StreamReader, StreamWriter, TextReader } from "@tsonic/dotnet/System.IO.js";
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import type {
|
|
35
|
-
import
|
|
36
|
-
import type {
|
|
37
|
-
import type {
|
|
38
|
-
import type {
|
|
39
|
-
import type {
|
|
40
|
-
import
|
|
41
|
-
import type {
|
|
42
|
-
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
18
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
19
|
+
import type { ICollection_1, IDictionary_2, IEnumerable_1, IEnumerator_1, IList_1, IReadOnlyDictionary_2, IReadOnlyList_1, KeyValuePair_2 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
20
|
+
import type { ReadOnlyCollection_1 } from "@tsonic/dotnet/System.Collections.ObjectModel/internal/index.js";
|
|
21
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
22
|
+
import type { Hashtable, ICollection, IDictionary, IEnumerable, IEnumerator, IList } from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
23
|
+
import * as System_ComponentModel_Internal from "@tsonic/dotnet/System.ComponentModel/internal/index.js";
|
|
24
|
+
import type { IComponent, ICustomTypeDescriptor } from "@tsonic/dotnet/System.ComponentModel/internal/index.js";
|
|
25
|
+
import * as System_Data_Common_Internal from "@tsonic/dotnet/System.Data.Common/internal/index.js";
|
|
26
|
+
import type { DataTableMapping, DbBatch, DbBatchCommand, DbBatchCommandCollection, DbColumn, DbCommand, DbCommandBuilder, DbConnection, DbConnectionStringBuilder, DbDataAdapter, DbDataReader, DbDataSource, DbException, DbParameter, DbParameterCollection, DbProviderFactory, DbTransaction, IDbColumnSchemaGenerator, RowUpdatedEventArgs, RowUpdatingEventArgs } from "@tsonic/dotnet/System.Data.Common/internal/index.js";
|
|
27
|
+
import * as System_Data_Internal from "@tsonic/dotnet/System.Data/internal/index.js";
|
|
28
|
+
import type { CommandBehavior, CommandType, ConnectionState, DataRow, DataRowVersion, DataTable, DbType, IDataAdapter, IDataParameter, IDataParameterCollection, IDataReader, IDataRecord, IDbCommand, IDbConnection, IDbDataAdapter, IDbDataParameter, IDbTransaction, IsolationLevel, ParameterDirection, StatementType as StatementType_Data, UpdateRowSource } from "@tsonic/dotnet/System.Data/internal/index.js";
|
|
29
|
+
import type { Activity } from "@tsonic/dotnet/System.Diagnostics/internal/index.js";
|
|
30
|
+
import * as System_IO_Internal from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
31
|
+
import type { SeekOrigin, Stream, StreamReader, StreamWriter, TextReader } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
32
|
+
import type { NegotiateAuthenticationClientOptions, RemoteCertificateValidationCallback, SslClientAuthenticationOptions } from "@tsonic/dotnet/System.Net.Security/internal/index.js";
|
|
33
|
+
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
34
|
+
import type { ISerializable, SerializationInfo, StreamingContext } from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
35
|
+
import type { X509Certificate, X509Certificate2, X509Certificate2Collection, X509CertificateCollection } from "@tsonic/dotnet/System.Security.Cryptography.X509Certificates/internal/index.js";
|
|
36
|
+
import type { JsonSerializerOptions } from "@tsonic/dotnet/System.Text.Json/internal/index.js";
|
|
37
|
+
import type { Task, Task_1, ValueTask, ValueTask_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
38
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
39
|
+
import type { Transaction } from "@tsonic/dotnet/System.Transactions/internal/index.js";
|
|
40
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
41
|
+
import type { Action_1, Action_2, Array as ClrArray, AsyncCallback, Boolean as ClrBoolean, Byte, Char, DateTime, Decimal, Double, Enum, EventArgs, EventHandler, Exception, Func_1, Func_2, Func_3, Guid, IAsyncDisposable, IAsyncResult, ICloneable, IComparable, IConvertible, IDisposable, IFormattable, Int16, Int32, Int64, IntPtr, IServiceProvider, ISpanFormattable, Memory_1, MulticastDelegate, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, Single, Span_1, String as ClrString, TimeSpan, Type, UInt32, UInt64, ValueType, Version, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
42
|
+
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging/internal/index.js";
|
|
43
43
|
|
|
44
44
|
export enum ArrayNullabilityMode {
|
|
45
45
|
Never = 0,
|
|
@@ -131,40 +131,45 @@ 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
|
-
protected DbConnection: DbConnection;
|
|
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
|
-
}
|
|
142
|
+
export interface NpgsqlBatch$instance extends DbBatch {
|
|
143
|
+
readonly __tsonic_type_Npgsql_NpgsqlBatch: never;
|
|
148
144
|
|
|
145
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
146
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
149
147
|
|
|
150
|
-
export interface NpgsqlBatch$instance extends NpgsqlBatch$protected, DbBatch {
|
|
151
148
|
readonly BatchCommands: NpgsqlBatchCommandCollection;
|
|
152
149
|
get Connection(): NpgsqlConnection | undefined;
|
|
153
|
-
set Connection(value: NpgsqlConnection);
|
|
150
|
+
set Connection(value: NpgsqlConnection | undefined);
|
|
151
|
+
readonly DbBatchCommands: DbBatchCommandCollection;
|
|
152
|
+
get DbConnection(): DbConnection | undefined;
|
|
153
|
+
set DbConnection(value: DbConnection | undefined);
|
|
154
|
+
get DbTransaction(): DbTransaction | undefined;
|
|
155
|
+
set DbTransaction(value: DbTransaction | undefined);
|
|
154
156
|
EnableErrorBarriers: boolean;
|
|
155
157
|
Timeout: int;
|
|
156
158
|
get Transaction(): NpgsqlTransaction | undefined;
|
|
157
|
-
set Transaction(value: NpgsqlTransaction);
|
|
159
|
+
set Transaction(value: NpgsqlTransaction | undefined);
|
|
158
160
|
Cancel(): void;
|
|
159
161
|
CreateBatchCommand(): NpgsqlBatchCommand;
|
|
162
|
+
CreateDbBatchCommand(): DbBatchCommand;
|
|
160
163
|
Dispose(): void;
|
|
164
|
+
ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
165
|
+
ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task_1<DbDataReader>;
|
|
161
166
|
ExecuteNonQuery(): int;
|
|
162
|
-
ExecuteNonQueryAsync(cancellationToken?: CancellationToken):
|
|
167
|
+
ExecuteNonQueryAsync(cancellationToken?: CancellationToken): Task_1<System_Internal.Int32>;
|
|
163
168
|
ExecuteReader(behavior?: CommandBehavior): NpgsqlDataReader;
|
|
164
|
-
ExecuteReaderAsync(cancellationToken?: CancellationToken):
|
|
165
|
-
ExecuteReaderAsync(behavior: CommandBehavior, cancellationToken?: CancellationToken):
|
|
169
|
+
ExecuteReaderAsync(cancellationToken?: CancellationToken): Task_1<NpgsqlDataReader>;
|
|
170
|
+
ExecuteReaderAsync(behavior: CommandBehavior, cancellationToken?: CancellationToken): Task_1<NpgsqlDataReader>;
|
|
166
171
|
ExecuteScalar(): unknown | undefined;
|
|
167
|
-
ExecuteScalarAsync(cancellationToken?: CancellationToken):
|
|
172
|
+
ExecuteScalarAsync(cancellationToken?: CancellationToken): Task_1<unknown | undefined>;
|
|
168
173
|
Prepare(): void;
|
|
169
174
|
PrepareAsync(cancellationToken?: CancellationToken): Task;
|
|
170
175
|
}
|
|
@@ -177,16 +182,14 @@ export const NpgsqlBatch: {
|
|
|
177
182
|
|
|
178
183
|
export type NpgsqlBatch = NpgsqlBatch$instance;
|
|
179
184
|
|
|
180
|
-
export
|
|
181
|
-
|
|
182
|
-
}
|
|
183
|
-
|
|
185
|
+
export interface NpgsqlBatchCommand$instance extends DbBatchCommand {
|
|
186
|
+
readonly __tsonic_type_Npgsql_NpgsqlBatchCommand: never;
|
|
184
187
|
|
|
185
|
-
|
|
186
|
-
AppendErrorBarrier: Nullable<System_Internal.Boolean>;
|
|
188
|
+
AppendErrorBarrier: Nullable_1<System_Internal.Boolean>;
|
|
187
189
|
readonly CanCreateParameter: boolean;
|
|
188
190
|
CommandText: string;
|
|
189
191
|
CommandType: CommandType;
|
|
192
|
+
readonly DbParameterCollection: DbParameterCollection;
|
|
190
193
|
OID: uint;
|
|
191
194
|
readonly Parameters: NpgsqlParameterCollection;
|
|
192
195
|
readonly RecordsAffected: int;
|
|
@@ -205,16 +208,17 @@ export const NpgsqlBatchCommand: {
|
|
|
205
208
|
|
|
206
209
|
export type NpgsqlBatchCommand = NpgsqlBatchCommand$instance;
|
|
207
210
|
|
|
208
|
-
export
|
|
209
|
-
|
|
210
|
-
protected SetBatchCommand(index: int, batchCommand: DbBatchCommand): void;
|
|
211
|
-
}
|
|
211
|
+
export interface NpgsqlBatchCommandCollection$instance extends DbBatchCommandCollection {
|
|
212
|
+
readonly __tsonic_type_Npgsql_NpgsqlBatchCommandCollection: never;
|
|
212
213
|
|
|
214
|
+
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
215
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
216
|
+
readonly __tsonic_iface_System_Collections_Generic_IList_1: never;
|
|
217
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
213
218
|
|
|
214
|
-
export interface NpgsqlBatchCommandCollection$instance extends NpgsqlBatchCommandCollection$protected, DbBatchCommandCollection {
|
|
215
219
|
readonly Count: int;
|
|
216
220
|
readonly IsReadOnly: boolean;
|
|
217
|
-
|
|
221
|
+
[index: number]: NpgsqlBatchCommand;
|
|
218
222
|
Add(item: NpgsqlBatchCommand): void;
|
|
219
223
|
Add(item: DbBatchCommand): void;
|
|
220
224
|
Clear(): void;
|
|
@@ -222,7 +226,8 @@ export interface NpgsqlBatchCommandCollection$instance extends NpgsqlBatchComman
|
|
|
222
226
|
Contains(item: DbBatchCommand): boolean;
|
|
223
227
|
CopyTo(array: NpgsqlBatchCommand[], arrayIndex: int): void;
|
|
224
228
|
CopyTo(array: DbBatchCommand[], arrayIndex: int): void;
|
|
225
|
-
|
|
229
|
+
GetBatchCommand(index: int): DbBatchCommand;
|
|
230
|
+
GetEnumerator(): IEnumerator_1<DbBatchCommand>;
|
|
226
231
|
IndexOf(item: NpgsqlBatchCommand): int;
|
|
227
232
|
IndexOf(item: DbBatchCommand): int;
|
|
228
233
|
Insert(index: int, item: NpgsqlBatchCommand): void;
|
|
@@ -230,17 +235,23 @@ export interface NpgsqlBatchCommandCollection$instance extends NpgsqlBatchComman
|
|
|
230
235
|
Remove(item: NpgsqlBatchCommand): boolean;
|
|
231
236
|
Remove(item: DbBatchCommand): boolean;
|
|
232
237
|
RemoveAt(index: int): void;
|
|
238
|
+
SetBatchCommand(index: int, batchCommand: DbBatchCommand): void;
|
|
233
239
|
}
|
|
234
240
|
|
|
235
241
|
|
|
236
242
|
export const NpgsqlBatchCommandCollection: {
|
|
237
|
-
new(): NpgsqlBatchCommandCollection;
|
|
238
243
|
};
|
|
239
244
|
|
|
240
245
|
|
|
241
246
|
export type NpgsqlBatchCommandCollection = NpgsqlBatchCommandCollection$instance;
|
|
242
247
|
|
|
243
248
|
export interface NpgsqlBinaryExporter$instance {
|
|
249
|
+
readonly __tsonic_type_Npgsql_NpgsqlBinaryExporter: never;
|
|
250
|
+
|
|
251
|
+
readonly __tsonic_iface_Npgsql_ICancelable: never;
|
|
252
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
253
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
254
|
+
|
|
244
255
|
readonly IsNull: boolean;
|
|
245
256
|
Timeout: TimeSpan;
|
|
246
257
|
Cancel(): void;
|
|
@@ -249,28 +260,33 @@ export interface NpgsqlBinaryExporter$instance {
|
|
|
249
260
|
DisposeAsync(): ValueTask;
|
|
250
261
|
Read<T>(): T;
|
|
251
262
|
Read<T>(type: NpgsqlDbType): T;
|
|
252
|
-
ReadAsync<T>(cancellationToken?: CancellationToken):
|
|
253
|
-
ReadAsync<T>(type: NpgsqlDbType, cancellationToken?: CancellationToken):
|
|
263
|
+
ReadAsync<T>(cancellationToken?: CancellationToken): ValueTask_1<T>;
|
|
264
|
+
ReadAsync<T>(type: NpgsqlDbType, cancellationToken?: CancellationToken): ValueTask_1<T>;
|
|
254
265
|
Skip(): void;
|
|
255
266
|
SkipAsync(cancellationToken?: CancellationToken): Task;
|
|
256
267
|
StartRow(): int;
|
|
257
|
-
StartRowAsync(cancellationToken?: CancellationToken):
|
|
268
|
+
StartRowAsync(cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
258
269
|
}
|
|
259
270
|
|
|
260
271
|
|
|
261
272
|
export const NpgsqlBinaryExporter: {
|
|
262
|
-
new(): NpgsqlBinaryExporter;
|
|
263
273
|
};
|
|
264
274
|
|
|
265
275
|
|
|
266
276
|
export type NpgsqlBinaryExporter = NpgsqlBinaryExporter$instance;
|
|
267
277
|
|
|
268
278
|
export interface NpgsqlBinaryImporter$instance {
|
|
279
|
+
readonly __tsonic_type_Npgsql_NpgsqlBinaryImporter: never;
|
|
280
|
+
|
|
281
|
+
readonly __tsonic_iface_Npgsql_ICancelable: never;
|
|
282
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
283
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
284
|
+
|
|
269
285
|
Timeout: TimeSpan;
|
|
270
286
|
Close(): void;
|
|
271
287
|
CloseAsync(cancellationToken?: CancellationToken): ValueTask;
|
|
272
288
|
Complete(): ulong;
|
|
273
|
-
CompleteAsync(cancellationToken?: CancellationToken):
|
|
289
|
+
CompleteAsync(cancellationToken?: CancellationToken): ValueTask_1<System_Internal.UInt64>;
|
|
274
290
|
Dispose(): void;
|
|
275
291
|
DisposeAsync(): ValueTask;
|
|
276
292
|
StartRow(): void;
|
|
@@ -289,49 +305,54 @@ export interface NpgsqlBinaryImporter$instance {
|
|
|
289
305
|
|
|
290
306
|
|
|
291
307
|
export const NpgsqlBinaryImporter: {
|
|
292
|
-
new(): NpgsqlBinaryImporter;
|
|
293
308
|
};
|
|
294
309
|
|
|
295
310
|
|
|
296
311
|
export type NpgsqlBinaryImporter = NpgsqlBinaryImporter$instance;
|
|
297
312
|
|
|
298
|
-
export
|
|
299
|
-
|
|
300
|
-
protected readonly DbParameterCollection: DbParameterCollection;
|
|
301
|
-
protected DbTransaction: DbTransaction | undefined;
|
|
302
|
-
protected CreateDbParameter(): DbParameter;
|
|
303
|
-
protected Dispose(disposing: boolean): void;
|
|
304
|
-
protected ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
305
|
-
protected ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<DbDataReader>;
|
|
306
|
-
}
|
|
313
|
+
export interface NpgsqlCommand$instance extends DbCommand {
|
|
314
|
+
readonly __tsonic_type_Npgsql_NpgsqlCommand: never;
|
|
307
315
|
|
|
316
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
317
|
+
readonly __tsonic_iface_System_Data_IDbCommand: never;
|
|
318
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
319
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
320
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
308
321
|
|
|
309
|
-
export interface NpgsqlCommand$instance extends NpgsqlCommand$protected, DbCommand {
|
|
310
322
|
AllResultTypesAreUnknown: boolean;
|
|
311
323
|
CommandText: string;
|
|
312
324
|
CommandTimeout: int;
|
|
313
325
|
CommandType: CommandType;
|
|
314
326
|
get Connection(): NpgsqlConnection | undefined;
|
|
315
|
-
set Connection(value: NpgsqlConnection);
|
|
327
|
+
set Connection(value: NpgsqlConnection | undefined);
|
|
328
|
+
get DbConnection(): DbConnection | undefined;
|
|
329
|
+
set DbConnection(value: DbConnection | undefined);
|
|
330
|
+
readonly DbParameterCollection: DbParameterCollection;
|
|
331
|
+
get DbTransaction(): DbTransaction | undefined;
|
|
332
|
+
set DbTransaction(value: DbTransaction | undefined);
|
|
316
333
|
DesignTimeVisible: boolean;
|
|
317
334
|
readonly IsPrepared: boolean;
|
|
318
335
|
readonly Parameters: NpgsqlParameterCollection;
|
|
319
|
-
readonly Statements:
|
|
336
|
+
readonly Statements: IReadOnlyList_1<NpgsqlBatchCommand>;
|
|
320
337
|
get Transaction(): NpgsqlTransaction | undefined;
|
|
321
|
-
set Transaction(value: NpgsqlTransaction);
|
|
338
|
+
set Transaction(value: NpgsqlTransaction | undefined);
|
|
322
339
|
get UnknownResultTypeList(): boolean[] | undefined;
|
|
323
|
-
set UnknownResultTypeList(value: boolean[]);
|
|
340
|
+
set UnknownResultTypeList(value: boolean[] | undefined);
|
|
324
341
|
UpdatedRowSource: UpdateRowSource;
|
|
325
342
|
Cancel(): void;
|
|
326
343
|
Clone(): NpgsqlCommand;
|
|
344
|
+
CreateDbParameter(): DbParameter;
|
|
327
345
|
CreateParameter(): NpgsqlParameter;
|
|
346
|
+
Dispose(disposing: boolean): void;
|
|
347
|
+
ExecuteDbDataReader(behavior: CommandBehavior): DbDataReader;
|
|
348
|
+
ExecuteDbDataReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task_1<DbDataReader>;
|
|
328
349
|
ExecuteNonQuery(): int;
|
|
329
|
-
ExecuteNonQueryAsync(cancellationToken: CancellationToken):
|
|
350
|
+
ExecuteNonQueryAsync(cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
330
351
|
ExecuteReader(behavior?: CommandBehavior): NpgsqlDataReader;
|
|
331
|
-
ExecuteReaderAsync(cancellationToken?: CancellationToken):
|
|
332
|
-
ExecuteReaderAsync(behavior: CommandBehavior, cancellationToken?: CancellationToken):
|
|
352
|
+
ExecuteReaderAsync(cancellationToken?: CancellationToken): Task_1<NpgsqlDataReader>;
|
|
353
|
+
ExecuteReaderAsync(behavior: CommandBehavior, cancellationToken?: CancellationToken): Task_1<NpgsqlDataReader>;
|
|
333
354
|
ExecuteScalar(): unknown | undefined;
|
|
334
|
-
ExecuteScalarAsync(cancellationToken: CancellationToken):
|
|
355
|
+
ExecuteScalarAsync(cancellationToken: CancellationToken): Task_1<unknown | undefined>;
|
|
335
356
|
Prepare(): void;
|
|
336
357
|
PrepareAsync(cancellationToken?: CancellationToken): Task;
|
|
337
358
|
Unprepare(): void;
|
|
@@ -349,25 +370,26 @@ export const NpgsqlCommand: {
|
|
|
349
370
|
|
|
350
371
|
export type NpgsqlCommand = NpgsqlCommand$instance;
|
|
351
372
|
|
|
352
|
-
export
|
|
353
|
-
|
|
354
|
-
protected GetParameterName(parameterOrdinal: int): string;
|
|
355
|
-
protected GetParameterName(parameterName: string): string;
|
|
356
|
-
protected GetParameterPlaceholder(parameterOrdinal: int): string;
|
|
357
|
-
protected SetRowUpdatingHandler(adapter: DbDataAdapter): void;
|
|
358
|
-
}
|
|
373
|
+
export interface NpgsqlCommandBuilder$instance extends DbCommandBuilder {
|
|
374
|
+
readonly __tsonic_type_Npgsql_NpgsqlCommandBuilder: never;
|
|
359
375
|
|
|
376
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
377
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
360
378
|
|
|
361
|
-
export interface NpgsqlCommandBuilder$instance extends NpgsqlCommandBuilder$protected, DbCommandBuilder {
|
|
362
379
|
QuotePrefix: string;
|
|
363
380
|
QuoteSuffix: string;
|
|
381
|
+
ApplyParameterInfo(p: DbParameter, row: DataRow, statementType: StatementType_Data, whereClause: boolean): void;
|
|
364
382
|
GetDeleteCommand(): NpgsqlCommand;
|
|
365
383
|
GetDeleteCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
366
384
|
GetInsertCommand(): NpgsqlCommand;
|
|
367
385
|
GetInsertCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
386
|
+
GetParameterName(parameterOrdinal: int): string;
|
|
387
|
+
GetParameterName(parameterName: string): string;
|
|
388
|
+
GetParameterPlaceholder(parameterOrdinal: int): string;
|
|
368
389
|
GetUpdateCommand(): NpgsqlCommand;
|
|
369
390
|
GetUpdateCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
370
391
|
QuoteIdentifier(unquotedIdentifier: string): string;
|
|
392
|
+
SetRowUpdatingHandler(adapter: DbDataAdapter): void;
|
|
371
393
|
UnquoteIdentifier(quotedIdentifier: string): string;
|
|
372
394
|
}
|
|
373
395
|
|
|
@@ -381,72 +403,76 @@ export const NpgsqlCommandBuilder: {
|
|
|
381
403
|
|
|
382
404
|
export type NpgsqlCommandBuilder = NpgsqlCommandBuilder$instance;
|
|
383
405
|
|
|
384
|
-
export
|
|
385
|
-
|
|
386
|
-
protected BeginDbTransaction(isolationLevel: IsolationLevel): DbTransaction;
|
|
387
|
-
protected BeginDbTransactionAsync(isolationLevel: IsolationLevel, cancellationToken: CancellationToken): ValueTask<DbTransaction>;
|
|
388
|
-
protected CreateDbBatch(): DbBatch;
|
|
389
|
-
protected CreateDbCommand(): DbCommand;
|
|
390
|
-
protected Dispose(disposing: boolean): void;
|
|
391
|
-
}
|
|
406
|
+
export interface NpgsqlConnection$instance extends DbConnection {
|
|
407
|
+
readonly __tsonic_type_Npgsql_NpgsqlConnection: never;
|
|
392
408
|
|
|
409
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
410
|
+
readonly __tsonic_iface_System_Data_IDbConnection: never;
|
|
411
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
412
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
413
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
393
414
|
|
|
394
|
-
export interface NpgsqlConnection$instance extends NpgsqlConnection$protected, DbConnection {
|
|
395
415
|
readonly CanCreateBatch: boolean;
|
|
396
416
|
readonly CommandTimeout: int;
|
|
397
417
|
ConnectionString: string;
|
|
398
418
|
readonly ConnectionTimeout: int;
|
|
399
419
|
readonly Database: string;
|
|
400
420
|
readonly DataSource: string;
|
|
421
|
+
readonly DbProviderFactory: DbProviderFactory;
|
|
401
422
|
FullState: ConnectionState;
|
|
402
423
|
readonly HasIntegerDateTimes: boolean;
|
|
403
424
|
readonly Host: string | undefined;
|
|
404
425
|
readonly Port: int;
|
|
405
|
-
readonly PostgresParameters:
|
|
426
|
+
readonly PostgresParameters: IReadOnlyDictionary_2<System_Internal.String, System_Internal.String>;
|
|
406
427
|
readonly PostgreSqlVersion: Version;
|
|
407
428
|
readonly ProcessID: int;
|
|
408
429
|
get ProvideClientCertificatesCallback(): ProvideClientCertificatesCallback | undefined;
|
|
409
|
-
set ProvideClientCertificatesCallback(value: ProvideClientCertificatesCallback);
|
|
430
|
+
set ProvideClientCertificatesCallback(value: ProvideClientCertificatesCallback | undefined);
|
|
410
431
|
get ProvidePasswordCallback(): ProvidePasswordCallback | undefined;
|
|
411
|
-
set ProvidePasswordCallback(value: ProvidePasswordCallback);
|
|
432
|
+
set ProvidePasswordCallback(value: ProvidePasswordCallback | undefined);
|
|
412
433
|
readonly ServerVersion: string;
|
|
413
|
-
get SslClientAuthenticationOptionsCallback():
|
|
414
|
-
set SslClientAuthenticationOptionsCallback(value:
|
|
434
|
+
get SslClientAuthenticationOptionsCallback(): Action_1<SslClientAuthenticationOptions> | undefined;
|
|
435
|
+
set SslClientAuthenticationOptionsCallback(value: Action_1<SslClientAuthenticationOptions> | undefined);
|
|
415
436
|
readonly State: ConnectionState;
|
|
416
437
|
readonly Timezone: string;
|
|
417
438
|
readonly TypeMapper: INpgsqlTypeMapper;
|
|
418
439
|
get UserCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
|
|
419
|
-
set UserCertificateValidationCallback(value: RemoteCertificateValidationCallback);
|
|
440
|
+
set UserCertificateValidationCallback(value: RemoteCertificateValidationCallback | undefined);
|
|
420
441
|
readonly UserName: string | undefined;
|
|
421
442
|
BeginBinaryExport(copyToCommand: string): NpgsqlBinaryExporter;
|
|
422
|
-
BeginBinaryExportAsync(copyToCommand: string, cancellationToken?: CancellationToken):
|
|
443
|
+
BeginBinaryExportAsync(copyToCommand: string, cancellationToken?: CancellationToken): Task_1<NpgsqlBinaryExporter>;
|
|
423
444
|
BeginBinaryImport(copyFromCommand: string): NpgsqlBinaryImporter;
|
|
424
|
-
BeginBinaryImportAsync(copyFromCommand: string, cancellationToken?: CancellationToken):
|
|
445
|
+
BeginBinaryImportAsync(copyFromCommand: string, cancellationToken?: CancellationToken): Task_1<NpgsqlBinaryImporter>;
|
|
446
|
+
BeginDbTransaction(isolationLevel: IsolationLevel): DbTransaction;
|
|
447
|
+
BeginDbTransactionAsync(isolationLevel: IsolationLevel, cancellationToken: CancellationToken): ValueTask_1<DbTransaction>;
|
|
425
448
|
BeginRawBinaryCopy(copyCommand: string): NpgsqlRawCopyStream;
|
|
426
|
-
BeginRawBinaryCopyAsync(copyCommand: string, cancellationToken?: CancellationToken):
|
|
449
|
+
BeginRawBinaryCopyAsync(copyCommand: string, cancellationToken?: CancellationToken): Task_1<NpgsqlRawCopyStream>;
|
|
427
450
|
BeginTextExport(copyToCommand: string): NpgsqlCopyTextReader;
|
|
428
|
-
BeginTextExportAsync(copyToCommand: string, cancellationToken?: CancellationToken):
|
|
451
|
+
BeginTextExportAsync(copyToCommand: string, cancellationToken?: CancellationToken): Task_1<NpgsqlCopyTextReader>;
|
|
429
452
|
BeginTextImport(copyFromCommand: string): NpgsqlCopyTextWriter;
|
|
430
|
-
BeginTextImportAsync(copyFromCommand: string, cancellationToken?: CancellationToken):
|
|
453
|
+
BeginTextImportAsync(copyFromCommand: string, cancellationToken?: CancellationToken): Task_1<NpgsqlCopyTextWriter>;
|
|
431
454
|
BeginTransaction(): NpgsqlTransaction;
|
|
432
455
|
BeginTransaction(level: IsolationLevel): NpgsqlTransaction;
|
|
433
|
-
BeginTransactionAsync(cancellationToken?: CancellationToken):
|
|
434
|
-
BeginTransactionAsync(level: IsolationLevel, cancellationToken?: CancellationToken):
|
|
456
|
+
BeginTransactionAsync(cancellationToken?: CancellationToken): ValueTask_1<NpgsqlTransaction>;
|
|
457
|
+
BeginTransactionAsync(level: IsolationLevel, cancellationToken?: CancellationToken): ValueTask_1<NpgsqlTransaction>;
|
|
435
458
|
ChangeDatabase(dbName: string): void;
|
|
436
459
|
CloneWith(connectionString: string): NpgsqlConnection;
|
|
437
|
-
CloneWithAsync(connectionString: string, cancellationToken?: CancellationToken):
|
|
460
|
+
CloneWithAsync(connectionString: string, cancellationToken?: CancellationToken): ValueTask_1<NpgsqlConnection>;
|
|
438
461
|
Close(): void;
|
|
439
462
|
CloseAsync(): Task;
|
|
440
463
|
CreateBatch(): NpgsqlBatch;
|
|
441
464
|
CreateCommand(): NpgsqlCommand;
|
|
465
|
+
CreateDbBatch(): DbBatch;
|
|
466
|
+
CreateDbCommand(): DbCommand;
|
|
467
|
+
Dispose(disposing: boolean): void;
|
|
442
468
|
DisposeAsync(): ValueTask;
|
|
443
469
|
EnlistTransaction(transaction: Transaction): void;
|
|
444
470
|
GetSchema(): DataTable;
|
|
445
471
|
GetSchema(collectionName: string): DataTable;
|
|
446
472
|
GetSchema(collectionName: string, restrictions: string[]): DataTable;
|
|
447
|
-
GetSchemaAsync(cancellationToken?: CancellationToken):
|
|
448
|
-
GetSchemaAsync(collectionName: string, cancellationToken?: CancellationToken):
|
|
449
|
-
GetSchemaAsync(collectionName: string, restrictions: string[], cancellationToken?: CancellationToken):
|
|
473
|
+
GetSchemaAsync(cancellationToken?: CancellationToken): Task_1<DataTable>;
|
|
474
|
+
GetSchemaAsync(collectionName: string, cancellationToken?: CancellationToken): Task_1<DataTable>;
|
|
475
|
+
GetSchemaAsync(collectionName: string, restrictions: string[], cancellationToken?: CancellationToken): Task_1<DataTable>;
|
|
450
476
|
Open(): void;
|
|
451
477
|
OpenAsync(cancellationToken: CancellationToken): Task;
|
|
452
478
|
ReloadTypes(): void;
|
|
@@ -455,8 +481,8 @@ export interface NpgsqlConnection$instance extends NpgsqlConnection$protected, D
|
|
|
455
481
|
Wait(timeout: int): boolean;
|
|
456
482
|
Wait(timeout: TimeSpan): boolean;
|
|
457
483
|
Wait(): void;
|
|
458
|
-
WaitAsync(timeout: int, cancellationToken?: CancellationToken):
|
|
459
|
-
WaitAsync(timeout: TimeSpan, cancellationToken?: CancellationToken):
|
|
484
|
+
WaitAsync(timeout: int, cancellationToken?: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
485
|
+
WaitAsync(timeout: TimeSpan, cancellationToken?: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
460
486
|
WaitAsync(cancellationToken?: CancellationToken): Task;
|
|
461
487
|
}
|
|
462
488
|
|
|
@@ -473,41 +499,46 @@ export const NpgsqlConnection: {
|
|
|
473
499
|
|
|
474
500
|
export type NpgsqlConnection = NpgsqlConnection$instance;
|
|
475
501
|
|
|
476
|
-
export
|
|
477
|
-
|
|
478
|
-
}
|
|
502
|
+
export interface NpgsqlConnectionStringBuilder$instance extends DbConnectionStringBuilder {
|
|
503
|
+
readonly __tsonic_type_Npgsql_NpgsqlConnectionStringBuilder: never;
|
|
479
504
|
|
|
505
|
+
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
506
|
+
readonly __tsonic_iface_System_Collections_Generic_IDictionary_2: never;
|
|
507
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
508
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
509
|
+
readonly __tsonic_iface_System_Collections_IDictionary: never;
|
|
510
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
511
|
+
readonly __tsonic_iface_System_ComponentModel_ICustomTypeDescriptor: never;
|
|
480
512
|
|
|
481
|
-
export interface NpgsqlConnectionStringBuilder$instance extends NpgsqlConnectionStringBuilder$protected, DbConnectionStringBuilder {
|
|
482
513
|
get ApplicationName(): string | undefined;
|
|
483
|
-
set ApplicationName(value: string);
|
|
514
|
+
set ApplicationName(value: string | undefined);
|
|
484
515
|
ArrayNullabilityMode: ArrayNullabilityMode;
|
|
485
516
|
AutoPrepareMinUsages: int;
|
|
486
517
|
CancellationTimeout: int;
|
|
487
518
|
ChannelBinding: ChannelBinding;
|
|
488
519
|
CheckCertificateRevocation: boolean;
|
|
489
520
|
get ClientEncoding(): string | undefined;
|
|
490
|
-
set ClientEncoding(value: string);
|
|
521
|
+
set ClientEncoding(value: string | undefined);
|
|
491
522
|
CommandTimeout: int;
|
|
492
523
|
ConnectionIdleLifetime: int;
|
|
493
524
|
ConnectionLifetime: int;
|
|
494
525
|
ConnectionPruningInterval: int;
|
|
495
526
|
get Database(): string | undefined;
|
|
496
|
-
set Database(value: string);
|
|
527
|
+
set Database(value: string | undefined);
|
|
497
528
|
Encoding: string;
|
|
498
529
|
Enlist: boolean;
|
|
499
530
|
GssEncryptionMode: GssEncryptionMode;
|
|
500
531
|
get Host(): string | undefined;
|
|
501
|
-
set Host(value: string);
|
|
532
|
+
set Host(value: string | undefined);
|
|
502
533
|
HostRecheckSeconds: int;
|
|
503
534
|
IncludeErrorDetail: boolean;
|
|
504
535
|
IncludeFailedBatchedCommand: boolean;
|
|
505
536
|
IncludeRealm: boolean;
|
|
506
537
|
InternalCommandTimeout: int;
|
|
507
|
-
|
|
538
|
+
[keyword: string]: unknown;
|
|
508
539
|
KeepAlive: int;
|
|
509
540
|
KerberosServiceName: string;
|
|
510
|
-
readonly Keys:
|
|
541
|
+
readonly Keys: ICollection_1<System_Internal.String>;
|
|
511
542
|
LoadBalanceHosts: boolean;
|
|
512
543
|
LoadTableComposites: boolean;
|
|
513
544
|
LogParameters: boolean;
|
|
@@ -517,56 +548,57 @@ export interface NpgsqlConnectionStringBuilder$instance extends NpgsqlConnection
|
|
|
517
548
|
Multiplexing: boolean;
|
|
518
549
|
NoResetOnClose: boolean;
|
|
519
550
|
get Options(): string | undefined;
|
|
520
|
-
set Options(value: string);
|
|
551
|
+
set Options(value: string | undefined);
|
|
521
552
|
get Passfile(): string | undefined;
|
|
522
|
-
set Passfile(value: string);
|
|
553
|
+
set Passfile(value: string | undefined);
|
|
523
554
|
get Password(): string | undefined;
|
|
524
|
-
set Password(value: string);
|
|
555
|
+
set Password(value: string | undefined);
|
|
525
556
|
PersistSecurityInfo: boolean;
|
|
526
557
|
Pooling: boolean;
|
|
527
558
|
Port: int;
|
|
528
559
|
ReadBufferSize: int;
|
|
529
560
|
get RequireAuth(): string | undefined;
|
|
530
|
-
set RequireAuth(value: string);
|
|
561
|
+
set RequireAuth(value: string | undefined);
|
|
531
562
|
get RootCertificate(): string | undefined;
|
|
532
|
-
set RootCertificate(value: string);
|
|
563
|
+
set RootCertificate(value: string | undefined);
|
|
533
564
|
get SearchPath(): string | undefined;
|
|
534
|
-
set SearchPath(value: string);
|
|
565
|
+
set SearchPath(value: string | undefined);
|
|
535
566
|
ServerCompatibilityMode: ServerCompatibilityMode;
|
|
536
567
|
SocketReceiveBufferSize: int;
|
|
537
568
|
SocketSendBufferSize: int;
|
|
538
569
|
get SslCertificate(): string | undefined;
|
|
539
|
-
set SslCertificate(value: string);
|
|
570
|
+
set SslCertificate(value: string | undefined);
|
|
540
571
|
get SslKey(): string | undefined;
|
|
541
|
-
set SslKey(value: string);
|
|
572
|
+
set SslKey(value: string | undefined);
|
|
542
573
|
SslMode: SslMode;
|
|
543
574
|
SslNegotiation: SslNegotiation;
|
|
544
575
|
get SslPassword(): string | undefined;
|
|
545
|
-
set SslPassword(value: string);
|
|
576
|
+
set SslPassword(value: string | undefined);
|
|
546
577
|
get TargetSessionAttributes(): string | undefined;
|
|
547
|
-
set TargetSessionAttributes(value: string);
|
|
578
|
+
set TargetSessionAttributes(value: string | undefined);
|
|
548
579
|
TcpKeepAlive: boolean;
|
|
549
580
|
TcpKeepAliveInterval: int;
|
|
550
581
|
TcpKeepAliveTime: int;
|
|
551
582
|
Timeout: int;
|
|
552
583
|
get Timezone(): string | undefined;
|
|
553
|
-
set Timezone(value: string);
|
|
584
|
+
set Timezone(value: string | undefined);
|
|
554
585
|
TrustServerCertificate: boolean;
|
|
555
586
|
get Username(): string | undefined;
|
|
556
|
-
set Username(value: string);
|
|
557
|
-
readonly Values:
|
|
587
|
+
set Username(value: string | undefined);
|
|
588
|
+
readonly Values: ICollection_1<unknown | undefined>;
|
|
558
589
|
WriteBufferSize: int;
|
|
559
590
|
WriteCoalescingBufferThresholdBytes: int;
|
|
560
|
-
Add(item:
|
|
591
|
+
Add(item: KeyValuePair_2<System_Internal.String, unknown>): void;
|
|
561
592
|
Clear(): void;
|
|
562
|
-
Contains(item:
|
|
593
|
+
Contains(item: KeyValuePair_2<System_Internal.String, unknown>): boolean;
|
|
563
594
|
ContainsKey(keyword: string): boolean;
|
|
564
|
-
CopyTo(array:
|
|
595
|
+
CopyTo(array: KeyValuePair_2<System_Internal.String, unknown>[], arrayIndex: int): void;
|
|
565
596
|
Equals(obj: unknown): boolean;
|
|
566
|
-
GetEnumerator():
|
|
597
|
+
GetEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String, unknown>>;
|
|
567
598
|
GetHashCode(): int;
|
|
599
|
+
GetProperties(propertyDescriptors: Hashtable): void;
|
|
568
600
|
Remove(keyword: string): boolean;
|
|
569
|
-
Remove(item:
|
|
601
|
+
Remove(item: KeyValuePair_2<System_Internal.String, unknown>): boolean;
|
|
570
602
|
TryGetValue(keyword: string, value: unknown): boolean;
|
|
571
603
|
}
|
|
572
604
|
|
|
@@ -581,6 +613,12 @@ export const NpgsqlConnectionStringBuilder: {
|
|
|
581
613
|
export type NpgsqlConnectionStringBuilder = NpgsqlConnectionStringBuilder$instance;
|
|
582
614
|
|
|
583
615
|
export interface NpgsqlCopyTextReader$instance extends StreamReader {
|
|
616
|
+
readonly __tsonic_type_Npgsql_NpgsqlCopyTextReader: never;
|
|
617
|
+
|
|
618
|
+
readonly __tsonic_iface_Npgsql_ICancelable: never;
|
|
619
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
620
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
621
|
+
|
|
584
622
|
Timeout: int;
|
|
585
623
|
Cancel(): void;
|
|
586
624
|
CancelAsync(): Task;
|
|
@@ -589,13 +627,18 @@ export interface NpgsqlCopyTextReader$instance extends StreamReader {
|
|
|
589
627
|
|
|
590
628
|
|
|
591
629
|
export const NpgsqlCopyTextReader: {
|
|
592
|
-
new(): NpgsqlCopyTextReader;
|
|
593
630
|
};
|
|
594
631
|
|
|
595
632
|
|
|
596
633
|
export type NpgsqlCopyTextReader = NpgsqlCopyTextReader$instance;
|
|
597
634
|
|
|
598
635
|
export interface NpgsqlCopyTextWriter$instance extends StreamWriter {
|
|
636
|
+
readonly __tsonic_type_Npgsql_NpgsqlCopyTextWriter: never;
|
|
637
|
+
|
|
638
|
+
readonly __tsonic_iface_Npgsql_ICancelable: never;
|
|
639
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
640
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
641
|
+
|
|
599
642
|
Timeout: int;
|
|
600
643
|
Cancel(): void;
|
|
601
644
|
CancelAsync(): Task;
|
|
@@ -603,29 +646,32 @@ export interface NpgsqlCopyTextWriter$instance extends StreamWriter {
|
|
|
603
646
|
|
|
604
647
|
|
|
605
648
|
export const NpgsqlCopyTextWriter: {
|
|
606
|
-
new(): NpgsqlCopyTextWriter;
|
|
607
649
|
};
|
|
608
650
|
|
|
609
651
|
|
|
610
652
|
export type NpgsqlCopyTextWriter = NpgsqlCopyTextWriter$instance;
|
|
611
653
|
|
|
612
|
-
export
|
|
613
|
-
|
|
614
|
-
protected CreateRowUpdatingEvent(dataRow: DataRow, command: IDbCommand, statementType: StatementType_Data, tableMapping: DataTableMapping): RowUpdatingEventArgs;
|
|
615
|
-
protected OnRowUpdated(value: RowUpdatedEventArgs): void;
|
|
616
|
-
protected OnRowUpdating(value: RowUpdatingEventArgs): void;
|
|
617
|
-
}
|
|
654
|
+
export interface NpgsqlDataAdapter$instance extends DbDataAdapter {
|
|
655
|
+
readonly __tsonic_type_Npgsql_NpgsqlDataAdapter: never;
|
|
618
656
|
|
|
657
|
+
readonly __tsonic_iface_System_ComponentModel_IComponent: never;
|
|
658
|
+
readonly __tsonic_iface_System_Data_IDataAdapter: never;
|
|
659
|
+
readonly __tsonic_iface_System_Data_IDbDataAdapter: never;
|
|
660
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
661
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
619
662
|
|
|
620
|
-
export interface NpgsqlDataAdapter$instance extends NpgsqlDataAdapter$protected, DbDataAdapter {
|
|
621
663
|
get DeleteCommand(): NpgsqlCommand | undefined;
|
|
622
|
-
set DeleteCommand(value: NpgsqlCommand);
|
|
664
|
+
set DeleteCommand(value: NpgsqlCommand | undefined);
|
|
623
665
|
get InsertCommand(): NpgsqlCommand | undefined;
|
|
624
|
-
set InsertCommand(value: NpgsqlCommand);
|
|
666
|
+
set InsertCommand(value: NpgsqlCommand | undefined);
|
|
625
667
|
get SelectCommand(): NpgsqlCommand | undefined;
|
|
626
|
-
set SelectCommand(value: NpgsqlCommand);
|
|
668
|
+
set SelectCommand(value: NpgsqlCommand | undefined);
|
|
627
669
|
get UpdateCommand(): NpgsqlCommand | undefined;
|
|
628
|
-
set UpdateCommand(value: NpgsqlCommand);
|
|
670
|
+
set UpdateCommand(value: NpgsqlCommand | undefined);
|
|
671
|
+
CreateRowUpdatedEvent(dataRow: DataRow, command: IDbCommand, statementType: StatementType_Data, tableMapping: DataTableMapping): RowUpdatedEventArgs;
|
|
672
|
+
CreateRowUpdatingEvent(dataRow: DataRow, command: IDbCommand, statementType: StatementType_Data, tableMapping: DataTableMapping): RowUpdatingEventArgs;
|
|
673
|
+
OnRowUpdated(value: RowUpdatedEventArgs): void;
|
|
674
|
+
OnRowUpdating(value: RowUpdatingEventArgs): void;
|
|
629
675
|
}
|
|
630
676
|
|
|
631
677
|
|
|
@@ -639,13 +685,16 @@ export const NpgsqlDataAdapter: {
|
|
|
639
685
|
|
|
640
686
|
export type NpgsqlDataAdapter = NpgsqlDataAdapter$instance;
|
|
641
687
|
|
|
642
|
-
export
|
|
643
|
-
|
|
644
|
-
protected GetDbDataReader(ordinal: int): DbDataReader;
|
|
645
|
-
}
|
|
688
|
+
export interface NpgsqlDataReader$instance extends DbDataReader {
|
|
689
|
+
readonly __tsonic_type_Npgsql_NpgsqlDataReader: never;
|
|
646
690
|
|
|
691
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
692
|
+
readonly __tsonic_iface_System_Data_Common_IDbColumnSchemaGenerator: never;
|
|
693
|
+
readonly __tsonic_iface_System_Data_IDataReader: never;
|
|
694
|
+
readonly __tsonic_iface_System_Data_IDataRecord: never;
|
|
695
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
696
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
647
697
|
|
|
648
|
-
export interface NpgsqlDataReader$instance extends NpgsqlDataReader$protected, DbDataReader {
|
|
649
698
|
readonly Depth: int;
|
|
650
699
|
readonly FieldCount: int;
|
|
651
700
|
readonly HasRows: boolean;
|
|
@@ -653,9 +702,10 @@ export interface NpgsqlDataReader$instance extends NpgsqlDataReader$protected, D
|
|
|
653
702
|
readonly IsOnRow: boolean;
|
|
654
703
|
readonly RecordsAffected: int;
|
|
655
704
|
readonly Rows: ulong;
|
|
656
|
-
readonly Statements:
|
|
705
|
+
readonly Statements: IReadOnlyList_1<NpgsqlBatchCommand>;
|
|
657
706
|
Close(): void;
|
|
658
707
|
CloseAsync(): Task;
|
|
708
|
+
Dispose(disposing: boolean): void;
|
|
659
709
|
DisposeAsync(): ValueTask;
|
|
660
710
|
get_Item(ordinal: int): unknown;
|
|
661
711
|
get_Item(name: string): unknown;
|
|
@@ -664,18 +714,19 @@ export interface NpgsqlDataReader$instance extends NpgsqlDataReader$protected, D
|
|
|
664
714
|
GetBytes(ordinal: int, dataOffset: long, buffer: byte[], bufferOffset: int, length: int): long;
|
|
665
715
|
GetChar(ordinal: int): char;
|
|
666
716
|
GetChars(ordinal: int, dataOffset: long, buffer: char[], bufferOffset: int, length: int): long;
|
|
667
|
-
GetColumnSchema():
|
|
668
|
-
GetColumnSchemaAsync(cancellationToken?: CancellationToken):
|
|
717
|
+
GetColumnSchema(): ReadOnlyCollection_1<NpgsqlDbColumn>;
|
|
718
|
+
GetColumnSchemaAsync(cancellationToken?: CancellationToken): Task_1<ReadOnlyCollection_1<DbColumn>>;
|
|
669
719
|
GetData(ordinal: int): NpgsqlNestedDataReader;
|
|
670
720
|
GetDataTypeName(ordinal: int): string;
|
|
671
721
|
GetDataTypeOID(ordinal: int): uint;
|
|
672
722
|
GetDateTime(ordinal: int): DateTime;
|
|
723
|
+
GetDbDataReader(ordinal: int): DbDataReader;
|
|
673
724
|
GetDecimal(ordinal: int): decimal;
|
|
674
725
|
GetDouble(ordinal: int): double;
|
|
675
726
|
GetEnumerator(): IEnumerator;
|
|
676
727
|
GetFieldType(ordinal: int): Type;
|
|
677
728
|
GetFieldValue<T>(ordinal: int): T;
|
|
678
|
-
GetFieldValueAsync<T>(ordinal: int, cancellationToken: CancellationToken):
|
|
729
|
+
GetFieldValueAsync<T>(ordinal: int, cancellationToken: CancellationToken): Task_1<T>;
|
|
679
730
|
GetFloat(ordinal: int): float;
|
|
680
731
|
GetGuid(ordinal: int): Guid;
|
|
681
732
|
GetInt16(ordinal: int): short;
|
|
@@ -685,53 +736,53 @@ export interface NpgsqlDataReader$instance extends NpgsqlDataReader$protected, D
|
|
|
685
736
|
GetOrdinal(name: string): int;
|
|
686
737
|
GetPostgresType(ordinal: int): PostgresType;
|
|
687
738
|
GetSchemaTable(): DataTable | undefined;
|
|
688
|
-
GetSchemaTableAsync(cancellationToken?: CancellationToken):
|
|
739
|
+
GetSchemaTableAsync(cancellationToken?: CancellationToken): Task_1<DataTable | undefined>;
|
|
689
740
|
GetStream(ordinal: int): Stream;
|
|
690
|
-
GetStreamAsync(ordinal: int, cancellationToken?: CancellationToken):
|
|
741
|
+
GetStreamAsync(ordinal: int, cancellationToken?: CancellationToken): Task_1<Stream>;
|
|
691
742
|
GetString(ordinal: int): string;
|
|
692
743
|
GetTextReader(ordinal: int): TextReader;
|
|
693
|
-
GetTextReaderAsync(ordinal: int, cancellationToken?: CancellationToken):
|
|
744
|
+
GetTextReaderAsync(ordinal: int, cancellationToken?: CancellationToken): Task_1<TextReader>;
|
|
694
745
|
GetTimeSpan(ordinal: int): TimeSpan;
|
|
695
746
|
GetValue(ordinal: int): unknown;
|
|
696
747
|
GetValues(values: unknown[]): int;
|
|
697
748
|
IsDBNull(ordinal: int): boolean;
|
|
698
|
-
IsDBNullAsync(ordinal: int, cancellationToken: CancellationToken):
|
|
749
|
+
IsDBNullAsync(ordinal: int, cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
699
750
|
NextResult(): boolean;
|
|
700
|
-
NextResultAsync(cancellationToken: CancellationToken):
|
|
751
|
+
NextResultAsync(cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
701
752
|
Read(): boolean;
|
|
702
|
-
ReadAsync(cancellationToken: CancellationToken):
|
|
753
|
+
ReadAsync(cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
|
|
703
754
|
}
|
|
704
755
|
|
|
705
756
|
|
|
706
757
|
export const NpgsqlDataReader: {
|
|
707
|
-
new(): NpgsqlDataReader;
|
|
708
758
|
};
|
|
709
759
|
|
|
710
760
|
|
|
711
761
|
export type NpgsqlDataReader = NpgsqlDataReader$instance;
|
|
712
762
|
|
|
713
|
-
export
|
|
714
|
-
|
|
715
|
-
protected CreateDbCommand(commandText?: string): DbCommand;
|
|
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
|
-
}
|
|
763
|
+
export interface NpgsqlDataSource$instance extends DbDataSource {
|
|
764
|
+
readonly __tsonic_type_Npgsql_NpgsqlDataSource: never;
|
|
724
765
|
|
|
766
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
767
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
725
768
|
|
|
726
|
-
export interface NpgsqlDataSource$instance extends NpgsqlDataSource$protected, DbDataSource {
|
|
727
769
|
readonly ConnectionString: string;
|
|
728
770
|
Password: string;
|
|
729
771
|
Clear(): void;
|
|
730
772
|
CreateBatch(): NpgsqlBatch;
|
|
731
773
|
CreateCommand(commandText?: string): NpgsqlCommand;
|
|
732
774
|
CreateConnection(): NpgsqlConnection;
|
|
775
|
+
CreateDbBatch(): DbBatch;
|
|
776
|
+
CreateDbCommand(commandText?: string): DbCommand;
|
|
777
|
+
CreateDbConnection(): DbConnection;
|
|
778
|
+
Dispose(disposing: boolean): void;
|
|
779
|
+
DisposeAsyncBase(): ValueTask;
|
|
780
|
+
DisposeAsyncCore(): ValueTask;
|
|
781
|
+
DisposeBase(): void;
|
|
733
782
|
OpenConnection(): NpgsqlConnection;
|
|
734
|
-
OpenConnectionAsync(cancellationToken?: CancellationToken):
|
|
783
|
+
OpenConnectionAsync(cancellationToken?: CancellationToken): ValueTask_1<NpgsqlConnection>;
|
|
784
|
+
OpenDbConnection(): DbConnection;
|
|
785
|
+
OpenDbConnectionAsync(cancellationToken?: CancellationToken): ValueTask_1<DbConnection>;
|
|
735
786
|
ReloadTypes(): void;
|
|
736
787
|
ReloadTypesAsync(cancellationToken?: CancellationToken): Task;
|
|
737
788
|
}
|
|
@@ -746,16 +797,21 @@ export const NpgsqlDataSource: {
|
|
|
746
797
|
export type NpgsqlDataSource = NpgsqlDataSource$instance;
|
|
747
798
|
|
|
748
799
|
export interface NpgsqlDataSourceBuilder$instance {
|
|
800
|
+
readonly __tsonic_type_Npgsql_NpgsqlDataSourceBuilder: never;
|
|
801
|
+
|
|
802
|
+
readonly __tsonic_iface_Npgsql_TypeMapping_INpgsqlTypeMapper: never;
|
|
803
|
+
|
|
749
804
|
readonly ConnectionString: string;
|
|
750
805
|
readonly ConnectionStringBuilder: NpgsqlConnectionStringBuilder;
|
|
751
806
|
DefaultNameTranslator: INpgsqlNameTranslator;
|
|
752
|
-
Name: string;
|
|
807
|
+
get Name(): string | undefined;
|
|
808
|
+
set Name(value: string | undefined);
|
|
753
809
|
AddTypeInfoResolverFactory(factory: PgTypeInfoResolverFactory): void;
|
|
754
810
|
Build(): NpgsqlDataSource;
|
|
755
811
|
BuildMultiHost(): NpgsqlMultiHostDataSource;
|
|
756
812
|
ConfigureJsonOptions(serializerOptions: JsonSerializerOptions): NpgsqlDataSourceBuilder;
|
|
757
|
-
ConfigureTracing(configureAction:
|
|
758
|
-
ConfigureTypeLoading(configureAction:
|
|
813
|
+
ConfigureTracing(configureAction: Action_1<NpgsqlTracingOptionsBuilder>): NpgsqlDataSourceBuilder;
|
|
814
|
+
ConfigureTypeLoading(configureAction: Action_1<NpgsqlTypeLoadingOptionsBuilder>): NpgsqlDataSourceBuilder;
|
|
759
815
|
EnableDynamicJson(jsonbClrTypes?: Type[], jsonClrTypes?: Type[]): NpgsqlDataSourceBuilder;
|
|
760
816
|
EnableParameterLogging(parameterLoggingEnabled?: boolean): NpgsqlDataSourceBuilder;
|
|
761
817
|
EnableRecordsAsTuples(): NpgsqlDataSourceBuilder;
|
|
@@ -770,17 +826,17 @@ export interface NpgsqlDataSourceBuilder$instance {
|
|
|
770
826
|
UnmapEnum(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
771
827
|
UseClientCertificate(clientCertificate: X509Certificate): NpgsqlDataSourceBuilder;
|
|
772
828
|
UseClientCertificates(clientCertificates: X509CertificateCollection): NpgsqlDataSourceBuilder;
|
|
773
|
-
UseClientCertificatesCallback(clientCertificatesCallback:
|
|
829
|
+
UseClientCertificatesCallback(clientCertificatesCallback: Action_1<X509CertificateCollection>): NpgsqlDataSourceBuilder;
|
|
774
830
|
UseLoggerFactory(loggerFactory: ILoggerFactory): NpgsqlDataSourceBuilder;
|
|
775
|
-
UseNegotiateOptionsCallback(negotiateOptionsCallback:
|
|
776
|
-
UsePasswordProvider(passwordProvider:
|
|
777
|
-
UsePeriodicPasswordProvider(passwordProvider:
|
|
778
|
-
UsePhysicalConnectionInitializer(connectionInitializer:
|
|
831
|
+
UseNegotiateOptionsCallback(negotiateOptionsCallback: Action_1<NegotiateAuthenticationClientOptions>): NpgsqlDataSourceBuilder;
|
|
832
|
+
UsePasswordProvider(passwordProvider: Func_2<NpgsqlConnectionStringBuilder, System_Internal.String>, passwordProviderAsync: Func_3<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask_1<System_Internal.String>>): NpgsqlDataSourceBuilder;
|
|
833
|
+
UsePeriodicPasswordProvider(passwordProvider: Func_3<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask_1<System_Internal.String>>, successRefreshInterval: TimeSpan, failureRefreshInterval: TimeSpan): NpgsqlDataSourceBuilder;
|
|
834
|
+
UsePhysicalConnectionInitializer(connectionInitializer: Action_1<NpgsqlConnection>, connectionInitializerAsync: Func_2<NpgsqlConnection, Task>): NpgsqlDataSourceBuilder;
|
|
779
835
|
UseRootCertificate(rootCertificate: X509Certificate2): NpgsqlDataSourceBuilder;
|
|
780
|
-
UseRootCertificateCallback(rootCertificateCallback:
|
|
836
|
+
UseRootCertificateCallback(rootCertificateCallback: Func_1<X509Certificate2>): NpgsqlDataSourceBuilder;
|
|
781
837
|
UseRootCertificates(rootCertificates: X509Certificate2Collection): NpgsqlDataSourceBuilder;
|
|
782
|
-
UseRootCertificatesCallback(rootCertificateCallback:
|
|
783
|
-
UseSslClientAuthenticationOptionsCallback(sslClientAuthenticationOptionsCallback:
|
|
838
|
+
UseRootCertificatesCallback(rootCertificateCallback: Func_1<X509Certificate2Collection>): NpgsqlDataSourceBuilder;
|
|
839
|
+
UseSslClientAuthenticationOptionsCallback(sslClientAuthenticationOptionsCallback: Action_1<SslClientAuthenticationOptions>): NpgsqlDataSourceBuilder;
|
|
784
840
|
UseUserCertificateValidationCallback(userCertificateValidationCallback: RemoteCertificateValidationCallback): NpgsqlDataSourceBuilder;
|
|
785
841
|
}
|
|
786
842
|
|
|
@@ -797,14 +853,14 @@ export interface __NpgsqlDataSourceBuilder$views {
|
|
|
797
853
|
export type NpgsqlDataSourceBuilder = NpgsqlDataSourceBuilder$instance & __NpgsqlDataSourceBuilder$views;
|
|
798
854
|
|
|
799
855
|
|
|
800
|
-
export
|
|
801
|
-
|
|
802
|
-
}
|
|
856
|
+
export interface NpgsqlException$instance extends DbException {
|
|
857
|
+
readonly __tsonic_type_Npgsql_NpgsqlException: never;
|
|
803
858
|
|
|
859
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
804
860
|
|
|
805
|
-
export interface NpgsqlException$instance extends NpgsqlException$protected, DbException {
|
|
806
861
|
get BatchCommand(): NpgsqlBatchCommand | undefined;
|
|
807
|
-
set BatchCommand(value: NpgsqlBatchCommand);
|
|
862
|
+
set BatchCommand(value: NpgsqlBatchCommand | undefined);
|
|
863
|
+
readonly DbBatchCommand: DbBatchCommand | undefined;
|
|
808
864
|
readonly IsTransient: boolean;
|
|
809
865
|
}
|
|
810
866
|
|
|
@@ -813,13 +869,16 @@ export const NpgsqlException: {
|
|
|
813
869
|
new(): NpgsqlException;
|
|
814
870
|
new(message: string, innerException: Exception): NpgsqlException;
|
|
815
871
|
new(message: string): NpgsqlException;
|
|
816
|
-
new(info: SerializationInfo, context: StreamingContext): NpgsqlException;
|
|
817
872
|
};
|
|
818
873
|
|
|
819
874
|
|
|
820
875
|
export type NpgsqlException = NpgsqlException$instance;
|
|
821
876
|
|
|
822
877
|
export interface NpgsqlFactory$instance extends DbProviderFactory {
|
|
878
|
+
readonly __tsonic_type_Npgsql_NpgsqlFactory: never;
|
|
879
|
+
|
|
880
|
+
readonly __tsonic_iface_System_IServiceProvider: never;
|
|
881
|
+
|
|
823
882
|
readonly CanCreateBatch: boolean;
|
|
824
883
|
readonly CanCreateCommandBuilder: boolean;
|
|
825
884
|
readonly CanCreateDataAdapter: boolean;
|
|
@@ -837,7 +896,6 @@ export interface NpgsqlFactory$instance extends DbProviderFactory {
|
|
|
837
896
|
|
|
838
897
|
|
|
839
898
|
export const NpgsqlFactory: {
|
|
840
|
-
new(): NpgsqlFactory;
|
|
841
899
|
readonly Instance: NpgsqlFactory;
|
|
842
900
|
};
|
|
843
901
|
|
|
@@ -845,18 +903,20 @@ export const NpgsqlFactory: {
|
|
|
845
903
|
export type NpgsqlFactory = NpgsqlFactory$instance;
|
|
846
904
|
|
|
847
905
|
export interface NpgsqlLargeObjectManager$instance {
|
|
906
|
+
readonly __tsonic_type_Npgsql_NpgsqlLargeObjectManager: never;
|
|
907
|
+
|
|
848
908
|
readonly Has64BitSupport: boolean;
|
|
849
909
|
MaxTransferBlockSize: int;
|
|
850
910
|
Create(preferredOid?: uint): uint;
|
|
851
|
-
CreateAsync(preferredOid: uint, cancellationToken?: CancellationToken):
|
|
911
|
+
CreateAsync(preferredOid: uint, cancellationToken?: CancellationToken): Task_1<System_Internal.UInt32>;
|
|
852
912
|
ExportRemote(oid: uint, path: string): void;
|
|
853
913
|
ExportRemoteAsync(oid: uint, path: string, cancellationToken?: CancellationToken): Task;
|
|
854
914
|
ImportRemote(path: string, oid?: uint): void;
|
|
855
915
|
ImportRemoteAsync(path: string, oid: uint, cancellationToken?: CancellationToken): Task;
|
|
856
916
|
OpenRead(oid: uint): NpgsqlLargeObjectStream;
|
|
857
|
-
OpenReadAsync(oid: uint, cancellationToken?: CancellationToken):
|
|
917
|
+
OpenReadAsync(oid: uint, cancellationToken?: CancellationToken): Task_1<NpgsqlLargeObjectStream>;
|
|
858
918
|
OpenReadWrite(oid: uint): NpgsqlLargeObjectStream;
|
|
859
|
-
OpenReadWriteAsync(oid: uint, cancellationToken?: CancellationToken):
|
|
919
|
+
OpenReadWriteAsync(oid: uint, cancellationToken?: CancellationToken): Task_1<NpgsqlLargeObjectStream>;
|
|
860
920
|
Unlink(oid: uint): void;
|
|
861
921
|
UnlinkAsync(oid: uint, cancellationToken?: CancellationToken): Task;
|
|
862
922
|
}
|
|
@@ -869,12 +929,12 @@ export const NpgsqlLargeObjectManager: {
|
|
|
869
929
|
|
|
870
930
|
export type NpgsqlLargeObjectManager = NpgsqlLargeObjectManager$instance;
|
|
871
931
|
|
|
872
|
-
export
|
|
873
|
-
|
|
874
|
-
}
|
|
932
|
+
export interface NpgsqlLargeObjectStream$instance extends Stream {
|
|
933
|
+
readonly __tsonic_type_Npgsql_NpgsqlLargeObjectStream: never;
|
|
875
934
|
|
|
935
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
936
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
876
937
|
|
|
877
|
-
export interface NpgsqlLargeObjectStream$instance extends NpgsqlLargeObjectStream$protected, Stream {
|
|
878
938
|
readonly CanRead: boolean;
|
|
879
939
|
readonly CanSeek: boolean;
|
|
880
940
|
readonly CanTimeout: boolean;
|
|
@@ -883,12 +943,13 @@ export interface NpgsqlLargeObjectStream$instance extends NpgsqlLargeObjectStrea
|
|
|
883
943
|
readonly Length: long;
|
|
884
944
|
Position: long;
|
|
885
945
|
Close(): void;
|
|
946
|
+
Dispose(disposing: boolean): void;
|
|
886
947
|
Flush(): void;
|
|
887
|
-
GetLengthAsync(cancellationToken?: CancellationToken):
|
|
948
|
+
GetLengthAsync(cancellationToken?: CancellationToken): Task_1<System_Internal.Int64>;
|
|
888
949
|
Read(buffer: byte[], offset: int, count: int): int;
|
|
889
|
-
ReadAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken):
|
|
950
|
+
ReadAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
890
951
|
Seek(offset: long, origin: SeekOrigin): long;
|
|
891
|
-
SeekAsync(offset: long, origin: SeekOrigin, cancellationToken?: CancellationToken):
|
|
952
|
+
SeekAsync(offset: long, origin: SeekOrigin, cancellationToken?: CancellationToken): Task_1<System_Internal.Int64>;
|
|
892
953
|
SetLength(value: long): void;
|
|
893
954
|
SetLength(value: long, cancellationToken: CancellationToken): Task;
|
|
894
955
|
Write(buffer: byte[], offset: int, count: int): void;
|
|
@@ -897,18 +958,18 @@ export interface NpgsqlLargeObjectStream$instance extends NpgsqlLargeObjectStrea
|
|
|
897
958
|
|
|
898
959
|
|
|
899
960
|
export const NpgsqlLargeObjectStream: {
|
|
900
|
-
new(): NpgsqlLargeObjectStream;
|
|
901
961
|
};
|
|
902
962
|
|
|
903
963
|
|
|
904
964
|
export type NpgsqlLargeObjectStream = NpgsqlLargeObjectStream$instance;
|
|
905
965
|
|
|
906
966
|
export interface NpgsqlLoggingConfiguration$instance {
|
|
967
|
+
readonly __tsonic_type_Npgsql_NpgsqlLoggingConfiguration: never;
|
|
968
|
+
|
|
907
969
|
}
|
|
908
970
|
|
|
909
971
|
|
|
910
972
|
export const NpgsqlLoggingConfiguration: {
|
|
911
|
-
new(): NpgsqlLoggingConfiguration;
|
|
912
973
|
InitializeLogging(loggerFactory: ILoggerFactory, parameterLoggingEnabled?: boolean): void;
|
|
913
974
|
};
|
|
914
975
|
|
|
@@ -916,6 +977,8 @@ export const NpgsqlLoggingConfiguration: {
|
|
|
916
977
|
export type NpgsqlLoggingConfiguration = NpgsqlLoggingConfiguration$instance;
|
|
917
978
|
|
|
918
979
|
export interface NpgsqlMetricsOptions$instance {
|
|
980
|
+
readonly __tsonic_type_Npgsql_NpgsqlMetricsOptions: never;
|
|
981
|
+
|
|
919
982
|
}
|
|
920
983
|
|
|
921
984
|
|
|
@@ -927,38 +990,45 @@ export const NpgsqlMetricsOptions: {
|
|
|
927
990
|
export type NpgsqlMetricsOptions = NpgsqlMetricsOptions$instance;
|
|
928
991
|
|
|
929
992
|
export interface NpgsqlMultiHostDataSource$instance extends NpgsqlDataSource {
|
|
993
|
+
readonly __tsonic_type_Npgsql_NpgsqlMultiHostDataSource: never;
|
|
994
|
+
|
|
995
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
996
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
997
|
+
|
|
930
998
|
Clear(): void;
|
|
931
999
|
ClearDatabaseStates(): void;
|
|
932
1000
|
CreateConnection(targetSessionAttributes: TargetSessionAttributes): NpgsqlConnection;
|
|
933
1001
|
CreateConnection(): NpgsqlConnection;
|
|
934
1002
|
OpenConnection(targetSessionAttributes: TargetSessionAttributes): NpgsqlConnection;
|
|
935
1003
|
OpenConnection(): NpgsqlConnection;
|
|
936
|
-
OpenConnectionAsync(targetSessionAttributes: TargetSessionAttributes, cancellationToken?: CancellationToken):
|
|
937
|
-
OpenConnectionAsync(cancellationToken?: CancellationToken):
|
|
1004
|
+
OpenConnectionAsync(targetSessionAttributes: TargetSessionAttributes, cancellationToken?: CancellationToken): ValueTask_1<NpgsqlConnection>;
|
|
1005
|
+
OpenConnectionAsync(cancellationToken?: CancellationToken): ValueTask_1<NpgsqlConnection>;
|
|
938
1006
|
WithTargetSession(targetSessionAttributes: TargetSessionAttributes): NpgsqlDataSource;
|
|
939
1007
|
}
|
|
940
1008
|
|
|
941
1009
|
|
|
942
1010
|
export const NpgsqlMultiHostDataSource: {
|
|
943
|
-
new(): NpgsqlMultiHostDataSource;
|
|
944
1011
|
};
|
|
945
1012
|
|
|
946
1013
|
|
|
947
1014
|
export type NpgsqlMultiHostDataSource = NpgsqlMultiHostDataSource$instance;
|
|
948
1015
|
|
|
949
|
-
export
|
|
950
|
-
|
|
951
|
-
protected GetDbDataReader(ordinal: int): DbDataReader;
|
|
952
|
-
}
|
|
1016
|
+
export interface NpgsqlNestedDataReader$instance extends DbDataReader {
|
|
1017
|
+
readonly __tsonic_type_Npgsql_NpgsqlNestedDataReader: never;
|
|
953
1018
|
|
|
1019
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
1020
|
+
readonly __tsonic_iface_System_Data_IDataReader: never;
|
|
1021
|
+
readonly __tsonic_iface_System_Data_IDataRecord: never;
|
|
1022
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
1023
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
954
1024
|
|
|
955
|
-
export interface NpgsqlNestedDataReader$instance extends NpgsqlNestedDataReader$protected, DbDataReader {
|
|
956
1025
|
readonly Depth: int;
|
|
957
1026
|
readonly FieldCount: int;
|
|
958
1027
|
readonly HasRows: boolean;
|
|
959
1028
|
readonly IsClosed: boolean;
|
|
960
1029
|
readonly RecordsAffected: int;
|
|
961
1030
|
Close(): void;
|
|
1031
|
+
Dispose(disposing: boolean): void;
|
|
962
1032
|
get_Item(ordinal: int): unknown;
|
|
963
1033
|
get_Item(name: string): unknown;
|
|
964
1034
|
GetBoolean(ordinal: int): boolean;
|
|
@@ -969,6 +1039,7 @@ export interface NpgsqlNestedDataReader$instance extends NpgsqlNestedDataReader$
|
|
|
969
1039
|
GetData(ordinal: int): NpgsqlNestedDataReader;
|
|
970
1040
|
GetDataTypeName(ordinal: int): string;
|
|
971
1041
|
GetDateTime(ordinal: int): DateTime;
|
|
1042
|
+
GetDbDataReader(ordinal: int): DbDataReader;
|
|
972
1043
|
GetDecimal(ordinal: int): decimal;
|
|
973
1044
|
GetDouble(ordinal: int): double;
|
|
974
1045
|
GetEnumerator(): IEnumerator;
|
|
@@ -991,25 +1062,27 @@ export interface NpgsqlNestedDataReader$instance extends NpgsqlNestedDataReader$
|
|
|
991
1062
|
|
|
992
1063
|
|
|
993
1064
|
export const NpgsqlNestedDataReader: {
|
|
994
|
-
new(): NpgsqlNestedDataReader;
|
|
995
1065
|
};
|
|
996
1066
|
|
|
997
1067
|
|
|
998
1068
|
export type NpgsqlNestedDataReader = NpgsqlNestedDataReader$instance;
|
|
999
1069
|
|
|
1000
1070
|
export interface NpgsqlNoticeEventArgs$instance extends EventArgs {
|
|
1071
|
+
readonly __tsonic_type_Npgsql_NpgsqlNoticeEventArgs: never;
|
|
1072
|
+
|
|
1001
1073
|
readonly Notice: PostgresNotice;
|
|
1002
1074
|
}
|
|
1003
1075
|
|
|
1004
1076
|
|
|
1005
1077
|
export const NpgsqlNoticeEventArgs: {
|
|
1006
|
-
new(): NpgsqlNoticeEventArgs;
|
|
1007
1078
|
};
|
|
1008
1079
|
|
|
1009
1080
|
|
|
1010
1081
|
export type NpgsqlNoticeEventArgs = NpgsqlNoticeEventArgs$instance;
|
|
1011
1082
|
|
|
1012
1083
|
export interface NpgsqlNotificationEventArgs$instance extends EventArgs {
|
|
1084
|
+
readonly __tsonic_type_Npgsql_NpgsqlNotificationEventArgs: never;
|
|
1085
|
+
|
|
1013
1086
|
readonly Channel: string;
|
|
1014
1087
|
readonly Payload: string;
|
|
1015
1088
|
readonly PID: int;
|
|
@@ -1017,13 +1090,16 @@ export interface NpgsqlNotificationEventArgs$instance extends EventArgs {
|
|
|
1017
1090
|
|
|
1018
1091
|
|
|
1019
1092
|
export const NpgsqlNotificationEventArgs: {
|
|
1020
|
-
new(): NpgsqlNotificationEventArgs;
|
|
1021
1093
|
};
|
|
1022
1094
|
|
|
1023
1095
|
|
|
1024
1096
|
export type NpgsqlNotificationEventArgs = NpgsqlNotificationEventArgs$instance;
|
|
1025
1097
|
|
|
1026
1098
|
export interface NpgsqlOperationInProgressException$instance extends NpgsqlException {
|
|
1099
|
+
readonly __tsonic_type_Npgsql_NpgsqlOperationInProgressException: never;
|
|
1100
|
+
|
|
1101
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1102
|
+
|
|
1027
1103
|
readonly CommandInProgress: NpgsqlCommand | undefined;
|
|
1028
1104
|
}
|
|
1029
1105
|
|
|
@@ -1036,19 +1112,25 @@ export const NpgsqlOperationInProgressException: {
|
|
|
1036
1112
|
export type NpgsqlOperationInProgressException = NpgsqlOperationInProgressException$instance;
|
|
1037
1113
|
|
|
1038
1114
|
export interface NpgsqlParameter$instance extends DbParameter {
|
|
1115
|
+
readonly __tsonic_type_Npgsql_NpgsqlParameter: never;
|
|
1116
|
+
|
|
1117
|
+
readonly __tsonic_iface_System_Data_IDataParameter: never;
|
|
1118
|
+
readonly __tsonic_iface_System_Data_IDbDataParameter: never;
|
|
1119
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
1120
|
+
|
|
1039
1121
|
get Collection(): NpgsqlParameterCollection | undefined;
|
|
1040
|
-
set Collection(value: NpgsqlParameterCollection);
|
|
1122
|
+
set Collection(value: NpgsqlParameterCollection | undefined);
|
|
1041
1123
|
get DataTypeName(): string | undefined;
|
|
1042
|
-
set DataTypeName(value: string);
|
|
1124
|
+
set DataTypeName(value: string | undefined);
|
|
1043
1125
|
DbType: DbType;
|
|
1044
1126
|
Direction: ParameterDirection;
|
|
1045
1127
|
IsNullable: boolean;
|
|
1046
1128
|
NpgsqlDbType: NpgsqlDbType;
|
|
1047
1129
|
get NpgsqlValue(): unknown | undefined;
|
|
1048
|
-
set NpgsqlValue(value: unknown);
|
|
1130
|
+
set NpgsqlValue(value: unknown | undefined);
|
|
1049
1131
|
ParameterName: string;
|
|
1050
1132
|
get PostgresType(): PostgresType | undefined;
|
|
1051
|
-
set PostgresType(value: PostgresType);
|
|
1133
|
+
set PostgresType(value: PostgresType | undefined);
|
|
1052
1134
|
Precision: byte;
|
|
1053
1135
|
Scale: byte;
|
|
1054
1136
|
Size: int;
|
|
@@ -1056,7 +1138,7 @@ export interface NpgsqlParameter$instance extends DbParameter {
|
|
|
1056
1138
|
SourceColumnNullMapping: boolean;
|
|
1057
1139
|
SourceVersion: DataRowVersion;
|
|
1058
1140
|
get Value(): unknown | undefined;
|
|
1059
|
-
set Value(value: unknown);
|
|
1141
|
+
set Value(value: unknown | undefined);
|
|
1060
1142
|
Clone(): NpgsqlParameter;
|
|
1061
1143
|
ResetDbType(): void;
|
|
1062
1144
|
}
|
|
@@ -1079,9 +1161,15 @@ export const NpgsqlParameter: {
|
|
|
1079
1161
|
export type NpgsqlParameter = NpgsqlParameter$instance;
|
|
1080
1162
|
|
|
1081
1163
|
export interface NpgsqlParameter_1$instance<T> extends NpgsqlParameter {
|
|
1164
|
+
readonly __tsonic_type_Npgsql_NpgsqlParameter_1: never;
|
|
1165
|
+
|
|
1166
|
+
readonly __tsonic_iface_System_Data_IDataParameter: never;
|
|
1167
|
+
readonly __tsonic_iface_System_Data_IDbDataParameter: never;
|
|
1168
|
+
readonly __tsonic_iface_System_ICloneable: never;
|
|
1169
|
+
|
|
1082
1170
|
TypedValue: T | undefined;
|
|
1083
1171
|
get Value(): unknown | undefined;
|
|
1084
|
-
set Value(value: unknown);
|
|
1172
|
+
set Value(value: unknown | undefined);
|
|
1085
1173
|
}
|
|
1086
1174
|
|
|
1087
1175
|
|
|
@@ -1095,15 +1183,17 @@ export const NpgsqlParameter_1: {
|
|
|
1095
1183
|
|
|
1096
1184
|
export type NpgsqlParameter_1<T> = NpgsqlParameter_1$instance<T>;
|
|
1097
1185
|
|
|
1098
|
-
export
|
|
1099
|
-
|
|
1100
|
-
protected GetParameter(index: int): DbParameter;
|
|
1101
|
-
protected SetParameter(parameterName: string, value: DbParameter): void;
|
|
1102
|
-
protected SetParameter(index: int, value: DbParameter): void;
|
|
1103
|
-
}
|
|
1186
|
+
export interface NpgsqlParameterCollection$instance extends DbParameterCollection {
|
|
1187
|
+
readonly __tsonic_type_Npgsql_NpgsqlParameterCollection: never;
|
|
1104
1188
|
|
|
1189
|
+
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
1190
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
1191
|
+
readonly __tsonic_iface_System_Collections_Generic_IList_1: never;
|
|
1192
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
1193
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
1194
|
+
readonly __tsonic_iface_System_Collections_IList: never;
|
|
1195
|
+
readonly __tsonic_iface_System_Data_IDataParameterCollection: never;
|
|
1105
1196
|
|
|
1106
|
-
export interface NpgsqlParameterCollection$instance extends NpgsqlParameterCollection$protected, DbParameterCollection {
|
|
1107
1197
|
readonly Count: int;
|
|
1108
1198
|
readonly IsFixedSize: boolean;
|
|
1109
1199
|
readonly IsReadOnly: boolean;
|
|
@@ -1130,6 +1220,8 @@ export interface NpgsqlParameterCollection$instance extends NpgsqlParameterColle
|
|
|
1130
1220
|
get_Item(parameterName: string): NpgsqlParameter;
|
|
1131
1221
|
get_Item(index: int): NpgsqlParameter;
|
|
1132
1222
|
GetEnumerator(): IEnumerator;
|
|
1223
|
+
GetParameter(parameterName: string): DbParameter;
|
|
1224
|
+
GetParameter(index: int): DbParameter;
|
|
1133
1225
|
IndexOf(parameterName: string): int;
|
|
1134
1226
|
IndexOf(value: unknown): int;
|
|
1135
1227
|
IndexOf(item: NpgsqlParameter): int;
|
|
@@ -1142,24 +1234,26 @@ export interface NpgsqlParameterCollection$instance extends NpgsqlParameterColle
|
|
|
1142
1234
|
RemoveAt(index: int): void;
|
|
1143
1235
|
set_Item(parameterName: string, value: NpgsqlParameter): void;
|
|
1144
1236
|
set_Item(index: int, value: NpgsqlParameter): void;
|
|
1237
|
+
SetParameter(parameterName: string, value: DbParameter): void;
|
|
1238
|
+
SetParameter(index: int, value: DbParameter): void;
|
|
1145
1239
|
ToArray(): NpgsqlParameter[];
|
|
1146
1240
|
TryGetValue(parameterName: string, parameter: NpgsqlParameter): boolean;
|
|
1147
1241
|
}
|
|
1148
1242
|
|
|
1149
1243
|
|
|
1150
1244
|
export const NpgsqlParameterCollection: {
|
|
1151
|
-
new(): NpgsqlParameterCollection;
|
|
1152
1245
|
};
|
|
1153
1246
|
|
|
1154
1247
|
|
|
1155
1248
|
export type NpgsqlParameterCollection = NpgsqlParameterCollection$instance;
|
|
1156
1249
|
|
|
1157
|
-
export
|
|
1158
|
-
|
|
1159
|
-
}
|
|
1250
|
+
export interface NpgsqlRawCopyStream$instance extends Stream {
|
|
1251
|
+
readonly __tsonic_type_Npgsql_NpgsqlRawCopyStream: never;
|
|
1160
1252
|
|
|
1253
|
+
readonly __tsonic_iface_Npgsql_ICancelable: never;
|
|
1254
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
1255
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1161
1256
|
|
|
1162
|
-
export interface NpgsqlRawCopyStream$instance extends NpgsqlRawCopyStream$protected, Stream {
|
|
1163
1257
|
readonly CanRead: boolean;
|
|
1164
1258
|
readonly CanSeek: boolean;
|
|
1165
1259
|
readonly CanTimeout: boolean;
|
|
@@ -1170,30 +1264,32 @@ export interface NpgsqlRawCopyStream$instance extends NpgsqlRawCopyStream$protec
|
|
|
1170
1264
|
WriteTimeout: int;
|
|
1171
1265
|
Cancel(): void;
|
|
1172
1266
|
CancelAsync(): Task;
|
|
1267
|
+
Dispose(disposing: boolean): void;
|
|
1173
1268
|
DisposeAsync(): ValueTask;
|
|
1174
1269
|
Flush(): void;
|
|
1175
1270
|
FlushAsync(cancellationToken: CancellationToken): Task;
|
|
1176
1271
|
Read(buffer: byte[], offset: int, count: int): int;
|
|
1177
|
-
Read(span:
|
|
1178
|
-
ReadAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken):
|
|
1179
|
-
ReadAsync(buffer:
|
|
1272
|
+
Read(span: Span_1<System_Internal.Byte>): int;
|
|
1273
|
+
ReadAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
1274
|
+
ReadAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1180
1275
|
Seek(offset: long, origin: SeekOrigin): long;
|
|
1181
1276
|
SetLength(value: long): void;
|
|
1182
1277
|
Write(buffer: byte[], offset: int, count: int): void;
|
|
1183
|
-
Write(buffer:
|
|
1278
|
+
Write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1184
1279
|
WriteAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
|
|
1185
|
-
WriteAsync(buffer:
|
|
1280
|
+
WriteAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
1186
1281
|
}
|
|
1187
1282
|
|
|
1188
1283
|
|
|
1189
1284
|
export const NpgsqlRawCopyStream: {
|
|
1190
|
-
new(): NpgsqlRawCopyStream;
|
|
1191
1285
|
};
|
|
1192
1286
|
|
|
1193
1287
|
|
|
1194
1288
|
export type NpgsqlRawCopyStream = NpgsqlRawCopyStream$instance;
|
|
1195
1289
|
|
|
1196
1290
|
export interface NpgsqlRowUpdatedEventArgs$instance extends RowUpdatedEventArgs {
|
|
1291
|
+
readonly __tsonic_type_Npgsql_NpgsqlRowUpdatedEventArgs: never;
|
|
1292
|
+
|
|
1197
1293
|
}
|
|
1198
1294
|
|
|
1199
1295
|
|
|
@@ -1205,6 +1301,8 @@ export const NpgsqlRowUpdatedEventArgs: {
|
|
|
1205
1301
|
export type NpgsqlRowUpdatedEventArgs = NpgsqlRowUpdatedEventArgs$instance;
|
|
1206
1302
|
|
|
1207
1303
|
export interface NpgsqlRowUpdatingEventArgs$instance extends RowUpdatingEventArgs {
|
|
1304
|
+
readonly __tsonic_type_Npgsql_NpgsqlRowUpdatingEventArgs: never;
|
|
1305
|
+
|
|
1208
1306
|
}
|
|
1209
1307
|
|
|
1210
1308
|
|
|
@@ -1216,16 +1314,21 @@ export const NpgsqlRowUpdatingEventArgs: {
|
|
|
1216
1314
|
export type NpgsqlRowUpdatingEventArgs = NpgsqlRowUpdatingEventArgs$instance;
|
|
1217
1315
|
|
|
1218
1316
|
export interface NpgsqlSlimDataSourceBuilder$instance {
|
|
1317
|
+
readonly __tsonic_type_Npgsql_NpgsqlSlimDataSourceBuilder: never;
|
|
1318
|
+
|
|
1319
|
+
readonly __tsonic_iface_Npgsql_TypeMapping_INpgsqlTypeMapper: never;
|
|
1320
|
+
|
|
1219
1321
|
readonly ConnectionString: string;
|
|
1220
1322
|
readonly ConnectionStringBuilder: NpgsqlConnectionStringBuilder;
|
|
1221
1323
|
DefaultNameTranslator: INpgsqlNameTranslator;
|
|
1222
|
-
Name: string;
|
|
1324
|
+
get Name(): string | undefined;
|
|
1325
|
+
set Name(value: string | undefined);
|
|
1223
1326
|
AddTypeInfoResolverFactory(factory: PgTypeInfoResolverFactory): void;
|
|
1224
1327
|
Build(): NpgsqlDataSource;
|
|
1225
1328
|
BuildMultiHost(): NpgsqlMultiHostDataSource;
|
|
1226
1329
|
ConfigureJsonOptions(serializerOptions: JsonSerializerOptions): NpgsqlSlimDataSourceBuilder;
|
|
1227
|
-
ConfigureTracing(configureAction:
|
|
1228
|
-
ConfigureTypeLoading(configureAction:
|
|
1330
|
+
ConfigureTracing(configureAction: Action_1<NpgsqlTracingOptionsBuilder>): NpgsqlSlimDataSourceBuilder;
|
|
1331
|
+
ConfigureTypeLoading(configureAction: Action_1<NpgsqlTypeLoadingOptionsBuilder>): NpgsqlSlimDataSourceBuilder;
|
|
1229
1332
|
EnableArrays(): NpgsqlSlimDataSourceBuilder;
|
|
1230
1333
|
EnableCube(): NpgsqlSlimDataSourceBuilder;
|
|
1231
1334
|
EnableDynamicJson(jsonbClrTypes?: Type[], jsonClrTypes?: Type[]): NpgsqlSlimDataSourceBuilder;
|
|
@@ -1253,17 +1356,17 @@ export interface NpgsqlSlimDataSourceBuilder$instance {
|
|
|
1253
1356
|
UnmapEnum(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
1254
1357
|
UseClientCertificate(clientCertificate: X509Certificate): NpgsqlSlimDataSourceBuilder;
|
|
1255
1358
|
UseClientCertificates(clientCertificates: X509CertificateCollection): NpgsqlSlimDataSourceBuilder;
|
|
1256
|
-
UseClientCertificatesCallback(clientCertificatesCallback:
|
|
1359
|
+
UseClientCertificatesCallback(clientCertificatesCallback: Action_1<X509CertificateCollection>): NpgsqlSlimDataSourceBuilder;
|
|
1257
1360
|
UseLoggerFactory(loggerFactory: ILoggerFactory): NpgsqlSlimDataSourceBuilder;
|
|
1258
|
-
UseNegotiateOptionsCallback(negotiateOptionsCallback:
|
|
1259
|
-
UsePasswordProvider(passwordProvider:
|
|
1260
|
-
UsePeriodicPasswordProvider(passwordProvider:
|
|
1261
|
-
UsePhysicalConnectionInitializer(connectionInitializer:
|
|
1361
|
+
UseNegotiateOptionsCallback(negotiateOptionsCallback: Action_1<NegotiateAuthenticationClientOptions>): NpgsqlSlimDataSourceBuilder;
|
|
1362
|
+
UsePasswordProvider(passwordProvider: Func_2<NpgsqlConnectionStringBuilder, System_Internal.String>, passwordProviderAsync: Func_3<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask_1<System_Internal.String>>): NpgsqlSlimDataSourceBuilder;
|
|
1363
|
+
UsePeriodicPasswordProvider(passwordProvider: Func_3<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask_1<System_Internal.String>>, successRefreshInterval: TimeSpan, failureRefreshInterval: TimeSpan): NpgsqlSlimDataSourceBuilder;
|
|
1364
|
+
UsePhysicalConnectionInitializer(connectionInitializer: Action_1<NpgsqlConnection>, connectionInitializerAsync: Func_2<NpgsqlConnection, Task>): NpgsqlSlimDataSourceBuilder;
|
|
1262
1365
|
UseRootCertificate(rootCertificate: X509Certificate2): NpgsqlSlimDataSourceBuilder;
|
|
1263
|
-
UseRootCertificateCallback(rootCertificateCallback:
|
|
1366
|
+
UseRootCertificateCallback(rootCertificateCallback: Func_1<X509Certificate2>): NpgsqlSlimDataSourceBuilder;
|
|
1264
1367
|
UseRootCertificates(rootCertificates: X509Certificate2Collection): NpgsqlSlimDataSourceBuilder;
|
|
1265
|
-
UseRootCertificatesCallback(rootCertificateCallback:
|
|
1266
|
-
UseSslClientAuthenticationOptionsCallback(sslClientAuthenticationOptionsCallback:
|
|
1368
|
+
UseRootCertificatesCallback(rootCertificateCallback: Func_1<X509Certificate2Collection>): NpgsqlSlimDataSourceBuilder;
|
|
1369
|
+
UseSslClientAuthenticationOptionsCallback(sslClientAuthenticationOptionsCallback: Action_1<SslClientAuthenticationOptions>): NpgsqlSlimDataSourceBuilder;
|
|
1267
1370
|
UseUserCertificateValidationCallback(userCertificateValidationCallback: RemoteCertificateValidationCallback): NpgsqlSlimDataSourceBuilder;
|
|
1268
1371
|
}
|
|
1269
1372
|
|
|
@@ -1281,39 +1384,42 @@ export type NpgsqlSlimDataSourceBuilder = NpgsqlSlimDataSourceBuilder$instance &
|
|
|
1281
1384
|
|
|
1282
1385
|
|
|
1283
1386
|
export interface NpgsqlTracingOptionsBuilder$instance {
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1387
|
+
readonly __tsonic_type_Npgsql_NpgsqlTracingOptionsBuilder: never;
|
|
1388
|
+
|
|
1389
|
+
ConfigureBatchEnrichmentCallback(batchEnrichmentCallback: Action_2<Activity, NpgsqlBatch>): NpgsqlTracingOptionsBuilder;
|
|
1390
|
+
ConfigureBatchFilter(batchFilter: Func_2<NpgsqlBatch, System_Internal.Boolean>): NpgsqlTracingOptionsBuilder;
|
|
1391
|
+
ConfigureBatchSpanNameProvider(batchSpanNameProvider: Func_2<NpgsqlBatch, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1392
|
+
ConfigureCommandEnrichmentCallback(commandEnrichmentCallback: Action_2<Activity, NpgsqlCommand>): NpgsqlTracingOptionsBuilder;
|
|
1393
|
+
ConfigureCommandFilter(commandFilter: Func_2<NpgsqlCommand, System_Internal.Boolean>): NpgsqlTracingOptionsBuilder;
|
|
1394
|
+
ConfigureCommandSpanNameProvider(commandSpanNameProvider: Func_2<NpgsqlCommand, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1395
|
+
ConfigureCopyOperationEnrichmentCallback(copyOperationEnrichmentCallback: Action_2<Activity, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1396
|
+
ConfigureCopyOperationFilter(copyOperationFilter: Func_2<System_Internal.String, System_Internal.Boolean>): NpgsqlTracingOptionsBuilder;
|
|
1397
|
+
ConfigureCopyOperationSpanNameProvider(copyOperationSpanNameProvider: Func_2<System_Internal.String, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1293
1398
|
EnableFirstResponseEvent(enable?: boolean): NpgsqlTracingOptionsBuilder;
|
|
1294
1399
|
EnablePhysicalOpenTracing(enable?: boolean): NpgsqlTracingOptionsBuilder;
|
|
1295
1400
|
}
|
|
1296
1401
|
|
|
1297
1402
|
|
|
1298
1403
|
export const NpgsqlTracingOptionsBuilder: {
|
|
1299
|
-
new(): NpgsqlTracingOptionsBuilder;
|
|
1300
1404
|
};
|
|
1301
1405
|
|
|
1302
1406
|
|
|
1303
1407
|
export type NpgsqlTracingOptionsBuilder = NpgsqlTracingOptionsBuilder$instance;
|
|
1304
1408
|
|
|
1305
|
-
export
|
|
1306
|
-
|
|
1307
|
-
protected Dispose(disposing: boolean): void;
|
|
1308
|
-
}
|
|
1409
|
+
export interface NpgsqlTransaction$instance extends DbTransaction {
|
|
1410
|
+
readonly __tsonic_type_Npgsql_NpgsqlTransaction: never;
|
|
1309
1411
|
|
|
1412
|
+
readonly __tsonic_iface_System_Data_IDbTransaction: never;
|
|
1413
|
+
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
1414
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1310
1415
|
|
|
1311
|
-
export interface NpgsqlTransaction$instance extends NpgsqlTransaction$protected, DbTransaction {
|
|
1312
1416
|
readonly Connection: NpgsqlConnection | undefined;
|
|
1417
|
+
readonly DbConnection: DbConnection | undefined;
|
|
1313
1418
|
readonly IsolationLevel: IsolationLevel;
|
|
1314
1419
|
readonly SupportsSavepoints: boolean;
|
|
1315
1420
|
Commit(): void;
|
|
1316
1421
|
CommitAsync(cancellationToken?: CancellationToken): Task;
|
|
1422
|
+
Dispose(disposing: boolean): void;
|
|
1317
1423
|
DisposeAsync(): ValueTask;
|
|
1318
1424
|
Release(name: string): void;
|
|
1319
1425
|
ReleaseAsync(name: string, cancellationToken?: CancellationToken): Task;
|
|
@@ -1327,27 +1433,31 @@ export interface NpgsqlTransaction$instance extends NpgsqlTransaction$protected,
|
|
|
1327
1433
|
|
|
1328
1434
|
|
|
1329
1435
|
export const NpgsqlTransaction: {
|
|
1330
|
-
new(): NpgsqlTransaction;
|
|
1331
1436
|
};
|
|
1332
1437
|
|
|
1333
1438
|
|
|
1334
1439
|
export type NpgsqlTransaction = NpgsqlTransaction$instance;
|
|
1335
1440
|
|
|
1336
1441
|
export interface NpgsqlTypeLoadingOptionsBuilder$instance {
|
|
1442
|
+
readonly __tsonic_type_Npgsql_NpgsqlTypeLoadingOptionsBuilder: never;
|
|
1443
|
+
|
|
1337
1444
|
EnableTableCompositesLoading(enable?: boolean): NpgsqlTypeLoadingOptionsBuilder;
|
|
1338
1445
|
EnableTypeLoading(enable?: boolean): NpgsqlTypeLoadingOptionsBuilder;
|
|
1339
|
-
SetTypeLoadingSchemas(schemas:
|
|
1446
|
+
SetTypeLoadingSchemas(schemas: IEnumerable_1<System_Internal.String>): NpgsqlTypeLoadingOptionsBuilder;
|
|
1340
1447
|
}
|
|
1341
1448
|
|
|
1342
1449
|
|
|
1343
1450
|
export const NpgsqlTypeLoadingOptionsBuilder: {
|
|
1344
|
-
new(): NpgsqlTypeLoadingOptionsBuilder;
|
|
1345
1451
|
};
|
|
1346
1452
|
|
|
1347
1453
|
|
|
1348
1454
|
export type NpgsqlTypeLoadingOptionsBuilder = NpgsqlTypeLoadingOptionsBuilder$instance;
|
|
1349
1455
|
|
|
1350
1456
|
export interface PostgresException$instance extends NpgsqlException {
|
|
1457
|
+
readonly __tsonic_type_Npgsql_PostgresException: never;
|
|
1458
|
+
|
|
1459
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1460
|
+
|
|
1351
1461
|
readonly ColumnName: string | undefined;
|
|
1352
1462
|
readonly ConstraintName: string | undefined;
|
|
1353
1463
|
readonly DataTypeName: string | undefined;
|
|
@@ -1381,36 +1491,38 @@ export const PostgresException: {
|
|
|
1381
1491
|
export type PostgresException = PostgresException$instance;
|
|
1382
1492
|
|
|
1383
1493
|
export interface PostgresNotice$instance {
|
|
1494
|
+
readonly __tsonic_type_Npgsql_PostgresNotice: never;
|
|
1495
|
+
|
|
1384
1496
|
get ColumnName(): string | undefined;
|
|
1385
|
-
set ColumnName(value: string);
|
|
1497
|
+
set ColumnName(value: string | undefined);
|
|
1386
1498
|
get ConstraintName(): string | undefined;
|
|
1387
|
-
set ConstraintName(value: string);
|
|
1499
|
+
set ConstraintName(value: string | undefined);
|
|
1388
1500
|
get DataTypeName(): string | undefined;
|
|
1389
|
-
set DataTypeName(value: string);
|
|
1501
|
+
set DataTypeName(value: string | undefined);
|
|
1390
1502
|
get Detail(): string | undefined;
|
|
1391
|
-
set Detail(value: string);
|
|
1503
|
+
set Detail(value: string | undefined);
|
|
1392
1504
|
get File(): string | undefined;
|
|
1393
|
-
set File(value: string);
|
|
1505
|
+
set File(value: string | undefined);
|
|
1394
1506
|
get Hint(): string | undefined;
|
|
1395
|
-
set Hint(value: string);
|
|
1507
|
+
set Hint(value: string | undefined);
|
|
1396
1508
|
InternalPosition: int;
|
|
1397
1509
|
get InternalQuery(): string | undefined;
|
|
1398
|
-
set InternalQuery(value: string);
|
|
1510
|
+
set InternalQuery(value: string | undefined);
|
|
1399
1511
|
readonly InvariantSeverity: string;
|
|
1400
1512
|
get Line(): string | undefined;
|
|
1401
|
-
set Line(value: string);
|
|
1513
|
+
set Line(value: string | undefined);
|
|
1402
1514
|
MessageText: string;
|
|
1403
1515
|
Position: int;
|
|
1404
1516
|
get Routine(): string | undefined;
|
|
1405
|
-
set Routine(value: string);
|
|
1517
|
+
set Routine(value: string | undefined);
|
|
1406
1518
|
get SchemaName(): string | undefined;
|
|
1407
|
-
set SchemaName(value: string);
|
|
1519
|
+
set SchemaName(value: string | undefined);
|
|
1408
1520
|
Severity: string;
|
|
1409
1521
|
SqlState: string;
|
|
1410
1522
|
get TableName(): string | undefined;
|
|
1411
|
-
set TableName(value: string);
|
|
1523
|
+
set TableName(value: string | undefined);
|
|
1412
1524
|
get Where(): string | undefined;
|
|
1413
|
-
set Where(value: string);
|
|
1525
|
+
set Where(value: string | undefined);
|
|
1414
1526
|
}
|
|
1415
1527
|
|
|
1416
1528
|
|