@tsonic/efcore-npgsql 0.1.2 → 10.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.EntityFrameworkCore/bindings.json +8128 -11135
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +604 -604
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +29 -180
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +16 -16
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +18 -15
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.DependencyInjection/bindings.json +28 -26
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +2 -2
- package/Npgsql/bindings.json +10951 -18969
- package/Npgsql/internal/index.d.ts +1044 -1044
- package/Npgsql.BackendMessages/bindings.json +26 -39
- package/Npgsql.BackendMessages/internal/index.d.ts +3 -3
- package/Npgsql.EntityFrameworkCore.PostgreSQL/bindings.json +9 -66
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/bindings.json +93 -174
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/index.d.ts +12 -12
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/bindings.json +26 -201
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/internal/index.d.ts +17 -17
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/bindings.json +34 -48
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/internal/index.d.ts +4 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/bindings.json +124 -217
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/index.d.ts +17 -17
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/bindings.json +335 -693
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.d.ts +55 -55
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/bindings.json +390 -712
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.d.ts +56 -56
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/bindings.json +322 -703
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/index.d.ts +62 -62
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/bindings.json +99 -193
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/index.d.ts +9 -9
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/bindings.json +155 -612
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/index.d.ts +52 -52
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/bindings.json +33 -58
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/index.d.ts +4 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/bindings.json +92 -173
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/index.d.ts +13 -13
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/bindings.json +35 -72
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/index.d.ts +6 -6
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/bindings.json +129 -234
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/index.d.ts +20 -20
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/bindings.json +421 -864
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/index.d.ts +38 -38
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/bindings.json +41 -345
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/internal/index.d.ts +30 -30
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/bindings.json +952 -2015
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.d.ts +152 -152
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/bindings.json +240 -523
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/index.d.ts +21 -21
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/bindings.json +33 -61
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/index.d.ts +3 -3
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/bindings.json +276 -544
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/index.d.ts +36 -36
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/bindings.json +60 -110
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/index.d.ts +8 -8
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/bindings.json +1549 -4016
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/index.d.ts +159 -159
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/bindings.json +14 -34
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/internal/index.d.ts +1 -1
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/bindings.json +93 -187
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/index.d.ts +10 -10
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/bindings.json +37 -76
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/internal/index.d.ts +4 -4
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/bindings.json +108 -192
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/index.d.ts +8 -8
- package/Npgsql.Internal/bindings.json +1671 -3264
- package/Npgsql.Internal/internal/index.d.ts +243 -243
- package/Npgsql.Internal.Postgres/bindings.json +208 -434
- package/Npgsql.Internal.Postgres/internal/index.d.ts +33 -33
- package/Npgsql.NameTranslation/bindings.json +61 -116
- package/Npgsql.NameTranslation/internal/index.d.ts +5 -5
- package/Npgsql.PostgresTypes/bindings.json +175 -1000
- package/Npgsql.PostgresTypes/internal/index.d.ts +19 -19
- package/Npgsql.Replication/bindings.json +325 -1072
- package/Npgsql.Replication/internal/index.d.ts +46 -46
- package/Npgsql.Replication.Internal/bindings.json +44 -73
- package/Npgsql.Replication.Internal/internal/index.d.ts +5 -5
- package/Npgsql.Replication.PgOutput/bindings.json +191 -537
- package/Npgsql.Replication.PgOutput/internal/index.d.ts +30 -30
- package/Npgsql.Replication.PgOutput.Messages/bindings.json +662 -2866
- package/Npgsql.Replication.PgOutput.Messages/internal/index.d.ts +82 -82
- package/Npgsql.Replication.TestDecoding/bindings.json +91 -268
- package/Npgsql.Replication.TestDecoding/internal/index.d.ts +13 -13
- package/Npgsql.Schema/bindings.json +149 -322
- package/Npgsql.Schema/internal/index.d.ts +28 -28
- package/Npgsql.TypeMapping/bindings.json +92 -153
- package/Npgsql.TypeMapping/internal/index.d.ts +13 -13
- package/Npgsql.Util/bindings.json +9 -1
- package/NpgsqlTypes/bindings.json +1569 -4426
- package/NpgsqlTypes/internal/index.d.ts +280 -280
- package/__build/scripts/generate.sh +4 -4
- package/__internal/extensions/index.d.ts +71 -71
- package/package.json +5 -5
- package/Microsoft.EntityFrameworkCore/internal/metadata.json +0 -10154
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/metadata.json +0 -172
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/metadata.json +0 -49
- package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +0 -63
- package/Npgsql/internal/metadata.json +0 -15514
- package/Npgsql.BackendMessages/internal/metadata.json +0 -72
- package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/metadata.json +0 -60
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/metadata.json +0 -269
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/internal/metadata.json +0 -184
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/internal/metadata.json +0 -125
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/metadata.json +0 -342
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/metadata.json +0 -985
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/metadata.json +0 -1064
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/metadata.json +0 -990
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/metadata.json +0 -317
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/metadata.json +0 -664
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/metadata.json +0 -95
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/metadata.json +0 -262
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/metadata.json +0 -114
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/metadata.json +0 -351
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/metadata.json +0 -1349
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/internal/metadata.json +0 -304
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/metadata.json +0 -2783
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/metadata.json +0 -806
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/metadata.json +0 -102
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/metadata.json +0 -807
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/metadata.json +0 -186
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/metadata.json +0 -4823
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/internal/metadata.json +0 -51
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/metadata.json +0 -341
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/internal/metadata.json +0 -118
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/metadata.json +0 -323
- package/Npgsql.Internal/internal/metadata.json +0 -4555
- package/Npgsql.Internal.Postgres/internal/metadata.json +0 -619
- package/Npgsql.NameTranslation/internal/metadata.json +0 -173
- package/Npgsql.PostgresTypes/internal/metadata.json +0 -480
- package/Npgsql.Replication/internal/metadata.json +0 -972
- package/Npgsql.Replication.Internal/internal/metadata.json +0 -119
- package/Npgsql.Replication.PgOutput/internal/metadata.json +0 -644
- package/Npgsql.Replication.PgOutput.Messages/internal/metadata.json +0 -1905
- package/Npgsql.Replication.TestDecoding/internal/metadata.json +0 -283
- package/Npgsql.Schema/internal/metadata.json +0 -451
- package/Npgsql.TypeMapping/internal/metadata.json +0 -248
- package/Npgsql.Util/internal/metadata.json +0 -24
- package/NpgsqlTypes/internal/metadata.json +0 -5014
|
@@ -42,73 +42,73 @@ import type { Transaction } from "@tsonic/dotnet/System.Transactions.js";
|
|
|
42
42
|
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
43
43
|
|
|
44
44
|
export enum ArrayNullabilityMode {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
Never = 0,
|
|
46
|
+
Always = 1,
|
|
47
|
+
PerInstance = 2
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
export enum ChannelBinding {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
Disable = 0,
|
|
53
|
+
Prefer = 1,
|
|
54
|
+
Require = 2
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
export enum GssEncryptionMode {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
Disable = 0,
|
|
60
|
+
Prefer = 1,
|
|
61
|
+
Require = 2
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
export enum ServerCompatibilityMode {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
None = 0,
|
|
67
|
+
Redshift = 1,
|
|
68
|
+
NoTypeLoading = 2
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
export enum SslMode {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
73
|
+
Disable = 0,
|
|
74
|
+
Allow = 1,
|
|
75
|
+
Prefer = 2,
|
|
76
|
+
Require = 3,
|
|
77
|
+
VerifyCA = 4,
|
|
78
|
+
VerifyFull = 5
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
export enum SslNegotiation {
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
Postgres = 0,
|
|
84
|
+
Direct = 1
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
export enum StatementType {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
89
|
+
Unknown = 0,
|
|
90
|
+
Select = 1,
|
|
91
|
+
Insert = 2,
|
|
92
|
+
Delete = 3,
|
|
93
|
+
Update = 4,
|
|
94
|
+
CreateTableAs = 5,
|
|
95
|
+
Move = 6,
|
|
96
|
+
Fetch = 7,
|
|
97
|
+
Copy = 8,
|
|
98
|
+
Other = 9,
|
|
99
|
+
Merge = 10,
|
|
100
|
+
Call = 11
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
export enum TargetSessionAttributes {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
105
|
+
Any = 0,
|
|
106
|
+
ReadWrite = 1,
|
|
107
|
+
ReadOnly = 2,
|
|
108
|
+
Primary = 3,
|
|
109
|
+
Standby = 4,
|
|
110
|
+
PreferPrimary = 5,
|
|
111
|
+
PreferStandby = 6
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
|
|
@@ -131,32 +131,32 @@ export type ProvidePasswordCallback = (host: string, port: int, database: string
|
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
export interface INpgsqlNameTranslator$instance {
|
|
134
|
-
|
|
134
|
+
TranslateTypeName(clrName: string): string;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
|
|
138
138
|
export type INpgsqlNameTranslator = INpgsqlNameTranslator$instance;
|
|
139
139
|
|
|
140
140
|
export interface NpgsqlBatch$instance extends DbBatch {
|
|
141
|
-
readonly
|
|
142
|
-
get
|
|
143
|
-
set
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
get
|
|
147
|
-
set
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
141
|
+
readonly BatchCommands: NpgsqlBatchCommandCollection;
|
|
142
|
+
get Connection(): NpgsqlConnection | undefined;
|
|
143
|
+
set Connection(value: NpgsqlConnection);
|
|
144
|
+
EnableErrorBarriers: boolean;
|
|
145
|
+
Timeout: int;
|
|
146
|
+
get Transaction(): NpgsqlTransaction | undefined;
|
|
147
|
+
set Transaction(value: NpgsqlTransaction);
|
|
148
|
+
Cancel(): void;
|
|
149
|
+
CreateBatchCommand(): NpgsqlBatchCommand;
|
|
150
|
+
Dispose(): void;
|
|
151
|
+
ExecuteNonQuery(): int;
|
|
152
|
+
ExecuteNonQueryAsync(cancellationToken?: CancellationToken): Task<System_Internal.Int32>;
|
|
153
|
+
ExecuteReader(behavior?: CommandBehavior): NpgsqlDataReader;
|
|
154
|
+
ExecuteReaderAsync(cancellationToken?: CancellationToken): Task<NpgsqlDataReader>;
|
|
155
|
+
ExecuteReaderAsync(behavior: CommandBehavior, cancellationToken?: CancellationToken): Task<NpgsqlDataReader>;
|
|
156
|
+
ExecuteScalar(): unknown | undefined;
|
|
157
|
+
ExecuteScalarAsync(cancellationToken?: CancellationToken): Task<unknown | undefined>;
|
|
158
|
+
Prepare(): void;
|
|
159
|
+
PrepareAsync(cancellationToken?: CancellationToken): Task;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
|
|
@@ -168,17 +168,17 @@ export const NpgsqlBatch: {
|
|
|
168
168
|
export type NpgsqlBatch = NpgsqlBatch$instance;
|
|
169
169
|
|
|
170
170
|
export interface NpgsqlBatchCommand$instance extends DbBatchCommand {
|
|
171
|
-
|
|
172
|
-
readonly
|
|
173
|
-
|
|
174
|
-
|
|
171
|
+
AppendErrorBarrier: Nullable<System_Internal.Boolean>;
|
|
172
|
+
readonly CanCreateParameter: boolean;
|
|
173
|
+
CommandText: string;
|
|
174
|
+
CommandType: CommandType;
|
|
175
175
|
readonly OID: uint;
|
|
176
|
-
readonly
|
|
177
|
-
readonly
|
|
178
|
-
readonly
|
|
179
|
-
readonly
|
|
180
|
-
|
|
181
|
-
|
|
176
|
+
readonly Parameters: NpgsqlParameterCollection;
|
|
177
|
+
readonly RecordsAffected: int;
|
|
178
|
+
readonly Rows: ulong;
|
|
179
|
+
readonly StatementType: StatementType;
|
|
180
|
+
CreateParameter(): NpgsqlParameter;
|
|
181
|
+
ToString(): string;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
|
|
@@ -191,24 +191,24 @@ export const NpgsqlBatchCommand: {
|
|
|
191
191
|
export type NpgsqlBatchCommand = NpgsqlBatchCommand$instance;
|
|
192
192
|
|
|
193
193
|
export interface NpgsqlBatchCommandCollection$instance extends DbBatchCommandCollection {
|
|
194
|
-
readonly
|
|
195
|
-
readonly
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
194
|
+
readonly Count: int;
|
|
195
|
+
readonly IsReadOnly: boolean;
|
|
196
|
+
Item: NpgsqlBatchCommand;
|
|
197
|
+
Add(item: NpgsqlBatchCommand): void;
|
|
198
|
+
Add(item: DbBatchCommand): void;
|
|
199
|
+
Clear(): void;
|
|
200
|
+
Contains(item: NpgsqlBatchCommand): boolean;
|
|
201
|
+
Contains(item: DbBatchCommand): boolean;
|
|
202
|
+
CopyTo(array: NpgsqlBatchCommand[], arrayIndex: int): void;
|
|
203
|
+
CopyTo(array: DbBatchCommand[], arrayIndex: int): void;
|
|
204
|
+
GetEnumerator(): IEnumerator__System_Collections_Generic<DbBatchCommand>;
|
|
205
|
+
IndexOf(item: NpgsqlBatchCommand): int;
|
|
206
|
+
IndexOf(item: DbBatchCommand): int;
|
|
207
|
+
Insert(index: int, item: NpgsqlBatchCommand): void;
|
|
208
|
+
Insert(index: int, item: DbBatchCommand): void;
|
|
209
|
+
Remove(item: NpgsqlBatchCommand): boolean;
|
|
210
|
+
Remove(item: DbBatchCommand): boolean;
|
|
211
|
+
RemoveAt(index: int): void;
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
|
|
@@ -220,20 +220,20 @@ export const NpgsqlBatchCommandCollection: {
|
|
|
220
220
|
export type NpgsqlBatchCommandCollection = NpgsqlBatchCommandCollection$instance;
|
|
221
221
|
|
|
222
222
|
export interface NpgsqlBinaryExporter$instance {
|
|
223
|
-
readonly
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
223
|
+
readonly IsNull: boolean;
|
|
224
|
+
Timeout: TimeSpan;
|
|
225
|
+
Cancel(): void;
|
|
226
|
+
CancelAsync(): Task;
|
|
227
|
+
Dispose(): void;
|
|
228
|
+
DisposeAsync(): ValueTask;
|
|
229
|
+
Read<T>(): T;
|
|
230
|
+
Read<T>(type: NpgsqlDbType): T;
|
|
231
|
+
ReadAsync<T>(cancellationToken?: CancellationToken): ValueTask<T>;
|
|
232
|
+
ReadAsync<T>(type: NpgsqlDbType, cancellationToken?: CancellationToken): ValueTask<T>;
|
|
233
|
+
Skip(): void;
|
|
234
|
+
SkipAsync(cancellationToken?: CancellationToken): Task;
|
|
235
|
+
StartRow(): int;
|
|
236
|
+
StartRowAsync(cancellationToken?: CancellationToken): ValueTask<System_Internal.Int32>;
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
|
|
@@ -245,25 +245,25 @@ export const NpgsqlBinaryExporter: {
|
|
|
245
245
|
export type NpgsqlBinaryExporter = NpgsqlBinaryExporter$instance;
|
|
246
246
|
|
|
247
247
|
export interface NpgsqlBinaryImporter$instance {
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
248
|
+
Timeout: TimeSpan;
|
|
249
|
+
Close(): void;
|
|
250
|
+
CloseAsync(cancellationToken?: CancellationToken): ValueTask;
|
|
251
|
+
Complete(): ulong;
|
|
252
|
+
CompleteAsync(cancellationToken?: CancellationToken): ValueTask<System_Internal.UInt64>;
|
|
253
|
+
Dispose(): void;
|
|
254
|
+
DisposeAsync(): ValueTask;
|
|
255
|
+
StartRow(): void;
|
|
256
|
+
StartRowAsync(cancellationToken?: CancellationToken): Task;
|
|
257
|
+
Write<T>(value: T): void;
|
|
258
|
+
Write<T>(value: T, npgsqlDbType: NpgsqlDbType): void;
|
|
259
|
+
Write<T>(value: T, dataTypeName: string): void;
|
|
260
|
+
WriteAsync<T>(value: T, cancellationToken?: CancellationToken): Task;
|
|
261
|
+
WriteAsync<T>(value: T, npgsqlDbType: NpgsqlDbType, cancellationToken?: CancellationToken): Task;
|
|
262
|
+
WriteAsync<T>(value: T, dataTypeName: string, cancellationToken?: CancellationToken): Task;
|
|
263
|
+
WriteNull(): void;
|
|
264
|
+
WriteNullAsync(cancellationToken?: CancellationToken): Task;
|
|
265
|
+
WriteRow(...values: unknown[]): void;
|
|
266
|
+
WriteRowAsync(cancellationToken?: CancellationToken, ...values: unknown[]): Task;
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
|
|
@@ -275,35 +275,35 @@ export const NpgsqlBinaryImporter: {
|
|
|
275
275
|
export type NpgsqlBinaryImporter = NpgsqlBinaryImporter$instance;
|
|
276
276
|
|
|
277
277
|
export interface NpgsqlCommand$instance extends DbCommand {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
get
|
|
283
|
-
set
|
|
284
|
-
|
|
285
|
-
readonly
|
|
286
|
-
readonly
|
|
287
|
-
readonly
|
|
288
|
-
get
|
|
289
|
-
set
|
|
290
|
-
get
|
|
291
|
-
set
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
278
|
+
AllResultTypesAreUnknown: boolean;
|
|
279
|
+
CommandText: string;
|
|
280
|
+
CommandTimeout: int;
|
|
281
|
+
CommandType: CommandType;
|
|
282
|
+
get Connection(): NpgsqlConnection | undefined;
|
|
283
|
+
set Connection(value: NpgsqlConnection);
|
|
284
|
+
DesignTimeVisible: boolean;
|
|
285
|
+
readonly IsPrepared: boolean;
|
|
286
|
+
readonly Parameters: NpgsqlParameterCollection;
|
|
287
|
+
readonly Statements: IReadOnlyList<NpgsqlBatchCommand>;
|
|
288
|
+
get Transaction(): NpgsqlTransaction | undefined;
|
|
289
|
+
set Transaction(value: NpgsqlTransaction);
|
|
290
|
+
get UnknownResultTypeList(): boolean[] | undefined;
|
|
291
|
+
set UnknownResultTypeList(value: boolean[]);
|
|
292
|
+
UpdatedRowSource: UpdateRowSource;
|
|
293
|
+
Cancel(): void;
|
|
294
|
+
Clone(): NpgsqlCommand;
|
|
295
|
+
CreateParameter(): NpgsqlParameter;
|
|
296
|
+
ExecuteNonQuery(): int;
|
|
297
|
+
ExecuteNonQueryAsync(cancellationToken: CancellationToken): Task<System_Internal.Int32>;
|
|
298
|
+
ExecuteReader(behavior?: CommandBehavior): NpgsqlDataReader;
|
|
299
|
+
ExecuteReaderAsync(cancellationToken?: CancellationToken): Task<NpgsqlDataReader>;
|
|
300
|
+
ExecuteReaderAsync(behavior: CommandBehavior, cancellationToken?: CancellationToken): Task<NpgsqlDataReader>;
|
|
301
|
+
ExecuteScalar(): unknown | undefined;
|
|
302
|
+
ExecuteScalarAsync(cancellationToken: CancellationToken): Task<unknown | undefined>;
|
|
303
|
+
Prepare(): void;
|
|
304
|
+
PrepareAsync(cancellationToken?: CancellationToken): Task;
|
|
305
|
+
Unprepare(): void;
|
|
306
|
+
UnprepareAsync(cancellationToken?: CancellationToken): Task;
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
|
|
@@ -318,200 +318,200 @@ export const NpgsqlCommand: {
|
|
|
318
318
|
export type NpgsqlCommand = NpgsqlCommand$instance;
|
|
319
319
|
|
|
320
320
|
export interface NpgsqlCommandBuilder$instance extends DbCommandBuilder {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
321
|
+
QuotePrefix: string;
|
|
322
|
+
QuoteSuffix: string;
|
|
323
|
+
GetDeleteCommand(): NpgsqlCommand;
|
|
324
|
+
GetDeleteCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
325
|
+
GetInsertCommand(): NpgsqlCommand;
|
|
326
|
+
GetInsertCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
327
|
+
GetUpdateCommand(): NpgsqlCommand;
|
|
328
|
+
GetUpdateCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
329
|
+
QuoteIdentifier(unquotedIdentifier: string): string;
|
|
330
|
+
UnquoteIdentifier(quotedIdentifier: string): string;
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
|
|
334
334
|
export const NpgsqlCommandBuilder: {
|
|
335
335
|
new(): NpgsqlCommandBuilder;
|
|
336
336
|
new(adapter: NpgsqlDataAdapter): NpgsqlCommandBuilder;
|
|
337
|
-
|
|
337
|
+
DeriveParameters(command: NpgsqlCommand): void;
|
|
338
338
|
};
|
|
339
339
|
|
|
340
340
|
|
|
341
341
|
export type NpgsqlCommandBuilder = NpgsqlCommandBuilder$instance;
|
|
342
342
|
|
|
343
343
|
export interface NpgsqlConnection$instance extends DbConnection {
|
|
344
|
-
readonly
|
|
345
|
-
readonly
|
|
346
|
-
|
|
347
|
-
readonly
|
|
348
|
-
readonly
|
|
349
|
-
readonly
|
|
350
|
-
readonly
|
|
351
|
-
readonly
|
|
352
|
-
readonly
|
|
353
|
-
readonly
|
|
354
|
-
readonly
|
|
355
|
-
readonly
|
|
356
|
-
readonly
|
|
357
|
-
get
|
|
358
|
-
set
|
|
359
|
-
get
|
|
360
|
-
set
|
|
361
|
-
readonly
|
|
362
|
-
get
|
|
363
|
-
set
|
|
364
|
-
readonly
|
|
365
|
-
readonly
|
|
366
|
-
readonly
|
|
367
|
-
get
|
|
368
|
-
set
|
|
369
|
-
readonly
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
344
|
+
readonly CanCreateBatch: boolean;
|
|
345
|
+
readonly CommandTimeout: int;
|
|
346
|
+
ConnectionString: string;
|
|
347
|
+
readonly ConnectionTimeout: int;
|
|
348
|
+
readonly Database: string;
|
|
349
|
+
readonly DataSource: string;
|
|
350
|
+
readonly FullState: ConnectionState;
|
|
351
|
+
readonly HasIntegerDateTimes: boolean;
|
|
352
|
+
readonly Host: string | undefined;
|
|
353
|
+
readonly Port: int;
|
|
354
|
+
readonly PostgresParameters: IReadOnlyDictionary<System_Internal.String, System_Internal.String>;
|
|
355
|
+
readonly PostgreSqlVersion: Version;
|
|
356
|
+
readonly ProcessID: int;
|
|
357
|
+
get ProvideClientCertificatesCallback(): ProvideClientCertificatesCallback | undefined;
|
|
358
|
+
set ProvideClientCertificatesCallback(value: ProvideClientCertificatesCallback);
|
|
359
|
+
get ProvidePasswordCallback(): ProvidePasswordCallback | undefined;
|
|
360
|
+
set ProvidePasswordCallback(value: ProvidePasswordCallback);
|
|
361
|
+
readonly ServerVersion: string;
|
|
362
|
+
get SslClientAuthenticationOptionsCallback(): Action<SslClientAuthenticationOptions> | undefined;
|
|
363
|
+
set SslClientAuthenticationOptionsCallback(value: Action<SslClientAuthenticationOptions>);
|
|
364
|
+
readonly State: ConnectionState;
|
|
365
|
+
readonly Timezone: string;
|
|
366
|
+
readonly TypeMapper: INpgsqlTypeMapper;
|
|
367
|
+
get UserCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
|
|
368
|
+
set UserCertificateValidationCallback(value: RemoteCertificateValidationCallback);
|
|
369
|
+
readonly UserName: string | undefined;
|
|
370
|
+
BeginBinaryExport(copyToCommand: string): NpgsqlBinaryExporter;
|
|
371
|
+
BeginBinaryExportAsync(copyToCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlBinaryExporter>;
|
|
372
|
+
BeginBinaryImport(copyFromCommand: string): NpgsqlBinaryImporter;
|
|
373
|
+
BeginBinaryImportAsync(copyFromCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlBinaryImporter>;
|
|
374
|
+
BeginRawBinaryCopy(copyCommand: string): NpgsqlRawCopyStream;
|
|
375
|
+
BeginRawBinaryCopyAsync(copyCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlRawCopyStream>;
|
|
376
|
+
BeginTextExport(copyToCommand: string): NpgsqlCopyTextReader;
|
|
377
|
+
BeginTextExportAsync(copyToCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlCopyTextReader>;
|
|
378
|
+
BeginTextImport(copyFromCommand: string): NpgsqlCopyTextWriter;
|
|
379
|
+
BeginTextImportAsync(copyFromCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlCopyTextWriter>;
|
|
380
|
+
BeginTransaction(): NpgsqlTransaction;
|
|
381
|
+
BeginTransaction(level: IsolationLevel): NpgsqlTransaction;
|
|
382
|
+
BeginTransactionAsync(cancellationToken?: CancellationToken): ValueTask<NpgsqlTransaction>;
|
|
383
|
+
BeginTransactionAsync(level: IsolationLevel, cancellationToken?: CancellationToken): ValueTask<NpgsqlTransaction>;
|
|
384
|
+
ChangeDatabase(dbName: string): void;
|
|
385
|
+
CloneWith(connectionString: string): NpgsqlConnection;
|
|
386
|
+
CloneWithAsync(connectionString: string, cancellationToken?: CancellationToken): ValueTask<NpgsqlConnection>;
|
|
387
|
+
Close(): void;
|
|
388
|
+
CloseAsync(): Task;
|
|
389
|
+
CreateBatch(): NpgsqlBatch;
|
|
390
|
+
CreateCommand(): NpgsqlCommand;
|
|
391
|
+
DisposeAsync(): ValueTask;
|
|
392
|
+
EnlistTransaction(transaction: Transaction): void;
|
|
393
|
+
GetSchema(): DataTable;
|
|
394
|
+
GetSchema(collectionName: string): DataTable;
|
|
395
|
+
GetSchema(collectionName: string, restrictions: string[]): DataTable;
|
|
396
|
+
GetSchemaAsync(cancellationToken?: CancellationToken): Task<DataTable>;
|
|
397
|
+
GetSchemaAsync(collectionName: string, cancellationToken?: CancellationToken): Task<DataTable>;
|
|
398
|
+
GetSchemaAsync(collectionName: string, restrictions: string[], cancellationToken?: CancellationToken): Task<DataTable>;
|
|
399
|
+
Open(): void;
|
|
400
|
+
OpenAsync(cancellationToken: CancellationToken): Task;
|
|
401
|
+
ReloadTypes(): void;
|
|
402
|
+
ReloadTypesAsync(cancellationToken?: CancellationToken): Task;
|
|
403
|
+
UnprepareAll(): void;
|
|
404
|
+
Wait(timeout: int): boolean;
|
|
405
|
+
Wait(timeout: TimeSpan): boolean;
|
|
406
|
+
Wait(): void;
|
|
407
|
+
WaitAsync(timeout: int, cancellationToken?: CancellationToken): Task<System_Internal.Boolean>;
|
|
408
|
+
WaitAsync(timeout: TimeSpan, cancellationToken?: CancellationToken): Task<System_Internal.Boolean>;
|
|
409
|
+
WaitAsync(cancellationToken?: CancellationToken): Task;
|
|
410
410
|
}
|
|
411
411
|
|
|
412
412
|
|
|
413
413
|
export const NpgsqlConnection: {
|
|
414
414
|
new(): NpgsqlConnection;
|
|
415
415
|
new(connectionString: string): NpgsqlConnection;
|
|
416
|
-
readonly
|
|
417
|
-
readonly
|
|
418
|
-
|
|
419
|
-
|
|
416
|
+
readonly DefaultPort: int;
|
|
417
|
+
readonly GlobalTypeMapper: INpgsqlTypeMapper;
|
|
418
|
+
ClearAllPools(): void;
|
|
419
|
+
ClearPool(connection: NpgsqlConnection): void;
|
|
420
420
|
};
|
|
421
421
|
|
|
422
422
|
|
|
423
423
|
export type NpgsqlConnection = NpgsqlConnection$instance;
|
|
424
424
|
|
|
425
425
|
export interface NpgsqlConnectionStringBuilder$instance extends DbConnectionStringBuilder {
|
|
426
|
-
get
|
|
427
|
-
set
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
get
|
|
434
|
-
set
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
get
|
|
440
|
-
set
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
get
|
|
445
|
-
set
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
readonly
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
get
|
|
464
|
-
set
|
|
465
|
-
get
|
|
466
|
-
set
|
|
467
|
-
get
|
|
468
|
-
set
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
get
|
|
474
|
-
set
|
|
475
|
-
get
|
|
476
|
-
set
|
|
477
|
-
get
|
|
478
|
-
set
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
get
|
|
483
|
-
set
|
|
484
|
-
get
|
|
485
|
-
set
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
get
|
|
489
|
-
set
|
|
490
|
-
get
|
|
491
|
-
set
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
get
|
|
497
|
-
set
|
|
498
|
-
|
|
499
|
-
get
|
|
500
|
-
set
|
|
501
|
-
readonly
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
426
|
+
get ApplicationName(): string | undefined;
|
|
427
|
+
set ApplicationName(value: string);
|
|
428
|
+
ArrayNullabilityMode: ArrayNullabilityMode;
|
|
429
|
+
AutoPrepareMinUsages: int;
|
|
430
|
+
CancellationTimeout: int;
|
|
431
|
+
ChannelBinding: ChannelBinding;
|
|
432
|
+
CheckCertificateRevocation: boolean;
|
|
433
|
+
get ClientEncoding(): string | undefined;
|
|
434
|
+
set ClientEncoding(value: string);
|
|
435
|
+
CommandTimeout: int;
|
|
436
|
+
ConnectionIdleLifetime: int;
|
|
437
|
+
ConnectionLifetime: int;
|
|
438
|
+
ConnectionPruningInterval: int;
|
|
439
|
+
get Database(): string | undefined;
|
|
440
|
+
set Database(value: string);
|
|
441
|
+
Encoding: string;
|
|
442
|
+
Enlist: boolean;
|
|
443
|
+
GssEncryptionMode: GssEncryptionMode;
|
|
444
|
+
get Host(): string | undefined;
|
|
445
|
+
set Host(value: string);
|
|
446
|
+
HostRecheckSeconds: int;
|
|
447
|
+
IncludeErrorDetail: boolean;
|
|
448
|
+
IncludeFailedBatchedCommand: boolean;
|
|
449
|
+
IncludeRealm: boolean;
|
|
450
|
+
InternalCommandTimeout: int;
|
|
451
|
+
Item: unknown;
|
|
452
|
+
KeepAlive: int;
|
|
453
|
+
KerberosServiceName: string;
|
|
454
|
+
readonly Keys: ICollection__System_Collections_Generic<System_Internal.String>;
|
|
455
|
+
LoadBalanceHosts: boolean;
|
|
456
|
+
LoadTableComposites: boolean;
|
|
457
|
+
LogParameters: boolean;
|
|
458
|
+
MaxAutoPrepare: int;
|
|
459
|
+
MaxPoolSize: int;
|
|
460
|
+
MinPoolSize: int;
|
|
461
|
+
Multiplexing: boolean;
|
|
462
|
+
NoResetOnClose: boolean;
|
|
463
|
+
get Options(): string | undefined;
|
|
464
|
+
set Options(value: string);
|
|
465
|
+
get Passfile(): string | undefined;
|
|
466
|
+
set Passfile(value: string);
|
|
467
|
+
get Password(): string | undefined;
|
|
468
|
+
set Password(value: string);
|
|
469
|
+
PersistSecurityInfo: boolean;
|
|
470
|
+
Pooling: boolean;
|
|
471
|
+
Port: int;
|
|
472
|
+
ReadBufferSize: int;
|
|
473
|
+
get RequireAuth(): string | undefined;
|
|
474
|
+
set RequireAuth(value: string);
|
|
475
|
+
get RootCertificate(): string | undefined;
|
|
476
|
+
set RootCertificate(value: string);
|
|
477
|
+
get SearchPath(): string | undefined;
|
|
478
|
+
set SearchPath(value: string);
|
|
479
|
+
ServerCompatibilityMode: ServerCompatibilityMode;
|
|
480
|
+
SocketReceiveBufferSize: int;
|
|
481
|
+
SocketSendBufferSize: int;
|
|
482
|
+
get SslCertificate(): string | undefined;
|
|
483
|
+
set SslCertificate(value: string);
|
|
484
|
+
get SslKey(): string | undefined;
|
|
485
|
+
set SslKey(value: string);
|
|
486
|
+
SslMode: SslMode;
|
|
487
|
+
SslNegotiation: SslNegotiation;
|
|
488
|
+
get SslPassword(): string | undefined;
|
|
489
|
+
set SslPassword(value: string);
|
|
490
|
+
get TargetSessionAttributes(): string | undefined;
|
|
491
|
+
set TargetSessionAttributes(value: string);
|
|
492
|
+
TcpKeepAlive: boolean;
|
|
493
|
+
TcpKeepAliveInterval: int;
|
|
494
|
+
TcpKeepAliveTime: int;
|
|
495
|
+
Timeout: int;
|
|
496
|
+
get Timezone(): string | undefined;
|
|
497
|
+
set Timezone(value: string);
|
|
498
|
+
TrustServerCertificate: boolean;
|
|
499
|
+
get Username(): string | undefined;
|
|
500
|
+
set Username(value: string);
|
|
501
|
+
readonly Values: ICollection__System_Collections_Generic<unknown | undefined>;
|
|
502
|
+
WriteBufferSize: int;
|
|
503
|
+
WriteCoalescingBufferThresholdBytes: int;
|
|
504
|
+
Add(item: KeyValuePair<System_Internal.String, unknown>): void;
|
|
505
|
+
Clear(): void;
|
|
506
|
+
Contains(item: KeyValuePair<System_Internal.String, unknown>): boolean;
|
|
507
|
+
ContainsKey(keyword: string): boolean;
|
|
508
|
+
CopyTo(array: KeyValuePair<System_Internal.String, unknown>[], arrayIndex: int): void;
|
|
509
|
+
Equals(obj: unknown): boolean;
|
|
510
|
+
GetEnumerator(): IEnumerator__System_Collections_Generic<KeyValuePair<System_Internal.String, unknown>>;
|
|
511
|
+
GetHashCode(): int;
|
|
512
|
+
Remove(keyword: string): boolean;
|
|
513
|
+
Remove(item: KeyValuePair<System_Internal.String, unknown>): boolean;
|
|
514
|
+
TryGetValue(keyword: string, value: unknown): boolean;
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
|
|
@@ -525,10 +525,10 @@ export const NpgsqlConnectionStringBuilder: {
|
|
|
525
525
|
export type NpgsqlConnectionStringBuilder = NpgsqlConnectionStringBuilder$instance;
|
|
526
526
|
|
|
527
527
|
export interface NpgsqlCopyTextReader$instance extends StreamReader {
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
528
|
+
Timeout: int;
|
|
529
|
+
Cancel(): void;
|
|
530
|
+
CancelAsync(): Task;
|
|
531
|
+
DisposeAsync(): ValueTask;
|
|
532
532
|
}
|
|
533
533
|
|
|
534
534
|
|
|
@@ -540,9 +540,9 @@ export const NpgsqlCopyTextReader: {
|
|
|
540
540
|
export type NpgsqlCopyTextReader = NpgsqlCopyTextReader$instance;
|
|
541
541
|
|
|
542
542
|
export interface NpgsqlCopyTextWriter$instance extends StreamWriter {
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
543
|
+
Timeout: int;
|
|
544
|
+
Cancel(): void;
|
|
545
|
+
CancelAsync(): Task;
|
|
546
546
|
}
|
|
547
547
|
|
|
548
548
|
|
|
@@ -554,14 +554,14 @@ export const NpgsqlCopyTextWriter: {
|
|
|
554
554
|
export type NpgsqlCopyTextWriter = NpgsqlCopyTextWriter$instance;
|
|
555
555
|
|
|
556
556
|
export interface NpgsqlDataAdapter$instance extends DbDataAdapter {
|
|
557
|
-
get
|
|
558
|
-
set
|
|
559
|
-
get
|
|
560
|
-
set
|
|
561
|
-
get
|
|
562
|
-
set
|
|
563
|
-
get
|
|
564
|
-
set
|
|
557
|
+
get DeleteCommand(): NpgsqlCommand | undefined;
|
|
558
|
+
set DeleteCommand(value: NpgsqlCommand);
|
|
559
|
+
get InsertCommand(): NpgsqlCommand | undefined;
|
|
560
|
+
set InsertCommand(value: NpgsqlCommand);
|
|
561
|
+
get SelectCommand(): NpgsqlCommand | undefined;
|
|
562
|
+
set SelectCommand(value: NpgsqlCommand);
|
|
563
|
+
get UpdateCommand(): NpgsqlCommand | undefined;
|
|
564
|
+
set UpdateCommand(value: NpgsqlCommand);
|
|
565
565
|
}
|
|
566
566
|
|
|
567
567
|
|
|
@@ -576,60 +576,60 @@ export const NpgsqlDataAdapter: {
|
|
|
576
576
|
export type NpgsqlDataAdapter = NpgsqlDataAdapter$instance;
|
|
577
577
|
|
|
578
578
|
export interface NpgsqlDataReader$instance extends DbDataReader {
|
|
579
|
-
readonly
|
|
580
|
-
readonly
|
|
581
|
-
readonly
|
|
582
|
-
readonly
|
|
583
|
-
readonly
|
|
584
|
-
readonly
|
|
585
|
-
readonly
|
|
586
|
-
readonly
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
579
|
+
readonly Depth: int;
|
|
580
|
+
readonly FieldCount: int;
|
|
581
|
+
readonly HasRows: boolean;
|
|
582
|
+
readonly IsClosed: boolean;
|
|
583
|
+
readonly IsOnRow: boolean;
|
|
584
|
+
readonly RecordsAffected: int;
|
|
585
|
+
readonly Rows: ulong;
|
|
586
|
+
readonly Statements: IReadOnlyList<NpgsqlBatchCommand>;
|
|
587
|
+
Close(): void;
|
|
588
|
+
CloseAsync(): Task;
|
|
589
|
+
DisposeAsync(): ValueTask;
|
|
590
590
|
get_Item(ordinal: int): unknown;
|
|
591
591
|
get_Item(name: string): unknown;
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
592
|
+
GetBoolean(ordinal: int): boolean;
|
|
593
|
+
GetByte(ordinal: int): byte;
|
|
594
|
+
GetBytes(ordinal: int, dataOffset: long, buffer: byte[], bufferOffset: int, length: int): long;
|
|
595
|
+
GetChar(ordinal: int): char;
|
|
596
|
+
GetChars(ordinal: int, dataOffset: long, buffer: char[], bufferOffset: int, length: int): long;
|
|
597
|
+
GetColumnSchema(): ReadOnlyCollection<NpgsqlDbColumn>;
|
|
598
|
+
GetColumnSchemaAsync(cancellationToken?: CancellationToken): Task<ReadOnlyCollection<DbColumn>>;
|
|
599
|
+
GetData(ordinal: int): NpgsqlNestedDataReader;
|
|
600
|
+
GetDataTypeName(ordinal: int): string;
|
|
601
|
+
GetDataTypeOID(ordinal: int): uint;
|
|
602
|
+
GetDateTime(ordinal: int): DateTime;
|
|
603
|
+
GetDecimal(ordinal: int): decimal;
|
|
604
|
+
GetDouble(ordinal: int): double;
|
|
605
|
+
GetEnumerator(): IEnumerator;
|
|
606
|
+
GetFieldType(ordinal: int): Type;
|
|
607
|
+
GetFieldValue<T>(ordinal: int): T;
|
|
608
|
+
GetFieldValueAsync<T>(ordinal: int, cancellationToken: CancellationToken): Task<T>;
|
|
609
|
+
GetFloat(ordinal: int): float;
|
|
610
|
+
GetGuid(ordinal: int): Guid;
|
|
611
|
+
GetInt16(ordinal: int): short;
|
|
612
|
+
GetInt32(ordinal: int): int;
|
|
613
|
+
GetInt64(ordinal: int): long;
|
|
614
|
+
GetName(ordinal: int): string;
|
|
615
|
+
GetOrdinal(name: string): int;
|
|
616
|
+
GetPostgresType(ordinal: int): PostgresType;
|
|
617
|
+
GetSchemaTable(): DataTable | undefined;
|
|
618
|
+
GetSchemaTableAsync(cancellationToken?: CancellationToken): Task<DataTable | undefined>;
|
|
619
|
+
GetStream(ordinal: int): Stream;
|
|
620
|
+
GetStreamAsync(ordinal: int, cancellationToken?: CancellationToken): Task<Stream>;
|
|
621
|
+
GetString(ordinal: int): string;
|
|
622
|
+
GetTextReader(ordinal: int): TextReader;
|
|
623
|
+
GetTextReaderAsync(ordinal: int, cancellationToken?: CancellationToken): Task<TextReader>;
|
|
624
|
+
GetTimeSpan(ordinal: int): TimeSpan;
|
|
625
|
+
GetValue(ordinal: int): unknown;
|
|
626
|
+
GetValues(values: unknown[]): int;
|
|
627
|
+
IsDBNull(ordinal: int): boolean;
|
|
628
|
+
IsDBNullAsync(ordinal: int, cancellationToken: CancellationToken): Task<System_Internal.Boolean>;
|
|
629
|
+
NextResult(): boolean;
|
|
630
|
+
NextResultAsync(cancellationToken: CancellationToken): Task<System_Internal.Boolean>;
|
|
631
|
+
Read(): boolean;
|
|
632
|
+
ReadAsync(cancellationToken: CancellationToken): Task<System_Internal.Boolean>;
|
|
633
633
|
}
|
|
634
634
|
|
|
635
635
|
|
|
@@ -641,64 +641,64 @@ export const NpgsqlDataReader: {
|
|
|
641
641
|
export type NpgsqlDataReader = NpgsqlDataReader$instance;
|
|
642
642
|
|
|
643
643
|
export interface NpgsqlDataSource$instance extends DbDataSource {
|
|
644
|
-
readonly
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
644
|
+
readonly ConnectionString: string;
|
|
645
|
+
Password: string;
|
|
646
|
+
Clear(): void;
|
|
647
|
+
CreateBatch(): NpgsqlBatch;
|
|
648
|
+
CreateCommand(commandText?: string): NpgsqlCommand;
|
|
649
|
+
CreateConnection(): NpgsqlConnection;
|
|
650
|
+
OpenConnection(): NpgsqlConnection;
|
|
651
|
+
OpenConnectionAsync(cancellationToken?: CancellationToken): ValueTask<NpgsqlConnection>;
|
|
652
|
+
ReloadTypes(): void;
|
|
653
|
+
ReloadTypesAsync(cancellationToken?: CancellationToken): Task;
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
|
|
657
657
|
export const NpgsqlDataSource: {
|
|
658
|
-
|
|
659
|
-
|
|
658
|
+
Create(connectionStringBuilder: NpgsqlConnectionStringBuilder): NpgsqlDataSource;
|
|
659
|
+
Create(connectionString: string): NpgsqlDataSource;
|
|
660
660
|
};
|
|
661
661
|
|
|
662
662
|
|
|
663
663
|
export type NpgsqlDataSource = NpgsqlDataSource$instance;
|
|
664
664
|
|
|
665
665
|
export interface NpgsqlDataSourceBuilder$instance {
|
|
666
|
-
readonly
|
|
667
|
-
readonly
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
666
|
+
readonly ConnectionString: string;
|
|
667
|
+
readonly ConnectionStringBuilder: NpgsqlConnectionStringBuilder;
|
|
668
|
+
DefaultNameTranslator: INpgsqlNameTranslator;
|
|
669
|
+
Name: string;
|
|
670
|
+
AddTypeInfoResolverFactory(factory: PgTypeInfoResolverFactory): void;
|
|
671
|
+
Build(): NpgsqlDataSource;
|
|
672
|
+
BuildMultiHost(): NpgsqlMultiHostDataSource;
|
|
673
|
+
ConfigureJsonOptions(serializerOptions: JsonSerializerOptions): NpgsqlDataSourceBuilder;
|
|
674
|
+
ConfigureTracing(configureAction: Action<NpgsqlTracingOptionsBuilder>): NpgsqlDataSourceBuilder;
|
|
675
|
+
ConfigureTypeLoading(configureAction: Action<NpgsqlTypeLoadingOptionsBuilder>): NpgsqlDataSourceBuilder;
|
|
676
|
+
EnableDynamicJson(jsonbClrTypes?: Type[], jsonClrTypes?: Type[]): NpgsqlDataSourceBuilder;
|
|
677
|
+
EnableParameterLogging(parameterLoggingEnabled?: boolean): NpgsqlDataSourceBuilder;
|
|
678
|
+
EnableRecordsAsTuples(): NpgsqlDataSourceBuilder;
|
|
679
|
+
EnableUnmappedTypes(): NpgsqlDataSourceBuilder;
|
|
680
|
+
MapComposite<T>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlDataSourceBuilder;
|
|
681
|
+
MapComposite(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlDataSourceBuilder;
|
|
682
|
+
MapEnum<TEnum extends number>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlDataSourceBuilder;
|
|
683
|
+
MapEnum(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlDataSourceBuilder;
|
|
684
|
+
UnmapComposite<T>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
685
|
+
UnmapComposite(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
686
|
+
UnmapEnum<TEnum extends number>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
687
|
+
UnmapEnum(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
688
|
+
UseClientCertificate(clientCertificate: X509Certificate): NpgsqlDataSourceBuilder;
|
|
689
|
+
UseClientCertificates(clientCertificates: X509CertificateCollection): NpgsqlDataSourceBuilder;
|
|
690
|
+
UseClientCertificatesCallback(clientCertificatesCallback: Action<X509CertificateCollection>): NpgsqlDataSourceBuilder;
|
|
691
|
+
UseLoggerFactory(loggerFactory: ILoggerFactory): NpgsqlDataSourceBuilder;
|
|
692
|
+
UseNegotiateOptionsCallback(negotiateOptionsCallback: Action<NegotiateAuthenticationClientOptions>): NpgsqlDataSourceBuilder;
|
|
693
|
+
UsePasswordProvider(passwordProvider: Func<NpgsqlConnectionStringBuilder, System_Internal.String>, passwordProviderAsync: Func<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask<System_Internal.String>>): NpgsqlDataSourceBuilder;
|
|
694
|
+
UsePeriodicPasswordProvider(passwordProvider: Func<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask<System_Internal.String>>, successRefreshInterval: TimeSpan, failureRefreshInterval: TimeSpan): NpgsqlDataSourceBuilder;
|
|
695
|
+
UsePhysicalConnectionInitializer(connectionInitializer: Action<NpgsqlConnection>, connectionInitializerAsync: Func<NpgsqlConnection, Task>): NpgsqlDataSourceBuilder;
|
|
696
|
+
UseRootCertificate(rootCertificate: X509Certificate2): NpgsqlDataSourceBuilder;
|
|
697
|
+
UseRootCertificateCallback(rootCertificateCallback: Func<X509Certificate2>): NpgsqlDataSourceBuilder;
|
|
698
|
+
UseRootCertificates(rootCertificates: X509Certificate2Collection): NpgsqlDataSourceBuilder;
|
|
699
|
+
UseRootCertificatesCallback(rootCertificateCallback: Func<X509Certificate2Collection>): NpgsqlDataSourceBuilder;
|
|
700
|
+
UseSslClientAuthenticationOptionsCallback(sslClientAuthenticationOptionsCallback: Action<SslClientAuthenticationOptions>): NpgsqlDataSourceBuilder;
|
|
701
|
+
UseUserCertificateValidationCallback(userCertificateValidationCallback: RemoteCertificateValidationCallback): NpgsqlDataSourceBuilder;
|
|
702
702
|
}
|
|
703
703
|
|
|
704
704
|
|
|
@@ -715,9 +715,9 @@ export type NpgsqlDataSourceBuilder = NpgsqlDataSourceBuilder$instance & __Npgsq
|
|
|
715
715
|
|
|
716
716
|
|
|
717
717
|
export interface NpgsqlException$instance extends DbException {
|
|
718
|
-
get
|
|
719
|
-
set
|
|
720
|
-
readonly
|
|
718
|
+
get BatchCommand(): NpgsqlBatchCommand | undefined;
|
|
719
|
+
set BatchCommand(value: NpgsqlBatchCommand);
|
|
720
|
+
readonly IsTransient: boolean;
|
|
721
721
|
}
|
|
722
722
|
|
|
723
723
|
|
|
@@ -731,45 +731,45 @@ export const NpgsqlException: {
|
|
|
731
731
|
export type NpgsqlException = NpgsqlException$instance;
|
|
732
732
|
|
|
733
733
|
export interface NpgsqlFactory$instance extends DbProviderFactory {
|
|
734
|
-
readonly
|
|
735
|
-
readonly
|
|
736
|
-
readonly
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
734
|
+
readonly CanCreateBatch: boolean;
|
|
735
|
+
readonly CanCreateCommandBuilder: boolean;
|
|
736
|
+
readonly CanCreateDataAdapter: boolean;
|
|
737
|
+
CreateBatch(): DbBatch;
|
|
738
|
+
CreateBatchCommand(): DbBatchCommand;
|
|
739
|
+
CreateCommand(): DbCommand;
|
|
740
|
+
CreateCommandBuilder(): DbCommandBuilder;
|
|
741
|
+
CreateConnection(): DbConnection;
|
|
742
|
+
CreateConnectionStringBuilder(): DbConnectionStringBuilder;
|
|
743
|
+
CreateDataAdapter(): DbDataAdapter;
|
|
744
|
+
CreateDataSource(connectionString: string): DbDataSource;
|
|
745
|
+
CreateParameter(): DbParameter;
|
|
746
|
+
GetService(serviceType: Type): unknown | undefined;
|
|
747
747
|
}
|
|
748
748
|
|
|
749
749
|
|
|
750
750
|
export const NpgsqlFactory: {
|
|
751
751
|
new(): NpgsqlFactory;
|
|
752
|
-
readonly
|
|
752
|
+
readonly Instance: NpgsqlFactory;
|
|
753
753
|
};
|
|
754
754
|
|
|
755
755
|
|
|
756
756
|
export type NpgsqlFactory = NpgsqlFactory$instance;
|
|
757
757
|
|
|
758
758
|
export interface NpgsqlLargeObjectManager$instance {
|
|
759
|
-
readonly
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
759
|
+
readonly Has64BitSupport: boolean;
|
|
760
|
+
MaxTransferBlockSize: int;
|
|
761
|
+
Create(preferredOid?: uint): uint;
|
|
762
|
+
CreateAsync(preferredOid: uint, cancellationToken?: CancellationToken): Task<System_Internal.UInt32>;
|
|
763
|
+
ExportRemote(oid: uint, path: string): void;
|
|
764
|
+
ExportRemoteAsync(oid: uint, path: string, cancellationToken?: CancellationToken): Task;
|
|
765
|
+
ImportRemote(path: string, oid?: uint): void;
|
|
766
|
+
ImportRemoteAsync(path: string, oid: uint, cancellationToken?: CancellationToken): Task;
|
|
767
|
+
OpenRead(oid: uint): NpgsqlLargeObjectStream;
|
|
768
|
+
OpenReadAsync(oid: uint, cancellationToken?: CancellationToken): Task<NpgsqlLargeObjectStream>;
|
|
769
|
+
OpenReadWrite(oid: uint): NpgsqlLargeObjectStream;
|
|
770
|
+
OpenReadWriteAsync(oid: uint, cancellationToken?: CancellationToken): Task<NpgsqlLargeObjectStream>;
|
|
771
|
+
Unlink(oid: uint): void;
|
|
772
|
+
UnlinkAsync(oid: uint, cancellationToken?: CancellationToken): Task;
|
|
773
773
|
}
|
|
774
774
|
|
|
775
775
|
|
|
@@ -781,24 +781,24 @@ export const NpgsqlLargeObjectManager: {
|
|
|
781
781
|
export type NpgsqlLargeObjectManager = NpgsqlLargeObjectManager$instance;
|
|
782
782
|
|
|
783
783
|
export interface NpgsqlLargeObjectStream$instance extends Stream {
|
|
784
|
-
readonly
|
|
785
|
-
readonly
|
|
786
|
-
readonly
|
|
787
|
-
readonly
|
|
788
|
-
readonly
|
|
789
|
-
readonly
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
784
|
+
readonly CanRead: boolean;
|
|
785
|
+
readonly CanSeek: boolean;
|
|
786
|
+
readonly CanTimeout: boolean;
|
|
787
|
+
readonly CanWrite: boolean;
|
|
788
|
+
readonly Has64BitSupport: boolean;
|
|
789
|
+
readonly Length: long;
|
|
790
|
+
Position: long;
|
|
791
|
+
Close(): void;
|
|
792
|
+
Flush(): void;
|
|
793
|
+
GetLengthAsync(cancellationToken?: CancellationToken): Task<System_Internal.Int64>;
|
|
794
|
+
Read(buffer: byte[], offset: int, count: int): int;
|
|
795
|
+
ReadAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task<System_Internal.Int32>;
|
|
796
|
+
Seek(offset: long, origin: SeekOrigin): long;
|
|
797
|
+
SeekAsync(offset: long, origin: SeekOrigin, cancellationToken?: CancellationToken): Task<System_Internal.Int64>;
|
|
798
|
+
SetLength(value: long): void;
|
|
799
|
+
SetLength(value: long, cancellationToken: CancellationToken): Task;
|
|
800
|
+
Write(buffer: byte[], offset: int, count: int): void;
|
|
801
|
+
WriteAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
|
|
802
802
|
}
|
|
803
803
|
|
|
804
804
|
|
|
@@ -815,7 +815,7 @@ export interface NpgsqlLoggingConfiguration$instance {
|
|
|
815
815
|
|
|
816
816
|
export const NpgsqlLoggingConfiguration: {
|
|
817
817
|
new(): NpgsqlLoggingConfiguration;
|
|
818
|
-
|
|
818
|
+
InitializeLogging(loggerFactory: ILoggerFactory, parameterLoggingEnabled?: boolean): void;
|
|
819
819
|
};
|
|
820
820
|
|
|
821
821
|
|
|
@@ -833,15 +833,15 @@ export const NpgsqlMetricsOptions: {
|
|
|
833
833
|
export type NpgsqlMetricsOptions = NpgsqlMetricsOptions$instance;
|
|
834
834
|
|
|
835
835
|
export interface NpgsqlMultiHostDataSource$instance extends NpgsqlDataSource {
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
836
|
+
Clear(): void;
|
|
837
|
+
ClearDatabaseStates(): void;
|
|
838
|
+
CreateConnection(targetSessionAttributes: TargetSessionAttributes): NpgsqlConnection;
|
|
839
|
+
CreateConnection(): NpgsqlConnection;
|
|
840
|
+
OpenConnection(targetSessionAttributes: TargetSessionAttributes): NpgsqlConnection;
|
|
841
|
+
OpenConnection(): NpgsqlConnection;
|
|
842
|
+
OpenConnectionAsync(targetSessionAttributes: TargetSessionAttributes, cancellationToken?: CancellationToken): ValueTask<NpgsqlConnection>;
|
|
843
|
+
OpenConnectionAsync(cancellationToken?: CancellationToken): ValueTask<NpgsqlConnection>;
|
|
844
|
+
WithTargetSession(targetSessionAttributes: TargetSessionAttributes): NpgsqlDataSource;
|
|
845
845
|
}
|
|
846
846
|
|
|
847
847
|
|
|
@@ -853,40 +853,40 @@ export const NpgsqlMultiHostDataSource: {
|
|
|
853
853
|
export type NpgsqlMultiHostDataSource = NpgsqlMultiHostDataSource$instance;
|
|
854
854
|
|
|
855
855
|
export interface NpgsqlNestedDataReader$instance extends DbDataReader {
|
|
856
|
-
readonly
|
|
857
|
-
readonly
|
|
858
|
-
readonly
|
|
859
|
-
readonly
|
|
860
|
-
readonly
|
|
861
|
-
|
|
856
|
+
readonly Depth: int;
|
|
857
|
+
readonly FieldCount: int;
|
|
858
|
+
readonly HasRows: boolean;
|
|
859
|
+
readonly IsClosed: boolean;
|
|
860
|
+
readonly RecordsAffected: int;
|
|
861
|
+
Close(): void;
|
|
862
862
|
get_Item(ordinal: int): unknown;
|
|
863
863
|
get_Item(name: string): unknown;
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
864
|
+
GetBoolean(ordinal: int): boolean;
|
|
865
|
+
GetByte(ordinal: int): byte;
|
|
866
|
+
GetBytes(ordinal: int, dataOffset: long, buffer: byte[], bufferOffset: int, length: int): long;
|
|
867
|
+
GetChar(ordinal: int): char;
|
|
868
|
+
GetChars(ordinal: int, dataOffset: long, buffer: char[], bufferOffset: int, length: int): long;
|
|
869
|
+
GetData(ordinal: int): NpgsqlNestedDataReader;
|
|
870
|
+
GetDataTypeName(ordinal: int): string;
|
|
871
|
+
GetDateTime(ordinal: int): DateTime;
|
|
872
|
+
GetDecimal(ordinal: int): decimal;
|
|
873
|
+
GetDouble(ordinal: int): double;
|
|
874
|
+
GetEnumerator(): IEnumerator;
|
|
875
|
+
GetFieldType(ordinal: int): Type;
|
|
876
|
+
GetFieldValue<T>(ordinal: int): T;
|
|
877
|
+
GetFloat(ordinal: int): float;
|
|
878
|
+
GetGuid(ordinal: int): Guid;
|
|
879
|
+
GetInt16(ordinal: int): short;
|
|
880
|
+
GetInt32(ordinal: int): int;
|
|
881
|
+
GetInt64(ordinal: int): long;
|
|
882
|
+
GetName(ordinal: int): string;
|
|
883
|
+
GetOrdinal(name: string): int;
|
|
884
|
+
GetString(ordinal: int): string;
|
|
885
|
+
GetValue(ordinal: int): unknown;
|
|
886
|
+
GetValues(values: unknown[]): int;
|
|
887
|
+
IsDBNull(ordinal: int): boolean;
|
|
888
|
+
NextResult(): boolean;
|
|
889
|
+
Read(): boolean;
|
|
890
890
|
}
|
|
891
891
|
|
|
892
892
|
|
|
@@ -898,7 +898,7 @@ export const NpgsqlNestedDataReader: {
|
|
|
898
898
|
export type NpgsqlNestedDataReader = NpgsqlNestedDataReader$instance;
|
|
899
899
|
|
|
900
900
|
export interface NpgsqlNoticeEventArgs$instance extends EventArgs {
|
|
901
|
-
readonly
|
|
901
|
+
readonly Notice: PostgresNotice;
|
|
902
902
|
}
|
|
903
903
|
|
|
904
904
|
|
|
@@ -910,8 +910,8 @@ export const NpgsqlNoticeEventArgs: {
|
|
|
910
910
|
export type NpgsqlNoticeEventArgs = NpgsqlNoticeEventArgs$instance;
|
|
911
911
|
|
|
912
912
|
export interface NpgsqlNotificationEventArgs$instance extends EventArgs {
|
|
913
|
-
readonly
|
|
914
|
-
readonly
|
|
913
|
+
readonly Channel: string;
|
|
914
|
+
readonly Payload: string;
|
|
915
915
|
readonly PID: int;
|
|
916
916
|
}
|
|
917
917
|
|
|
@@ -924,7 +924,7 @@ export const NpgsqlNotificationEventArgs: {
|
|
|
924
924
|
export type NpgsqlNotificationEventArgs = NpgsqlNotificationEventArgs$instance;
|
|
925
925
|
|
|
926
926
|
export interface NpgsqlOperationInProgressException$instance extends NpgsqlException {
|
|
927
|
-
readonly
|
|
927
|
+
readonly CommandInProgress: NpgsqlCommand | undefined;
|
|
928
928
|
}
|
|
929
929
|
|
|
930
930
|
|
|
@@ -936,28 +936,28 @@ export const NpgsqlOperationInProgressException: {
|
|
|
936
936
|
export type NpgsqlOperationInProgressException = NpgsqlOperationInProgressException$instance;
|
|
937
937
|
|
|
938
938
|
export interface NpgsqlParameter$instance extends DbParameter {
|
|
939
|
-
get
|
|
940
|
-
set
|
|
941
|
-
get
|
|
942
|
-
set
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
get
|
|
948
|
-
set
|
|
949
|
-
|
|
950
|
-
readonly
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
get
|
|
958
|
-
set
|
|
959
|
-
|
|
960
|
-
|
|
939
|
+
get Collection(): NpgsqlParameterCollection | undefined;
|
|
940
|
+
set Collection(value: NpgsqlParameterCollection);
|
|
941
|
+
get DataTypeName(): string | undefined;
|
|
942
|
+
set DataTypeName(value: string);
|
|
943
|
+
DbType: DbType;
|
|
944
|
+
Direction: ParameterDirection;
|
|
945
|
+
IsNullable: boolean;
|
|
946
|
+
NpgsqlDbType: NpgsqlDbType;
|
|
947
|
+
get NpgsqlValue(): unknown | undefined;
|
|
948
|
+
set NpgsqlValue(value: unknown);
|
|
949
|
+
ParameterName: string;
|
|
950
|
+
readonly PostgresType: PostgresType | undefined;
|
|
951
|
+
Precision: byte;
|
|
952
|
+
Scale: byte;
|
|
953
|
+
Size: int;
|
|
954
|
+
SourceColumn: string;
|
|
955
|
+
SourceColumnNullMapping: boolean;
|
|
956
|
+
SourceVersion: DataRowVersion;
|
|
957
|
+
get Value(): unknown | undefined;
|
|
958
|
+
set Value(value: unknown);
|
|
959
|
+
Clone(): NpgsqlParameter;
|
|
960
|
+
ResetDbType(): void;
|
|
961
961
|
}
|
|
962
962
|
|
|
963
963
|
|
|
@@ -978,9 +978,9 @@ export const NpgsqlParameter: {
|
|
|
978
978
|
export type NpgsqlParameter = NpgsqlParameter$instance;
|
|
979
979
|
|
|
980
980
|
export interface NpgsqlParameter_1$instance<T> extends NpgsqlParameter {
|
|
981
|
-
|
|
982
|
-
get
|
|
983
|
-
set
|
|
981
|
+
TypedValue: T | undefined;
|
|
982
|
+
get Value(): unknown | undefined;
|
|
983
|
+
set Value(value: unknown);
|
|
984
984
|
}
|
|
985
985
|
|
|
986
986
|
|
|
@@ -995,46 +995,46 @@ export const NpgsqlParameter_1: {
|
|
|
995
995
|
export type NpgsqlParameter_1<T> = NpgsqlParameter_1$instance<T>;
|
|
996
996
|
|
|
997
997
|
export interface NpgsqlParameterCollection$instance extends DbParameterCollection {
|
|
998
|
-
readonly
|
|
999
|
-
readonly
|
|
1000
|
-
readonly
|
|
1001
|
-
readonly
|
|
1002
|
-
readonly
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
998
|
+
readonly Count: int;
|
|
999
|
+
readonly IsFixedSize: boolean;
|
|
1000
|
+
readonly IsReadOnly: boolean;
|
|
1001
|
+
readonly IsSynchronized: boolean;
|
|
1002
|
+
readonly SyncRoot: unknown;
|
|
1003
|
+
Add(value: NpgsqlParameter): NpgsqlParameter;
|
|
1004
|
+
Add(parameterName: string, parameterType: NpgsqlDbType): NpgsqlParameter;
|
|
1005
|
+
Add(parameterName: string, parameterType: NpgsqlDbType, size: int): NpgsqlParameter;
|
|
1006
|
+
Add(parameterName: string, parameterType: NpgsqlDbType, size: int, sourceColumn: string): NpgsqlParameter;
|
|
1007
|
+
Add(value: unknown): int;
|
|
1008
|
+
AddRange(values: ClrArray): void;
|
|
1009
|
+
AddWithValue(parameterName: string, value: unknown): NpgsqlParameter;
|
|
1010
|
+
AddWithValue(parameterName: string, parameterType: NpgsqlDbType, value: unknown): NpgsqlParameter;
|
|
1011
|
+
AddWithValue(parameterName: string, parameterType: NpgsqlDbType, size: int, value: unknown): NpgsqlParameter;
|
|
1012
|
+
AddWithValue(parameterName: string, parameterType: NpgsqlDbType, size: int, sourceColumn: string, value: unknown): NpgsqlParameter;
|
|
1013
|
+
AddWithValue(value: unknown): NpgsqlParameter;
|
|
1014
|
+
AddWithValue(parameterType: NpgsqlDbType, value: unknown): NpgsqlParameter;
|
|
1015
|
+
Clear(): void;
|
|
1016
|
+
Contains(parameterName: string): boolean;
|
|
1017
|
+
Contains(value: unknown): boolean;
|
|
1018
|
+
Contains(item: NpgsqlParameter): boolean;
|
|
1019
|
+
CopyTo(array: ClrArray, index: int): void;
|
|
1020
|
+
CopyTo(array: NpgsqlParameter[], arrayIndex: int): void;
|
|
1021
1021
|
get_Item(parameterName: string): NpgsqlParameter;
|
|
1022
1022
|
get_Item(index: int): NpgsqlParameter;
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1023
|
+
GetEnumerator(): IEnumerator;
|
|
1024
|
+
IndexOf(parameterName: string): int;
|
|
1025
|
+
IndexOf(value: unknown): int;
|
|
1026
|
+
IndexOf(item: NpgsqlParameter): int;
|
|
1027
|
+
Insert(index: int, value: unknown): void;
|
|
1028
|
+
Insert(index: int, item: NpgsqlParameter): void;
|
|
1029
|
+
Remove(parameterName: string): void;
|
|
1030
|
+
Remove(value: unknown): void;
|
|
1031
|
+
Remove(item: NpgsqlParameter): boolean;
|
|
1032
|
+
RemoveAt(parameterName: string): void;
|
|
1033
|
+
RemoveAt(index: int): void;
|
|
1034
1034
|
set_Item(parameterName: string, value: NpgsqlParameter): void;
|
|
1035
1035
|
set_Item(index: int, value: NpgsqlParameter): void;
|
|
1036
|
-
|
|
1037
|
-
|
|
1036
|
+
ToArray(): NpgsqlParameter[];
|
|
1037
|
+
TryGetValue(parameterName: string, parameter: NpgsqlParameter): boolean;
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
1040
|
|
|
@@ -1046,29 +1046,29 @@ export const NpgsqlParameterCollection: {
|
|
|
1046
1046
|
export type NpgsqlParameterCollection = NpgsqlParameterCollection$instance;
|
|
1047
1047
|
|
|
1048
1048
|
export interface NpgsqlRawCopyStream$instance extends Stream {
|
|
1049
|
-
readonly
|
|
1050
|
-
readonly
|
|
1051
|
-
readonly
|
|
1052
|
-
readonly
|
|
1053
|
-
readonly
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1049
|
+
readonly CanRead: boolean;
|
|
1050
|
+
readonly CanSeek: boolean;
|
|
1051
|
+
readonly CanTimeout: boolean;
|
|
1052
|
+
readonly CanWrite: boolean;
|
|
1053
|
+
readonly Length: long;
|
|
1054
|
+
Position: long;
|
|
1055
|
+
ReadTimeout: int;
|
|
1056
|
+
WriteTimeout: int;
|
|
1057
|
+
Cancel(): void;
|
|
1058
|
+
CancelAsync(): Task;
|
|
1059
|
+
DisposeAsync(): ValueTask;
|
|
1060
|
+
Flush(): void;
|
|
1061
|
+
FlushAsync(cancellationToken: CancellationToken): Task;
|
|
1062
|
+
Read(buffer: byte[], offset: int, count: int): int;
|
|
1063
|
+
Read(span: Span<System_Internal.Byte>): int;
|
|
1064
|
+
ReadAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task<System_Internal.Int32>;
|
|
1065
|
+
ReadAsync(buffer: Memory<System_Internal.Byte>, cancellationToken: CancellationToken): ValueTask<System_Internal.Int32>;
|
|
1066
|
+
Seek(offset: long, origin: SeekOrigin): long;
|
|
1067
|
+
SetLength(value: long): void;
|
|
1068
|
+
Write(buffer: byte[], offset: int, count: int): void;
|
|
1069
|
+
Write(buffer: ReadOnlySpan<System_Internal.Byte>): void;
|
|
1070
|
+
WriteAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
|
|
1071
|
+
WriteAsync(buffer: ReadOnlyMemory<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
1072
1072
|
}
|
|
1073
1073
|
|
|
1074
1074
|
|
|
@@ -1102,55 +1102,55 @@ export const NpgsqlRowUpdatingEventArgs: {
|
|
|
1102
1102
|
export type NpgsqlRowUpdatingEventArgs = NpgsqlRowUpdatingEventArgs$instance;
|
|
1103
1103
|
|
|
1104
1104
|
export interface NpgsqlSlimDataSourceBuilder$instance {
|
|
1105
|
-
readonly
|
|
1106
|
-
readonly
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1105
|
+
readonly ConnectionString: string;
|
|
1106
|
+
readonly ConnectionStringBuilder: NpgsqlConnectionStringBuilder;
|
|
1107
|
+
DefaultNameTranslator: INpgsqlNameTranslator;
|
|
1108
|
+
Name: string;
|
|
1109
|
+
AddTypeInfoResolverFactory(factory: PgTypeInfoResolverFactory): void;
|
|
1110
|
+
Build(): NpgsqlDataSource;
|
|
1111
|
+
BuildMultiHost(): NpgsqlMultiHostDataSource;
|
|
1112
|
+
ConfigureJsonOptions(serializerOptions: JsonSerializerOptions): NpgsqlSlimDataSourceBuilder;
|
|
1113
|
+
ConfigureTracing(configureAction: Action<NpgsqlTracingOptionsBuilder>): NpgsqlSlimDataSourceBuilder;
|
|
1114
|
+
ConfigureTypeLoading(configureAction: Action<NpgsqlTypeLoadingOptionsBuilder>): NpgsqlSlimDataSourceBuilder;
|
|
1115
|
+
EnableArrays(): NpgsqlSlimDataSourceBuilder;
|
|
1116
|
+
EnableCube(): NpgsqlSlimDataSourceBuilder;
|
|
1117
|
+
EnableDynamicJson(jsonbClrTypes?: Type[], jsonClrTypes?: Type[]): NpgsqlSlimDataSourceBuilder;
|
|
1118
|
+
EnableExtraConversions(): NpgsqlSlimDataSourceBuilder;
|
|
1119
|
+
EnableFullTextSearch(): NpgsqlSlimDataSourceBuilder;
|
|
1120
|
+
EnableGeometricTypes(): NpgsqlSlimDataSourceBuilder;
|
|
1121
|
+
EnableIntegratedSecurity(): NpgsqlSlimDataSourceBuilder;
|
|
1122
|
+
EnableJsonTypes(): NpgsqlSlimDataSourceBuilder;
|
|
1123
|
+
EnableLTree(): NpgsqlSlimDataSourceBuilder;
|
|
1124
|
+
EnableMultiranges(): NpgsqlSlimDataSourceBuilder;
|
|
1125
|
+
EnableNetworkTypes(): NpgsqlSlimDataSourceBuilder;
|
|
1126
|
+
EnableParameterLogging(parameterLoggingEnabled?: boolean): NpgsqlSlimDataSourceBuilder;
|
|
1127
|
+
EnableRanges(): NpgsqlSlimDataSourceBuilder;
|
|
1128
|
+
EnableRecords(): NpgsqlSlimDataSourceBuilder;
|
|
1129
|
+
EnableRecordsAsTuples(): NpgsqlSlimDataSourceBuilder;
|
|
1130
|
+
EnableTransportSecurity(): NpgsqlSlimDataSourceBuilder;
|
|
1131
|
+
EnableUnmappedTypes(): NpgsqlSlimDataSourceBuilder;
|
|
1132
|
+
MapComposite<T>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlSlimDataSourceBuilder;
|
|
1133
|
+
MapComposite(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlSlimDataSourceBuilder;
|
|
1134
|
+
MapEnum<TEnum extends number>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlSlimDataSourceBuilder;
|
|
1135
|
+
MapEnum(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlSlimDataSourceBuilder;
|
|
1136
|
+
UnmapComposite<T>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
1137
|
+
UnmapComposite(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
1138
|
+
UnmapEnum<TEnum extends number>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
1139
|
+
UnmapEnum(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
1140
|
+
UseClientCertificate(clientCertificate: X509Certificate): NpgsqlSlimDataSourceBuilder;
|
|
1141
|
+
UseClientCertificates(clientCertificates: X509CertificateCollection): NpgsqlSlimDataSourceBuilder;
|
|
1142
|
+
UseClientCertificatesCallback(clientCertificatesCallback: Action<X509CertificateCollection>): NpgsqlSlimDataSourceBuilder;
|
|
1143
|
+
UseLoggerFactory(loggerFactory: ILoggerFactory): NpgsqlSlimDataSourceBuilder;
|
|
1144
|
+
UseNegotiateOptionsCallback(negotiateOptionsCallback: Action<NegotiateAuthenticationClientOptions>): NpgsqlSlimDataSourceBuilder;
|
|
1145
|
+
UsePasswordProvider(passwordProvider: Func<NpgsqlConnectionStringBuilder, System_Internal.String>, passwordProviderAsync: Func<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask<System_Internal.String>>): NpgsqlSlimDataSourceBuilder;
|
|
1146
|
+
UsePeriodicPasswordProvider(passwordProvider: Func<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask<System_Internal.String>>, successRefreshInterval: TimeSpan, failureRefreshInterval: TimeSpan): NpgsqlSlimDataSourceBuilder;
|
|
1147
|
+
UsePhysicalConnectionInitializer(connectionInitializer: Action<NpgsqlConnection>, connectionInitializerAsync: Func<NpgsqlConnection, Task>): NpgsqlSlimDataSourceBuilder;
|
|
1148
|
+
UseRootCertificate(rootCertificate: X509Certificate2): NpgsqlSlimDataSourceBuilder;
|
|
1149
|
+
UseRootCertificateCallback(rootCertificateCallback: Func<X509Certificate2>): NpgsqlSlimDataSourceBuilder;
|
|
1150
|
+
UseRootCertificates(rootCertificates: X509Certificate2Collection): NpgsqlSlimDataSourceBuilder;
|
|
1151
|
+
UseRootCertificatesCallback(rootCertificateCallback: Func<X509Certificate2Collection>): NpgsqlSlimDataSourceBuilder;
|
|
1152
|
+
UseSslClientAuthenticationOptionsCallback(sslClientAuthenticationOptionsCallback: Action<SslClientAuthenticationOptions>): NpgsqlSlimDataSourceBuilder;
|
|
1153
|
+
UseUserCertificateValidationCallback(userCertificateValidationCallback: RemoteCertificateValidationCallback): NpgsqlSlimDataSourceBuilder;
|
|
1154
1154
|
}
|
|
1155
1155
|
|
|
1156
1156
|
|
|
@@ -1167,17 +1167,17 @@ export type NpgsqlSlimDataSourceBuilder = NpgsqlSlimDataSourceBuilder$instance &
|
|
|
1167
1167
|
|
|
1168
1168
|
|
|
1169
1169
|
export interface NpgsqlTracingOptionsBuilder$instance {
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1170
|
+
ConfigureBatchEnrichmentCallback(batchEnrichmentCallback: Action<Activity, NpgsqlBatch>): NpgsqlTracingOptionsBuilder;
|
|
1171
|
+
ConfigureBatchFilter(batchFilter: Func<NpgsqlBatch, System_Internal.Boolean>): NpgsqlTracingOptionsBuilder;
|
|
1172
|
+
ConfigureBatchSpanNameProvider(batchSpanNameProvider: Func<NpgsqlBatch, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1173
|
+
ConfigureCommandEnrichmentCallback(commandEnrichmentCallback: Action<Activity, NpgsqlCommand>): NpgsqlTracingOptionsBuilder;
|
|
1174
|
+
ConfigureCommandFilter(commandFilter: Func<NpgsqlCommand, System_Internal.Boolean>): NpgsqlTracingOptionsBuilder;
|
|
1175
|
+
ConfigureCommandSpanNameProvider(commandSpanNameProvider: Func<NpgsqlCommand, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1176
|
+
ConfigureCopyOperationEnrichmentCallback(copyOperationEnrichmentCallback: Action<Activity, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1177
|
+
ConfigureCopyOperationFilter(copyOperationFilter: Func<System_Internal.String, System_Internal.Boolean>): NpgsqlTracingOptionsBuilder;
|
|
1178
|
+
ConfigureCopyOperationSpanNameProvider(copyOperationSpanNameProvider: Func<System_Internal.String, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1179
|
+
EnableFirstResponseEvent(enable?: boolean): NpgsqlTracingOptionsBuilder;
|
|
1180
|
+
EnablePhysicalOpenTracing(enable?: boolean): NpgsqlTracingOptionsBuilder;
|
|
1181
1181
|
}
|
|
1182
1182
|
|
|
1183
1183
|
|
|
@@ -1189,20 +1189,20 @@ export const NpgsqlTracingOptionsBuilder: {
|
|
|
1189
1189
|
export type NpgsqlTracingOptionsBuilder = NpgsqlTracingOptionsBuilder$instance;
|
|
1190
1190
|
|
|
1191
1191
|
export interface NpgsqlTransaction$instance extends DbTransaction {
|
|
1192
|
-
readonly
|
|
1193
|
-
readonly
|
|
1194
|
-
readonly
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1192
|
+
readonly Connection: NpgsqlConnection | undefined;
|
|
1193
|
+
readonly IsolationLevel: IsolationLevel;
|
|
1194
|
+
readonly SupportsSavepoints: boolean;
|
|
1195
|
+
Commit(): void;
|
|
1196
|
+
CommitAsync(cancellationToken?: CancellationToken): Task;
|
|
1197
|
+
DisposeAsync(): ValueTask;
|
|
1198
|
+
Release(name: string): void;
|
|
1199
|
+
ReleaseAsync(name: string, cancellationToken?: CancellationToken): Task;
|
|
1200
|
+
Rollback(): void;
|
|
1201
|
+
Rollback(name: string): void;
|
|
1202
|
+
RollbackAsync(cancellationToken?: CancellationToken): Task;
|
|
1203
|
+
RollbackAsync(name: string, cancellationToken?: CancellationToken): Task;
|
|
1204
|
+
Save(name: string): void;
|
|
1205
|
+
SaveAsync(name: string, cancellationToken?: CancellationToken): Task;
|
|
1206
1206
|
}
|
|
1207
1207
|
|
|
1208
1208
|
|
|
@@ -1214,9 +1214,9 @@ export const NpgsqlTransaction: {
|
|
|
1214
1214
|
export type NpgsqlTransaction = NpgsqlTransaction$instance;
|
|
1215
1215
|
|
|
1216
1216
|
export interface NpgsqlTypeLoadingOptionsBuilder$instance {
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1217
|
+
EnableTableCompositesLoading(enable?: boolean): NpgsqlTypeLoadingOptionsBuilder;
|
|
1218
|
+
EnableTypeLoading(enable?: boolean): NpgsqlTypeLoadingOptionsBuilder;
|
|
1219
|
+
SetTypeLoadingSchemas(schemas: IEnumerable__System_Collections_Generic<System_Internal.String>): NpgsqlTypeLoadingOptionsBuilder;
|
|
1220
1220
|
}
|
|
1221
1221
|
|
|
1222
1222
|
|
|
@@ -1228,27 +1228,27 @@ export const NpgsqlTypeLoadingOptionsBuilder: {
|
|
|
1228
1228
|
export type NpgsqlTypeLoadingOptionsBuilder = NpgsqlTypeLoadingOptionsBuilder$instance;
|
|
1229
1229
|
|
|
1230
1230
|
export interface PostgresException$instance extends NpgsqlException {
|
|
1231
|
-
readonly
|
|
1232
|
-
readonly
|
|
1233
|
-
readonly
|
|
1234
|
-
readonly
|
|
1235
|
-
readonly
|
|
1236
|
-
readonly
|
|
1237
|
-
readonly
|
|
1238
|
-
readonly
|
|
1239
|
-
readonly
|
|
1240
|
-
readonly
|
|
1241
|
-
readonly
|
|
1242
|
-
readonly
|
|
1243
|
-
readonly
|
|
1244
|
-
readonly
|
|
1245
|
-
readonly
|
|
1246
|
-
readonly
|
|
1247
|
-
readonly
|
|
1248
|
-
readonly
|
|
1249
|
-
readonly
|
|
1250
|
-
|
|
1251
|
-
|
|
1231
|
+
readonly ColumnName: string | undefined;
|
|
1232
|
+
readonly ConstraintName: string | undefined;
|
|
1233
|
+
readonly DataTypeName: string | undefined;
|
|
1234
|
+
readonly Detail: string | undefined;
|
|
1235
|
+
readonly File: string | undefined;
|
|
1236
|
+
readonly Hint: string | undefined;
|
|
1237
|
+
readonly InternalPosition: int;
|
|
1238
|
+
readonly InternalQuery: string | undefined;
|
|
1239
|
+
readonly InvariantSeverity: string;
|
|
1240
|
+
readonly IsTransient: boolean;
|
|
1241
|
+
readonly Line: string | undefined;
|
|
1242
|
+
readonly MessageText: string;
|
|
1243
|
+
readonly Position: int;
|
|
1244
|
+
readonly Routine: string | undefined;
|
|
1245
|
+
readonly SchemaName: string | undefined;
|
|
1246
|
+
readonly Severity: string;
|
|
1247
|
+
readonly SqlState: string;
|
|
1248
|
+
readonly TableName: string | undefined;
|
|
1249
|
+
readonly Where: string | undefined;
|
|
1250
|
+
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1251
|
+
ToString(): string;
|
|
1252
1252
|
}
|
|
1253
1253
|
|
|
1254
1254
|
|
|
@@ -1261,36 +1261,36 @@ export const PostgresException: {
|
|
|
1261
1261
|
export type PostgresException = PostgresException$instance;
|
|
1262
1262
|
|
|
1263
1263
|
export interface PostgresNotice$instance {
|
|
1264
|
-
get
|
|
1265
|
-
set
|
|
1266
|
-
get
|
|
1267
|
-
set
|
|
1268
|
-
get
|
|
1269
|
-
set
|
|
1270
|
-
get
|
|
1271
|
-
set
|
|
1272
|
-
get
|
|
1273
|
-
set
|
|
1274
|
-
get
|
|
1275
|
-
set
|
|
1276
|
-
|
|
1277
|
-
get
|
|
1278
|
-
set
|
|
1279
|
-
readonly
|
|
1280
|
-
get
|
|
1281
|
-
set
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
get
|
|
1285
|
-
set
|
|
1286
|
-
get
|
|
1287
|
-
set
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
get
|
|
1291
|
-
set
|
|
1292
|
-
get
|
|
1293
|
-
set
|
|
1264
|
+
get ColumnName(): string | undefined;
|
|
1265
|
+
set ColumnName(value: string);
|
|
1266
|
+
get ConstraintName(): string | undefined;
|
|
1267
|
+
set ConstraintName(value: string);
|
|
1268
|
+
get DataTypeName(): string | undefined;
|
|
1269
|
+
set DataTypeName(value: string);
|
|
1270
|
+
get Detail(): string | undefined;
|
|
1271
|
+
set Detail(value: string);
|
|
1272
|
+
get File(): string | undefined;
|
|
1273
|
+
set File(value: string);
|
|
1274
|
+
get Hint(): string | undefined;
|
|
1275
|
+
set Hint(value: string);
|
|
1276
|
+
InternalPosition: int;
|
|
1277
|
+
get InternalQuery(): string | undefined;
|
|
1278
|
+
set InternalQuery(value: string);
|
|
1279
|
+
readonly InvariantSeverity: string;
|
|
1280
|
+
get Line(): string | undefined;
|
|
1281
|
+
set Line(value: string);
|
|
1282
|
+
MessageText: string;
|
|
1283
|
+
Position: int;
|
|
1284
|
+
get Routine(): string | undefined;
|
|
1285
|
+
set Routine(value: string);
|
|
1286
|
+
get SchemaName(): string | undefined;
|
|
1287
|
+
set SchemaName(value: string);
|
|
1288
|
+
Severity: string;
|
|
1289
|
+
SqlState: string;
|
|
1290
|
+
get TableName(): string | undefined;
|
|
1291
|
+
set TableName(value: string);
|
|
1292
|
+
get Where(): string | undefined;
|
|
1293
|
+
set Where(value: string);
|
|
1294
1294
|
}
|
|
1295
1295
|
|
|
1296
1296
|
|
|
@@ -1303,315 +1303,315 @@ export const PostgresNotice: {
|
|
|
1303
1303
|
export type PostgresNotice = PostgresNotice$instance;
|
|
1304
1304
|
|
|
1305
1305
|
export abstract class NpgsqlEventId$instance {
|
|
1306
|
-
static readonly
|
|
1307
|
-
static readonly
|
|
1308
|
-
static readonly
|
|
1309
|
-
static readonly
|
|
1310
|
-
static readonly
|
|
1311
|
-
static readonly
|
|
1312
|
-
static readonly
|
|
1313
|
-
static readonly
|
|
1314
|
-
static readonly
|
|
1315
|
-
static readonly
|
|
1316
|
-
static readonly
|
|
1317
|
-
static readonly
|
|
1318
|
-
static readonly
|
|
1319
|
-
static readonly
|
|
1320
|
-
static readonly
|
|
1321
|
-
static readonly
|
|
1322
|
-
static readonly
|
|
1323
|
-
static readonly
|
|
1324
|
-
static readonly
|
|
1325
|
-
static readonly
|
|
1326
|
-
static readonly
|
|
1327
|
-
static readonly
|
|
1328
|
-
static readonly
|
|
1329
|
-
static readonly
|
|
1330
|
-
static readonly
|
|
1331
|
-
static readonly
|
|
1332
|
-
static readonly
|
|
1333
|
-
static readonly
|
|
1334
|
-
static readonly
|
|
1335
|
-
static readonly
|
|
1336
|
-
static readonly
|
|
1337
|
-
static readonly
|
|
1338
|
-
static readonly
|
|
1339
|
-
static readonly
|
|
1340
|
-
static readonly
|
|
1341
|
-
static readonly
|
|
1342
|
-
static readonly
|
|
1343
|
-
static readonly
|
|
1344
|
-
static readonly
|
|
1345
|
-
static readonly
|
|
1346
|
-
static readonly
|
|
1347
|
-
static readonly
|
|
1348
|
-
static readonly
|
|
1349
|
-
static readonly
|
|
1350
|
-
static readonly
|
|
1351
|
-
static readonly
|
|
1352
|
-
static readonly
|
|
1353
|
-
static readonly
|
|
1354
|
-
static readonly
|
|
1355
|
-
static readonly
|
|
1356
|
-
static readonly
|
|
1357
|
-
static readonly
|
|
1358
|
-
static readonly
|
|
1359
|
-
static readonly
|
|
1360
|
-
static readonly
|
|
1361
|
-
static readonly
|
|
1362
|
-
static readonly
|
|
1363
|
-
static readonly
|
|
1364
|
-
static readonly
|
|
1365
|
-
static readonly
|
|
1366
|
-
static readonly
|
|
1367
|
-
static readonly
|
|
1368
|
-
static readonly
|
|
1369
|
-
static readonly
|
|
1370
|
-
static readonly
|
|
1306
|
+
static readonly OpeningConnection: int;
|
|
1307
|
+
static readonly OpenedConnection: int;
|
|
1308
|
+
static readonly ClosingConnection: int;
|
|
1309
|
+
static readonly ClosedConnection: int;
|
|
1310
|
+
static readonly OpeningPhysicalConnection: int;
|
|
1311
|
+
static readonly OpenedPhysicalConnection: int;
|
|
1312
|
+
static readonly ClosingPhysicalConnection: int;
|
|
1313
|
+
static readonly ClosedPhysicalConnection: int;
|
|
1314
|
+
static readonly StartingWait: int;
|
|
1315
|
+
static readonly ReceivedNotice: int;
|
|
1316
|
+
static readonly ConnectionExceededMaximumLifetime: int;
|
|
1317
|
+
static readonly SendingKeepalive: int;
|
|
1318
|
+
static readonly CompletedKeepalive: int;
|
|
1319
|
+
static readonly KeepaliveFailed: int;
|
|
1320
|
+
static readonly BreakingConnection: int;
|
|
1321
|
+
static readonly CaughtUserExceptionInNoticeEventHandler: int;
|
|
1322
|
+
static readonly CaughtUserExceptionInNotificationEventHandler: int;
|
|
1323
|
+
static readonly ExceptionWhenClosingPhysicalConnection: int;
|
|
1324
|
+
static readonly ExceptionWhenOpeningConnectionForMultiplexing: int;
|
|
1325
|
+
static readonly ExecutingCommand: int;
|
|
1326
|
+
static readonly CommandExecutionCompleted: int;
|
|
1327
|
+
static readonly CancellingCommand: int;
|
|
1328
|
+
static readonly ExecutingInternalCommand: int;
|
|
1329
|
+
static readonly PreparingCommandExplicitly: int;
|
|
1330
|
+
static readonly CommandPreparedExplicitly: int;
|
|
1331
|
+
static readonly AutoPreparingStatement: int;
|
|
1332
|
+
static readonly UnpreparingCommand: int;
|
|
1333
|
+
static readonly DerivingParameters: int;
|
|
1334
|
+
static readonly ExceptionWhenWritingMultiplexedCommands: int;
|
|
1335
|
+
static readonly StartedTransaction: int;
|
|
1336
|
+
static readonly CommittedTransaction: int;
|
|
1337
|
+
static readonly RolledBackTransaction: int;
|
|
1338
|
+
static readonly CreatingSavepoint: int;
|
|
1339
|
+
static readonly RolledBackToSavepoint: int;
|
|
1340
|
+
static readonly ReleasedSavepoint: int;
|
|
1341
|
+
static readonly ExceptionDuringTransactionDispose: int;
|
|
1342
|
+
static readonly EnlistedVolatileResourceManager: int;
|
|
1343
|
+
static readonly CommittingSinglePhaseTransaction: int;
|
|
1344
|
+
static readonly RollingBackSinglePhaseTransaction: int;
|
|
1345
|
+
static readonly SinglePhaseTransactionRollbackFailed: int;
|
|
1346
|
+
static readonly PreparingTwoPhaseTransaction: int;
|
|
1347
|
+
static readonly CommittingTwoPhaseTransaction: int;
|
|
1348
|
+
static readonly TwoPhaseTransactionCommitFailed: int;
|
|
1349
|
+
static readonly RollingBackTwoPhaseTransaction: int;
|
|
1350
|
+
static readonly TwoPhaseTransactionRollbackFailed: int;
|
|
1351
|
+
static readonly TwoPhaseTransactionInDoubt: int;
|
|
1352
|
+
static readonly ConnectionInUseWhenRollingBack: int;
|
|
1353
|
+
static readonly CleaningUpResourceManager: int;
|
|
1354
|
+
static readonly StartingBinaryExport: int;
|
|
1355
|
+
static readonly StartingBinaryImport: int;
|
|
1356
|
+
static readonly StartingTextExport: int;
|
|
1357
|
+
static readonly StartingTextImport: int;
|
|
1358
|
+
static readonly StartingRawCopy: int;
|
|
1359
|
+
static readonly CopyOperationCompleted: int;
|
|
1360
|
+
static readonly CopyOperationCancelled: int;
|
|
1361
|
+
static readonly ExceptionWhenDisposingCopyOperation: int;
|
|
1362
|
+
static readonly CreatingReplicationSlot: int;
|
|
1363
|
+
static readonly DroppingReplicationSlot: int;
|
|
1364
|
+
static readonly StartingLogicalReplication: int;
|
|
1365
|
+
static readonly StartingPhysicalReplication: int;
|
|
1366
|
+
static readonly ExecutingReplicationCommand: int;
|
|
1367
|
+
static readonly ReceivedReplicationPrimaryKeepalive: int;
|
|
1368
|
+
static readonly SendingReplicationStandbyStatusUpdate: int;
|
|
1369
|
+
static readonly SentReplicationFeedbackMessage: int;
|
|
1370
|
+
static readonly ReplicationFeedbackMessageSendingFailed: int;
|
|
1371
1371
|
}
|
|
1372
1372
|
|
|
1373
1373
|
|
|
1374
1374
|
export type NpgsqlEventId = NpgsqlEventId$instance;
|
|
1375
1375
|
|
|
1376
1376
|
export abstract class PostgresErrorCodes$instance {
|
|
1377
|
-
static readonly
|
|
1378
|
-
static readonly
|
|
1379
|
-
static readonly
|
|
1380
|
-
static readonly
|
|
1381
|
-
static readonly
|
|
1382
|
-
static readonly
|
|
1383
|
-
static readonly
|
|
1384
|
-
static readonly
|
|
1385
|
-
static readonly
|
|
1386
|
-
static readonly
|
|
1387
|
-
static readonly
|
|
1388
|
-
static readonly
|
|
1389
|
-
static readonly
|
|
1390
|
-
static readonly
|
|
1391
|
-
static readonly
|
|
1392
|
-
static readonly
|
|
1393
|
-
static readonly
|
|
1394
|
-
static readonly
|
|
1395
|
-
static readonly
|
|
1396
|
-
static readonly
|
|
1397
|
-
static readonly
|
|
1398
|
-
static readonly
|
|
1399
|
-
static readonly
|
|
1400
|
-
static readonly
|
|
1401
|
-
static readonly
|
|
1402
|
-
static readonly
|
|
1403
|
-
static readonly
|
|
1404
|
-
static readonly
|
|
1405
|
-
static readonly
|
|
1406
|
-
static readonly
|
|
1407
|
-
static readonly
|
|
1408
|
-
static readonly
|
|
1409
|
-
static readonly
|
|
1410
|
-
static readonly
|
|
1411
|
-
static readonly
|
|
1412
|
-
static readonly
|
|
1413
|
-
static readonly
|
|
1414
|
-
static readonly
|
|
1415
|
-
static readonly
|
|
1416
|
-
static readonly
|
|
1417
|
-
static readonly
|
|
1418
|
-
static readonly
|
|
1419
|
-
static readonly
|
|
1420
|
-
static readonly
|
|
1421
|
-
static readonly
|
|
1422
|
-
static readonly
|
|
1423
|
-
static readonly
|
|
1424
|
-
static readonly
|
|
1425
|
-
static readonly
|
|
1426
|
-
static readonly
|
|
1427
|
-
static readonly
|
|
1428
|
-
static readonly
|
|
1429
|
-
static readonly
|
|
1430
|
-
static readonly
|
|
1431
|
-
static readonly
|
|
1432
|
-
static readonly
|
|
1433
|
-
static readonly
|
|
1434
|
-
static readonly
|
|
1435
|
-
static readonly
|
|
1436
|
-
static readonly
|
|
1437
|
-
static readonly
|
|
1438
|
-
static readonly
|
|
1439
|
-
static readonly
|
|
1440
|
-
static readonly
|
|
1441
|
-
static readonly
|
|
1442
|
-
static readonly
|
|
1443
|
-
static readonly
|
|
1444
|
-
static readonly
|
|
1445
|
-
static readonly
|
|
1446
|
-
static readonly
|
|
1447
|
-
static readonly
|
|
1448
|
-
static readonly
|
|
1449
|
-
static readonly
|
|
1450
|
-
static readonly
|
|
1451
|
-
static readonly
|
|
1452
|
-
static readonly
|
|
1453
|
-
static readonly
|
|
1454
|
-
static readonly
|
|
1455
|
-
static readonly
|
|
1456
|
-
static readonly
|
|
1457
|
-
static readonly
|
|
1458
|
-
static readonly
|
|
1459
|
-
static readonly
|
|
1460
|
-
static readonly
|
|
1461
|
-
static readonly
|
|
1462
|
-
static readonly
|
|
1463
|
-
static readonly
|
|
1464
|
-
static readonly
|
|
1465
|
-
static readonly
|
|
1466
|
-
static readonly
|
|
1467
|
-
static readonly
|
|
1468
|
-
static readonly
|
|
1469
|
-
static readonly
|
|
1470
|
-
static readonly
|
|
1471
|
-
static readonly
|
|
1472
|
-
static readonly
|
|
1473
|
-
static readonly
|
|
1474
|
-
static readonly
|
|
1475
|
-
static readonly
|
|
1476
|
-
static readonly
|
|
1477
|
-
static readonly
|
|
1478
|
-
static readonly
|
|
1479
|
-
static readonly
|
|
1480
|
-
static readonly
|
|
1481
|
-
static readonly
|
|
1482
|
-
static readonly
|
|
1483
|
-
static readonly
|
|
1484
|
-
static readonly
|
|
1485
|
-
static readonly
|
|
1486
|
-
static readonly
|
|
1487
|
-
static readonly
|
|
1488
|
-
static readonly
|
|
1489
|
-
static readonly
|
|
1490
|
-
static readonly
|
|
1491
|
-
static readonly
|
|
1492
|
-
static readonly
|
|
1493
|
-
static readonly
|
|
1494
|
-
static readonly
|
|
1495
|
-
static readonly
|
|
1496
|
-
static readonly
|
|
1497
|
-
static readonly
|
|
1498
|
-
static readonly
|
|
1499
|
-
static readonly
|
|
1500
|
-
static readonly
|
|
1501
|
-
static readonly
|
|
1502
|
-
static readonly
|
|
1503
|
-
static readonly
|
|
1504
|
-
static readonly
|
|
1505
|
-
static readonly
|
|
1506
|
-
static readonly
|
|
1507
|
-
static readonly
|
|
1508
|
-
static readonly
|
|
1509
|
-
static readonly
|
|
1510
|
-
static readonly
|
|
1511
|
-
static readonly
|
|
1512
|
-
static readonly
|
|
1513
|
-
static readonly
|
|
1514
|
-
static readonly
|
|
1515
|
-
static readonly
|
|
1516
|
-
static readonly
|
|
1517
|
-
static readonly
|
|
1518
|
-
static readonly
|
|
1519
|
-
static readonly
|
|
1520
|
-
static readonly
|
|
1521
|
-
static readonly
|
|
1522
|
-
static readonly
|
|
1523
|
-
static readonly
|
|
1524
|
-
static readonly
|
|
1525
|
-
static readonly
|
|
1526
|
-
static readonly
|
|
1527
|
-
static readonly
|
|
1528
|
-
static readonly
|
|
1529
|
-
static readonly
|
|
1530
|
-
static readonly
|
|
1531
|
-
static readonly
|
|
1532
|
-
static readonly
|
|
1533
|
-
static readonly
|
|
1534
|
-
static readonly
|
|
1535
|
-
static readonly
|
|
1536
|
-
static readonly
|
|
1537
|
-
static readonly
|
|
1538
|
-
static readonly
|
|
1539
|
-
static readonly
|
|
1540
|
-
static readonly
|
|
1541
|
-
static readonly
|
|
1542
|
-
static readonly
|
|
1543
|
-
static readonly
|
|
1544
|
-
static readonly
|
|
1545
|
-
static readonly
|
|
1546
|
-
static readonly
|
|
1547
|
-
static readonly
|
|
1548
|
-
static readonly
|
|
1549
|
-
static readonly
|
|
1550
|
-
static readonly
|
|
1551
|
-
static readonly
|
|
1552
|
-
static readonly
|
|
1553
|
-
static readonly
|
|
1554
|
-
static readonly
|
|
1555
|
-
static readonly
|
|
1556
|
-
static readonly
|
|
1557
|
-
static readonly
|
|
1558
|
-
static readonly
|
|
1559
|
-
static readonly
|
|
1560
|
-
static readonly
|
|
1561
|
-
static readonly
|
|
1562
|
-
static readonly
|
|
1563
|
-
static readonly
|
|
1564
|
-
static readonly
|
|
1565
|
-
static readonly
|
|
1566
|
-
static readonly
|
|
1567
|
-
static readonly
|
|
1568
|
-
static readonly
|
|
1569
|
-
static readonly
|
|
1570
|
-
static readonly
|
|
1571
|
-
static readonly
|
|
1572
|
-
static readonly
|
|
1573
|
-
static readonly
|
|
1574
|
-
static readonly
|
|
1575
|
-
static readonly
|
|
1576
|
-
static readonly
|
|
1577
|
-
static readonly
|
|
1578
|
-
static readonly
|
|
1579
|
-
static readonly
|
|
1580
|
-
static readonly
|
|
1581
|
-
static readonly
|
|
1582
|
-
static readonly
|
|
1583
|
-
static readonly
|
|
1584
|
-
static readonly
|
|
1585
|
-
static readonly
|
|
1586
|
-
static readonly
|
|
1587
|
-
static readonly
|
|
1588
|
-
static readonly
|
|
1589
|
-
static readonly
|
|
1590
|
-
static readonly
|
|
1591
|
-
static readonly
|
|
1592
|
-
static readonly
|
|
1593
|
-
static readonly
|
|
1594
|
-
static readonly
|
|
1595
|
-
static readonly
|
|
1596
|
-
static readonly
|
|
1597
|
-
static readonly
|
|
1598
|
-
static readonly
|
|
1599
|
-
static readonly
|
|
1600
|
-
static readonly
|
|
1601
|
-
static readonly
|
|
1602
|
-
static readonly
|
|
1603
|
-
static readonly
|
|
1604
|
-
static readonly
|
|
1605
|
-
static readonly
|
|
1606
|
-
static readonly
|
|
1607
|
-
static readonly
|
|
1608
|
-
static readonly
|
|
1609
|
-
static readonly
|
|
1610
|
-
static readonly
|
|
1611
|
-
static readonly
|
|
1612
|
-
static readonly
|
|
1613
|
-
static readonly
|
|
1614
|
-
static readonly
|
|
1377
|
+
static readonly SuccessfulCompletion: string;
|
|
1378
|
+
static readonly Warning: string;
|
|
1379
|
+
static readonly DynamicResultSetsReturnedWarning: string;
|
|
1380
|
+
static readonly ImplicitZeroBitPaddingWarning: string;
|
|
1381
|
+
static readonly NullValueEliminatedInSetFunctionWarning: string;
|
|
1382
|
+
static readonly PrivilegeNotGrantedWarning: string;
|
|
1383
|
+
static readonly PrivilegeNotRevokedWarning: string;
|
|
1384
|
+
static readonly StringDataRightTruncationWarning: string;
|
|
1385
|
+
static readonly DeprecatedFeatureWarning: string;
|
|
1386
|
+
static readonly NoData: string;
|
|
1387
|
+
static readonly NoAdditionalDynamicResultSetsReturned: string;
|
|
1388
|
+
static readonly SqlStatementNotYetComplete: string;
|
|
1389
|
+
static readonly ConnectionException: string;
|
|
1390
|
+
static readonly ConnectionDoesNotExist: string;
|
|
1391
|
+
static readonly ConnectionFailure: string;
|
|
1392
|
+
static readonly SqlClientUnableToEstablishSqlConnection: string;
|
|
1393
|
+
static readonly SqlServerRejectedEstablishmentOfSqlConnection: string;
|
|
1394
|
+
static readonly TransactionResolutionUnknown: string;
|
|
1395
|
+
static readonly ProtocolViolation: string;
|
|
1396
|
+
static readonly TriggeredActionException: string;
|
|
1397
|
+
static readonly FeatureNotSupported: string;
|
|
1398
|
+
static readonly InvalidTransactionInitiation: string;
|
|
1399
|
+
static readonly LocatorException: string;
|
|
1400
|
+
static readonly InvalidLocatorSpecification: string;
|
|
1401
|
+
static readonly InvalidGrantor: string;
|
|
1402
|
+
static readonly InvalidGrantOperation: string;
|
|
1403
|
+
static readonly InvalidRoleSpecification: string;
|
|
1404
|
+
static readonly DiagnosticsException: string;
|
|
1405
|
+
static readonly StackedDiagnosticsAccessedWithoutActiveHandler: string;
|
|
1406
|
+
static readonly CaseNotFound: string;
|
|
1407
|
+
static readonly CardinalityViolation: string;
|
|
1408
|
+
static readonly DataException: string;
|
|
1409
|
+
static readonly ArraySubscriptError: string;
|
|
1410
|
+
static readonly CharacterNotInRepertoire: string;
|
|
1411
|
+
static readonly DatetimeFieldOverflow: string;
|
|
1412
|
+
static readonly DivisionByZero: string;
|
|
1413
|
+
static readonly ErrorInAssignment: string;
|
|
1414
|
+
static readonly EscapeCharacterConflict: string;
|
|
1415
|
+
static readonly IndicatorOverflow: string;
|
|
1416
|
+
static readonly IntervalFieldOverflow: string;
|
|
1417
|
+
static readonly InvalidArgumentForLogarithm: string;
|
|
1418
|
+
static readonly InvalidArgumentForNtileFunction: string;
|
|
1419
|
+
static readonly InvalidArgumentForNthValueFunction: string;
|
|
1420
|
+
static readonly InvalidArgumentForPowerFunction: string;
|
|
1421
|
+
static readonly InvalidArgumentForWidthBucketFunction: string;
|
|
1422
|
+
static readonly InvalidCharacterValueForCast: string;
|
|
1423
|
+
static readonly InvalidDatetimeFormat: string;
|
|
1424
|
+
static readonly InvalidEscapeCharacter: string;
|
|
1425
|
+
static readonly InvalidEscapeOctet: string;
|
|
1426
|
+
static readonly InvalidEscapeSequence: string;
|
|
1427
|
+
static readonly NonstandardUseOfEscapeCharacter: string;
|
|
1428
|
+
static readonly InvalidIndicatorParameterValue: string;
|
|
1429
|
+
static readonly InvalidParameterValue: string;
|
|
1430
|
+
static readonly InvalidRegularExpression: string;
|
|
1431
|
+
static readonly InvalidRowCountInLimitClause: string;
|
|
1432
|
+
static readonly InvalidRowCountInResultOffsetClause: string;
|
|
1433
|
+
static readonly InvalidTablesampleArgument: string;
|
|
1434
|
+
static readonly InvalidTablesampleRepeat: string;
|
|
1435
|
+
static readonly InvalidTimeZoneDisplacementValue: string;
|
|
1436
|
+
static readonly InvalidUseOfEscapeCharacter: string;
|
|
1437
|
+
static readonly MostSpecificTypeMismatch: string;
|
|
1438
|
+
static readonly NullValueNotAllowed: string;
|
|
1439
|
+
static readonly NullValueNoIndicatorParameter: string;
|
|
1440
|
+
static readonly NumericValueOutOfRange: string;
|
|
1441
|
+
static readonly StringDataLengthMismatch: string;
|
|
1442
|
+
static readonly StringDataRightTruncation: string;
|
|
1443
|
+
static readonly SubstringError: string;
|
|
1444
|
+
static readonly TrimError: string;
|
|
1445
|
+
static readonly UnterminatedCString: string;
|
|
1446
|
+
static readonly ZeroLengthCharacterString: string;
|
|
1447
|
+
static readonly FloatingPointException: string;
|
|
1448
|
+
static readonly InvalidTextRepresentation: string;
|
|
1449
|
+
static readonly InvalidBinaryRepresentation: string;
|
|
1450
|
+
static readonly BadCopyFileFormat: string;
|
|
1451
|
+
static readonly UntranslatableCharacter: string;
|
|
1452
|
+
static readonly NotAnXmlDocument: string;
|
|
1453
|
+
static readonly InvalidXmlDocument: string;
|
|
1454
|
+
static readonly InvalidXmlContent: string;
|
|
1455
|
+
static readonly InvalidXmlComment: string;
|
|
1456
|
+
static readonly InvalidXmlProcessingInstruction: string;
|
|
1457
|
+
static readonly IntegrityConstraintViolation: string;
|
|
1458
|
+
static readonly RestrictViolation: string;
|
|
1459
|
+
static readonly NotNullViolation: string;
|
|
1460
|
+
static readonly ForeignKeyViolation: string;
|
|
1461
|
+
static readonly UniqueViolation: string;
|
|
1462
|
+
static readonly CheckViolation: string;
|
|
1463
|
+
static readonly ExclusionViolation: string;
|
|
1464
|
+
static readonly InvalidCursorState: string;
|
|
1465
|
+
static readonly InvalidTransactionState: string;
|
|
1466
|
+
static readonly ActiveSqlTransaction: string;
|
|
1467
|
+
static readonly BranchTransactionAlreadyActive: string;
|
|
1468
|
+
static readonly HeldCursorRequiresSameIsolationLevel: string;
|
|
1469
|
+
static readonly InappropriateAccessModeForBranchTransaction: string;
|
|
1470
|
+
static readonly InappropriateIsolationLevelForBranchTransaction: string;
|
|
1471
|
+
static readonly NoActiveSqlTransactionForBranchTransaction: string;
|
|
1472
|
+
static readonly ReadOnlySqlTransaction: string;
|
|
1473
|
+
static readonly SchemaAndDataStatementMixingNotSupported: string;
|
|
1474
|
+
static readonly NoActiveSqlTransaction: string;
|
|
1475
|
+
static readonly InFailedSqlTransaction: string;
|
|
1476
|
+
static readonly InvalidSqlStatementName: string;
|
|
1477
|
+
static readonly TriggeredDataChangeViolation: string;
|
|
1478
|
+
static readonly InvalidAuthorizationSpecification: string;
|
|
1479
|
+
static readonly InvalidPassword: string;
|
|
1480
|
+
static readonly DependentPrivilegeDescriptorsStillExist: string;
|
|
1481
|
+
static readonly DependentObjectsStillExist: string;
|
|
1482
|
+
static readonly InvalidTransactionTermination: string;
|
|
1483
|
+
static readonly SqlRoutineException: string;
|
|
1484
|
+
static readonly FunctionExecutedNoReturnStatementSqlRoutineException: string;
|
|
1485
|
+
static readonly ModifyingSqlDataNotPermittedSqlRoutineException: string;
|
|
1486
|
+
static readonly ProhibitedSqlStatementAttemptedSqlRoutineException: string;
|
|
1487
|
+
static readonly ReadingSqlDataNotPermittedSqlRoutineException: string;
|
|
1488
|
+
static readonly InvalidCursorName: string;
|
|
1489
|
+
static readonly ExternalRoutineException: string;
|
|
1490
|
+
static readonly ContainingSqlNotPermittedExternalRoutineException: string;
|
|
1491
|
+
static readonly ModifyingSqlDataNotPermittedExternalRoutineException: string;
|
|
1492
|
+
static readonly ProhibitedSqlStatementAttemptedExternalRoutineException: string;
|
|
1493
|
+
static readonly ReadingSqlDataNotPermittedExternalRoutineException: string;
|
|
1494
|
+
static readonly ExternalRoutineInvocationException: string;
|
|
1495
|
+
static readonly InvalidSqlstateReturnedExternalRoutineInvocationException: string;
|
|
1496
|
+
static readonly NullValueNotAllowedExternalRoutineInvocationException: string;
|
|
1497
|
+
static readonly TriggerProtocolViolatedExternalRoutineInvocationException: string;
|
|
1498
|
+
static readonly SrfProtocolViolatedExternalRoutineInvocationException: string;
|
|
1499
|
+
static readonly EventTriggerProtocolViolatedExternalRoutineInvocationException: string;
|
|
1500
|
+
static readonly SavepointException: string;
|
|
1501
|
+
static readonly InvalidSavepointSpecification: string;
|
|
1502
|
+
static readonly InvalidCatalogName: string;
|
|
1503
|
+
static readonly InvalidSchemaName: string;
|
|
1504
|
+
static readonly TransactionRollback: string;
|
|
1505
|
+
static readonly TransactionIntegrityConstraintViolation: string;
|
|
1506
|
+
static readonly SerializationFailure: string;
|
|
1507
|
+
static readonly StatementCompletionUnknown: string;
|
|
1508
|
+
static readonly DeadlockDetected: string;
|
|
1509
|
+
static readonly SyntaxErrorOrAccessRuleViolation: string;
|
|
1510
|
+
static readonly SyntaxError: string;
|
|
1511
|
+
static readonly InsufficientPrivilege: string;
|
|
1512
|
+
static readonly CannotCoerce: string;
|
|
1513
|
+
static readonly GroupingError: string;
|
|
1514
|
+
static readonly WindowingError: string;
|
|
1515
|
+
static readonly InvalidRecursion: string;
|
|
1516
|
+
static readonly InvalidForeignKey: string;
|
|
1517
|
+
static readonly InvalidName: string;
|
|
1518
|
+
static readonly NameTooLong: string;
|
|
1519
|
+
static readonly ReservedName: string;
|
|
1520
|
+
static readonly DatatypeMismatch: string;
|
|
1521
|
+
static readonly IndeterminateDatatype: string;
|
|
1522
|
+
static readonly CollationMismatch: string;
|
|
1523
|
+
static readonly IndeterminateCollation: string;
|
|
1524
|
+
static readonly WrongObjectType: string;
|
|
1525
|
+
static readonly UndefinedColumn: string;
|
|
1526
|
+
static readonly UndefinedFunction: string;
|
|
1527
|
+
static readonly UndefinedTable: string;
|
|
1528
|
+
static readonly UndefinedParameter: string;
|
|
1529
|
+
static readonly UndefinedObject: string;
|
|
1530
|
+
static readonly DuplicateColumn: string;
|
|
1531
|
+
static readonly DuplicateCursor: string;
|
|
1532
|
+
static readonly DuplicateDatabase: string;
|
|
1533
|
+
static readonly DuplicateFunction: string;
|
|
1534
|
+
static readonly DuplicatePreparedStatement: string;
|
|
1535
|
+
static readonly DuplicateSchema: string;
|
|
1536
|
+
static readonly DuplicateTable: string;
|
|
1537
|
+
static readonly DuplicateAlias: string;
|
|
1538
|
+
static readonly DuplicateObject: string;
|
|
1539
|
+
static readonly AmbiguousColumn: string;
|
|
1540
|
+
static readonly AmbiguousFunction: string;
|
|
1541
|
+
static readonly AmbiguousParameter: string;
|
|
1542
|
+
static readonly AmbiguousAlias: string;
|
|
1543
|
+
static readonly InvalidColumnReference: string;
|
|
1544
|
+
static readonly InvalidColumnDefinition: string;
|
|
1545
|
+
static readonly InvalidCursorDefinition: string;
|
|
1546
|
+
static readonly InvalidDatabaseDefinition: string;
|
|
1547
|
+
static readonly InvalidFunctionDefinition: string;
|
|
1548
|
+
static readonly InvalidPreparedStatementDefinition: string;
|
|
1549
|
+
static readonly InvalidSchemaDefinition: string;
|
|
1550
|
+
static readonly InvalidTableDefinition: string;
|
|
1551
|
+
static readonly InvalidObjectDefinition: string;
|
|
1552
|
+
static readonly WithCheckOptionViolation: string;
|
|
1553
|
+
static readonly InsufficientResources: string;
|
|
1554
|
+
static readonly DiskFull: string;
|
|
1555
|
+
static readonly OutOfMemory: string;
|
|
1556
|
+
static readonly TooManyConnections: string;
|
|
1557
|
+
static readonly ConfigurationLimitExceeded: string;
|
|
1558
|
+
static readonly ProgramLimitExceeded: string;
|
|
1559
|
+
static readonly StatementTooComplex: string;
|
|
1560
|
+
static readonly TooManyColumns: string;
|
|
1561
|
+
static readonly TooManyArguments: string;
|
|
1562
|
+
static readonly ObjectNotInPrerequisiteState: string;
|
|
1563
|
+
static readonly ObjectInUse: string;
|
|
1564
|
+
static readonly CantChangeRuntimeParam: string;
|
|
1565
|
+
static readonly LockNotAvailable: string;
|
|
1566
|
+
static readonly OperatorIntervention: string;
|
|
1567
|
+
static readonly QueryCanceled: string;
|
|
1568
|
+
static readonly AdminShutdown: string;
|
|
1569
|
+
static readonly CrashShutdown: string;
|
|
1570
|
+
static readonly CannotConnectNow: string;
|
|
1571
|
+
static readonly DatabaseDropped: string;
|
|
1572
|
+
static readonly IdleSessionTimeout: string;
|
|
1573
|
+
static readonly SystemError: string;
|
|
1574
|
+
static readonly IoError: string;
|
|
1575
|
+
static readonly UndefinedFile: string;
|
|
1576
|
+
static readonly DuplicateFile: string;
|
|
1577
|
+
static readonly SnapshotFailure: string;
|
|
1578
|
+
static readonly ConfigFileError: string;
|
|
1579
|
+
static readonly LockFileExists: string;
|
|
1580
|
+
static readonly FdwError: string;
|
|
1581
|
+
static readonly FdwColumnNameNotFound: string;
|
|
1582
|
+
static readonly FdwDynamicParameterValueNeeded: string;
|
|
1583
|
+
static readonly FdwFunctionSequenceError: string;
|
|
1584
|
+
static readonly FdwInconsistentDescriptorInformation: string;
|
|
1585
|
+
static readonly FdwInvalidAttributeValue: string;
|
|
1586
|
+
static readonly FdwInvalidColumnName: string;
|
|
1587
|
+
static readonly FdwInvalidColumnNumber: string;
|
|
1588
|
+
static readonly FdwInvalidDataType: string;
|
|
1589
|
+
static readonly FdwInvalidDataTypeDescriptors: string;
|
|
1590
|
+
static readonly FdwInvalidDescriptorFieldIdentifier: string;
|
|
1591
|
+
static readonly FdwInvalidHandle: string;
|
|
1592
|
+
static readonly FdwInvalidOptionIndex: string;
|
|
1593
|
+
static readonly FdwInvalidOptionName: string;
|
|
1594
|
+
static readonly FdwInvalidStringLengthOrBufferLength: string;
|
|
1595
|
+
static readonly FdwInvalidStringFormat: string;
|
|
1596
|
+
static readonly FdwInvalidUseOfNullPointer: string;
|
|
1597
|
+
static readonly FdwTooManyHandles: string;
|
|
1598
|
+
static readonly FdwOutOfMemory: string;
|
|
1599
|
+
static readonly FdwNoSchemas: string;
|
|
1600
|
+
static readonly FdwOptionNameNotFound: string;
|
|
1601
|
+
static readonly FdwReplyHandle: string;
|
|
1602
|
+
static readonly FdwSchemaNotFound: string;
|
|
1603
|
+
static readonly FdwTableNotFound: string;
|
|
1604
|
+
static readonly FdwUnableToCreateExecution: string;
|
|
1605
|
+
static readonly FdwUnableToCreateReply: string;
|
|
1606
|
+
static readonly FdwUnableToEstablishConnection: string;
|
|
1607
|
+
static readonly PlpgsqlError: string;
|
|
1608
|
+
static readonly RaiseException: string;
|
|
1609
|
+
static readonly NoDataFound: string;
|
|
1610
|
+
static readonly TooManyRows: string;
|
|
1611
|
+
static readonly AssertFailure: string;
|
|
1612
|
+
static readonly InternalError: string;
|
|
1613
|
+
static readonly DataCorrupted: string;
|
|
1614
|
+
static readonly IndexCorrupted: string;
|
|
1615
1615
|
}
|
|
1616
1616
|
|
|
1617
1617
|
|