-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnpgsql.api.txt
2393 lines (2248 loc) · 151 KB
/
npgsql.api.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
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
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
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
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
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
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
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
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
namespace Npgsql
{
public interface INpgsqlDatabaseInfoFactory
{
System.Threading.Tasks.Task<Npgsql.NpgsqlDatabaseInfo?> Load(Npgsql.NpgsqlConnection conn, Npgsql.NpgsqlTimeout timeout, bool async);
}
public interface INpgsqlNameTranslator
{
string TranslateMemberName(string clrName);
string TranslateTypeName(string clrName);
}
public delegate void NoticeEventHandler(object sender, Npgsql.NpgsqlNoticeEventArgs e);
public delegate void NotificationEventHandler(object sender, Npgsql.NpgsqlNotificationEventArgs e);
public sealed class NpgsqlBinaryExporter : Npgsql.ICancelable, System.IAsyncDisposable
{
public bool IsNull { get; }
public void Cancel() { }
public void Dispose() { }
public System.Threading.Tasks.ValueTask DisposeAsync() { }
public T Read<T>() { }
public T Read<T>(NpgsqlTypes.NpgsqlDbType type) { }
public System.Threading.Tasks.ValueTask<T> ReadAsync<T>(System.Threading.CancellationToken cancellationToken = null) { }
public System.Threading.Tasks.ValueTask<T> ReadAsync<T>(NpgsqlTypes.NpgsqlDbType type, System.Threading.CancellationToken cancellationToken = null) { }
public void Skip() { }
public System.Threading.Tasks.Task SkipAsync(System.Threading.CancellationToken cancellationToken = null) { }
public int StartRow() { }
public System.Threading.Tasks.ValueTask<int> StartRowAsync(System.Threading.CancellationToken cancellationToken = null) { }
}
public sealed class NpgsqlBinaryImporter : Npgsql.ICancelable, System.IAsyncDisposable
{
public void Close() { }
public System.Threading.Tasks.ValueTask CloseAsync(System.Threading.CancellationToken cancellationToken = null) { }
public void Complete() { }
public System.Threading.Tasks.ValueTask<ulong> CompleteAsync(System.Threading.CancellationToken cancellationToken = null) { }
public void Dispose() { }
public System.Threading.Tasks.ValueTask DisposeAsync() { }
public void StartRow() { }
public System.Threading.Tasks.Task StartRowAsync(System.Threading.CancellationToken cancellationToken = null) { }
public void Write<T>(T value) { }
public void Write<T>(T value, NpgsqlTypes.NpgsqlDbType npgsqlDbType) { }
public void Write<T>(T value, string dataTypeName) { }
public System.Threading.Tasks.Task WriteAsync<T>(T value, System.Threading.CancellationToken cancellationToken = null) { }
public System.Threading.Tasks.Task WriteAsync<T>(T value, NpgsqlTypes.NpgsqlDbType npgsqlDbType, System.Threading.CancellationToken cancellationToken = null) { }
public System.Threading.Tasks.Task WriteAsync<T>(T value, string dataTypeName, System.Threading.CancellationToken cancellationToken = null) { }
public void WriteNull() { }
public System.Threading.Tasks.Task WriteNullAsync(System.Threading.CancellationToken cancellationToken = null) { }
public void WriteRow(params object[] values) { }
public System.Threading.Tasks.Task WriteRowAsync(System.Threading.CancellationToken cancellationToken = null, params object[] values) { }
}
public sealed class NpgsqlCommand : System.Data.Common.DbCommand, System.ICloneable
{
public NpgsqlCommand() { }
public NpgsqlCommand(string cmdText) { }
public NpgsqlCommand(string cmdText, Npgsql.NpgsqlConnection connection) { }
public NpgsqlCommand(string cmdText, Npgsql.NpgsqlConnection connection, Npgsql.NpgsqlTransaction transaction) { }
public bool AllResultTypesAreUnknown { get; set; }
public override string CommandText { get; set; }
public override int CommandTimeout { get; set; }
public override System.Data.CommandType CommandType { get; set; }
public new Npgsql.NpgsqlConnection? Connection { get; set; }
protected override System.Data.Common.DbConnection? DbConnection { get; set; }
protected override System.Data.Common.DbParameterCollection DbParameterCollection { get; }
protected override System.Data.Common.DbTransaction? DbTransaction { get; set; }
public override bool DesignTimeVisible { get; set; }
public bool IsPrepared { get; }
public new Npgsql.NpgsqlParameterCollection Parameters { get; }
public System.Collections.Generic.IReadOnlyList<Npgsql.NpgsqlStatement> Statements { get; }
public new Npgsql.NpgsqlTransaction? Transaction { get; set; }
public bool?[]? UnknownResultTypeList { get; set; }
public override System.Data.UpdateRowSource UpdatedRowSource { get; set; }
public override void Cancel() { }
public Npgsql.NpgsqlCommand Clone() { }
protected override System.Data.Common.DbParameter CreateDbParameter() { }
public new Npgsql.NpgsqlParameter CreateParameter() { }
protected override void Dispose(bool disposing) { }
protected override System.Data.Common.DbDataReader ExecuteDbDataReader(System.Data.CommandBehavior behavior) { }
protected override System.Threading.Tasks.Task<System.Data.Common.DbDataReader> ExecuteDbDataReaderAsync(System.Data.CommandBehavior behavior, System.Threading.CancellationToken cancellationToken) { }
public override int ExecuteNonQuery() { }
public override System.Threading.Tasks.Task<int> ExecuteNonQueryAsync(System.Threading.CancellationToken cancellationToken) { }
public new Npgsql.NpgsqlDataReader ExecuteReader() { }
public Npgsql.NpgsqlDataReader ExecuteReader(System.Data.CommandBehavior behavior) { }
public System.Threading.Tasks.Task<Npgsql.NpgsqlDataReader> ExecuteReaderAsync(System.Threading.CancellationToken cancellationToken = null) { }
public System.Threading.Tasks.Task<Npgsql.NpgsqlDataReader> ExecuteReaderAsync(System.Data.CommandBehavior behavior, System.Threading.CancellationToken cancellationToken = null) { }
public override object ExecuteScalar() { }
public override System.Threading.Tasks.Task<object> ExecuteScalarAsync(System.Threading.CancellationToken cancellationToken) { }
public override void Prepare() { }
public System.Threading.Tasks.Task PrepareAsync() { }
public new System.Threading.Tasks.Task PrepareAsync(System.Threading.CancellationToken cancellationToken = null) { }
public void Unprepare() { }
}
public sealed class NpgsqlCommandBuilder : System.Data.Common.DbCommandBuilder
{
public NpgsqlCommandBuilder() { }
public NpgsqlCommandBuilder(Npgsql.NpgsqlDataAdapter adapter) { }
public override string QuotePrefix { get; set; }
public override string QuoteSuffix { get; set; }
protected override void ApplyParameterInfo(System.Data.Common.DbParameter p, System.Data.DataRow row, System.Data.StatementType statementType, bool whereClause) { }
public static void DeriveParameters(Npgsql.NpgsqlCommand command) { }
public new Npgsql.NpgsqlCommand GetDeleteCommand() { }
public Npgsql.NpgsqlCommand GetDeleteCommand(bool useColumnsForParameterNames) { }
public new Npgsql.NpgsqlCommand GetInsertCommand() { }
public Npgsql.NpgsqlCommand GetInsertCommand(bool useColumnsForParameterNames) { }
protected override string GetParameterName(int parameterOrdinal) { }
protected override string GetParameterName(string parameterName) { }
protected override string GetParameterPlaceholder(int parameterOrdinal) { }
public new Npgsql.NpgsqlCommand GetUpdateCommand() { }
public Npgsql.NpgsqlCommand GetUpdateCommand(bool useColumnsForParameterNames) { }
public override string QuoteIdentifier(string unquotedIdentifier) { }
protected override void SetRowUpdatingHandler(System.Data.Common.DbDataAdapter adapter) { }
public override string UnquoteIdentifier(string quotedIdentifier) { }
}
public sealed class NpgsqlConnection : System.Data.Common.DbConnection, System.ICloneable
{
public const int DefaultPort;
public NpgsqlConnection() { }
public NpgsqlConnection(string connectionString) { }
public int CommandTimeout { get; }
public override string ConnectionString { get; set; }
public override int ConnectionTimeout { get; }
public override string DataSource { get; }
public override string? Database { get; }
protected override System.Data.Common.DbProviderFactory DbProviderFactory { get; }
public System.Data.ConnectionState FullState { get; }
public static Npgsql.TypeMapping.INpgsqlTypeMapper GlobalTypeMapper { get; }
public bool HasIntegerDateTimes { get; }
public string? Host { get; }
public bool IntegratedSecurity { get; }
public int Port { get; }
public System.Version PostgreSqlVersion { get; }
public System.Collections.Generic.IReadOnlyDictionary<string, string> PostgresParameters { get; }
public int ProcessID { get; }
public Npgsql.ProvideClientCertificatesCallback? ProvideClientCertificatesCallback { get; set; }
public Npgsql.ProvidePasswordCallback? ProvidePasswordCallback { get; set; }
public override string ServerVersion { get; }
public override System.Data.ConnectionState State { get; }
public string Timezone { get; }
public Npgsql.TypeMapping.INpgsqlTypeMapper TypeMapper { get; }
public System.Net.Security.RemoteCertificateValidationCallback? UserCertificateValidationCallback { get; set; }
public string? UserName { get; }
public Npgsql.NpgsqlBinaryExporter BeginBinaryExport(string copyToCommand) { }
public Npgsql.NpgsqlBinaryImporter BeginBinaryImport(string copyFromCommand) { }
protected override System.Data.Common.DbTransaction BeginDbTransaction(System.Data.IsolationLevel isolationLevel) { }
public Npgsql.NpgsqlRawCopyStream BeginRawBinaryCopy(string copyCommand) { }
public System.IO.TextReader BeginTextExport(string copyToCommand) { }
public System.IO.TextWriter BeginTextImport(string copyFromCommand) { }
public new Npgsql.NpgsqlTransaction BeginTransaction() { }
public Npgsql.NpgsqlTransaction BeginTransaction(System.Data.IsolationLevel level) { }
public override void ChangeDatabase(string dbName) { }
public static void ClearAllPools() { }
public static void ClearPool(Npgsql.NpgsqlConnection connection) { }
public Npgsql.NpgsqlConnection CloneWith(string connectionString) { }
public override void Close() { }
public new System.Threading.Tasks.Task CloseAsync() { }
public new Npgsql.NpgsqlCommand CreateCommand() { }
protected override System.Data.Common.DbCommand CreateDbCommand() { }
protected override void Dispose(bool disposing) { }
public override void EnlistTransaction(System.Transactions.Transaction transaction) { }
public override System.Data.DataTable GetSchema() { }
public override System.Data.DataTable GetSchema(string? collectionName) { }
public override System.Data.DataTable GetSchema(string? collectionName, string?[]? restrictions) { }
public void MapComposite<T>(string? pgName = null, Npgsql.INpgsqlNameTranslator? nameTranslator = null) where T : new() { }
public static void MapCompositeGlobally<T>(string? pgName = null, Npgsql.INpgsqlNameTranslator? nameTranslator = null) where T : new() { }
public void MapEnum<TEnum>(string? pgName = null, Npgsql.INpgsqlNameTranslator? nameTranslator = null) where TEnum : enum, System.ValueType, struct, new() { }
public static void MapEnumGlobally<TEnum>(string? pgName = null, Npgsql.INpgsqlNameTranslator? nameTranslator = null) where TEnum : enum, System.ValueType, struct, new() { }
public override void Open() { }
public override System.Threading.Tasks.Task OpenAsync(System.Threading.CancellationToken cancellationToken) { }
public void ReloadTypes() { }
public static void UnmapCompositeGlobally<T>(string pgName, Npgsql.INpgsqlNameTranslator? nameTranslator = null) where T : new() { }
public static void UnmapEnumGlobally<TEnum>(string? pgName = null, Npgsql.INpgsqlNameTranslator? nameTranslator = null) where TEnum : enum, System.ValueType, struct, new() { }
public void UnprepareAll() { }
public void Wait() { }
public bool Wait(int timeout) { }
public bool Wait(System.TimeSpan timeout) { }
public System.Threading.Tasks.Task WaitAsync() { }
public System.Threading.Tasks.Task WaitAsync(System.Threading.CancellationToken cancellationToken) { }
public event Npgsql.NoticeEventHandler Notice;
public event Npgsql.NotificationEventHandler Notification;
}
public sealed class NpgsqlConnectionStringBuilder : System.Data.Common.DbConnectionStringBuilder, System.Collections.Generic.IDictionary<string, object>
{
public NpgsqlConnectionStringBuilder() { }
public NpgsqlConnectionStringBuilder(bool useOdbcRules) { }
public NpgsqlConnectionStringBuilder(string connectionString) { }
public string? ApplicationName { get; set; }
public int AutoPrepareMinUsages { get; set; }
public bool BackendTimeouts { get; set; }
public bool CheckCertificateRevocation { get; set; }
public string? ClientCertificate { get; set; }
public string? ClientEncoding { get; set; }
public int CommandTimeout { get; set; }
public int ConnectionIdleLifetime { get; set; }
public int ConnectionLifeTime { get; set; }
public int ConnectionPruningInterval { get; set; }
public bool ContinuousProcessing { get; set; }
public bool ConvertInfinityDateTime { get; set; }
public string? Database { get; set; }
public string Encoding { get; set; }
public bool Enlist { get; set; }
public string? EntityAdminDatabase { get; set; }
public string? EntityTemplateDatabase { get; set; }
public string? Host { get; set; }
public bool IncludeRealm { get; set; }
public bool IntegratedSecurity { get; set; }
public int InternalCommandTimeout { get; set; }
public int KeepAlive { get; set; }
public string KerberosServiceName { get; set; }
public System.Collections.Generic.ICollection<string> Keys { get; }
public bool LoadTableComposites { get; set; }
public int MaxAutoPrepare { get; set; }
public int MaxPoolSize { get; set; }
public int MinPoolSize { get; set; }
public bool NoResetOnClose { get; set; }
public string? Passfile { get; set; }
public string? Password { get; set; }
public bool PersistSecurityInfo { get; set; }
public bool Pooling { get; set; }
public int Port { get; set; }
public bool PreloadReader { get; set; }
public int ReadBufferSize { get; set; }
public string? SearchPath { get; set; }
public Npgsql.ServerCompatibilityMode ServerCompatibilityMode { get; set; }
public int SocketReceiveBufferSize { get; set; }
public int SocketSendBufferSize { get; set; }
public Npgsql.SslMode SslMode { get; set; }
public bool TcpKeepAlive { get; set; }
public int TcpKeepAliveInterval { get; set; }
public int TcpKeepAliveTime { get; set; }
public int Timeout { get; set; }
public string? Timezone { get; set; }
public bool TrustServerCertificate { get; set; }
public bool UseExtendedTypes { get; set; }
public bool UsePerfCounters { get; set; }
public bool UseSslStream { get; set; }
public string? Username { get; set; }
public System.Collections.Generic.ICollection<object?> Values { get; }
public int WriteBufferSize { get; set; }
public override object this[string keyword] { get; set; }
public void Add(System.Collections.Generic.KeyValuePair<string, object?> item) { }
public override void Clear() { }
public bool Contains(System.Collections.Generic.KeyValuePair<string, object?> item) { }
public override bool ContainsKey(string keyword) { }
public void CopyTo(System.Collections.Generic.KeyValuePair<string, object?>[] array, int arrayIndex) { }
public override bool Equals(object? obj) { }
public System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, object?>> GetEnumerator() { }
public override int GetHashCode() { }
protected override void GetProperties(System.Collections.Hashtable propertyDescriptors) { }
public override bool Remove(string keyword) { }
public bool Remove(System.Collections.Generic.KeyValuePair<string, object?> item) { }
public override bool TryGetValue(string keyword, out object? value) { }
}
public class NpgsqlConnectionStringPropertyAttribute : System.Attribute
{
public NpgsqlConnectionStringPropertyAttribute() { }
public NpgsqlConnectionStringPropertyAttribute(params string[] synonyms) { }
public string[] Synonyms { get; }
}
public sealed class NpgsqlCopyTextReader : System.IO.StreamReader, Npgsql.ICancelable
{
public void Cancel() { }
public System.Threading.Tasks.Task CancelAsync() { }
}
public sealed class NpgsqlCopyTextWriter : System.IO.StreamWriter, Npgsql.ICancelable
{
public void Cancel() { }
public System.Threading.Tasks.Task CancelAsync() { }
}
public sealed class NpgsqlDataAdapter : System.Data.Common.DbDataAdapter
{
public NpgsqlDataAdapter() { }
public NpgsqlDataAdapter(Npgsql.NpgsqlCommand selectCommand) { }
public NpgsqlDataAdapter(string selectCommandText, Npgsql.NpgsqlConnection selectConnection) { }
public NpgsqlDataAdapter(string selectCommandText, string selectConnectionString) { }
public new Npgsql.NpgsqlCommand DeleteCommand { get; set; }
public new Npgsql.NpgsqlCommand InsertCommand { get; set; }
public new Npgsql.NpgsqlCommand SelectCommand { get; set; }
public new Npgsql.NpgsqlCommand UpdateCommand { get; set; }
protected override System.Data.Common.RowUpdatedEventArgs CreateRowUpdatedEvent(System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) { }
protected override System.Data.Common.RowUpdatingEventArgs CreateRowUpdatingEvent(System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) { }
protected override void OnRowUpdated(System.Data.Common.RowUpdatedEventArgs value) { }
protected override void OnRowUpdating(System.Data.Common.RowUpdatingEventArgs value) { }
public event Npgsql.NpgsqlRowUpdatedEventHandler RowUpdated;
public event Npgsql.NpgsqlRowUpdatingEventHandler RowUpdating;
}
public abstract class NpgsqlDatabaseInfo
{
protected NpgsqlDatabaseInfo(string host, int port, string databaseName, System.Version version) { }
public virtual bool HasIntegerDateTimes { get; protected set; }
public string Host { get; }
public string Name { get; }
public int Port { get; }
public virtual bool SupportsAdvisoryLocks { get; }
public virtual bool SupportsCloseAll { get; }
public virtual bool SupportsDiscard { get; }
public virtual bool SupportsDiscardSequences { get; }
public virtual bool SupportsDiscardTemp { get; }
public virtual bool SupportsEnumTypes { get; }
public virtual bool SupportsRangeTypes { get; }
public virtual bool SupportsTransactions { get; protected set; }
public virtual bool SupportsUnlisten { get; }
public System.Version Version { get; }
protected abstract System.Collections.Generic.IEnumerable<Npgsql.PostgresTypes.PostgresType> GetTypes();
protected static System.Version ParseServerVersion(string value) { }
public static void RegisterFactory(Npgsql.INpgsqlDatabaseInfoFactory factory) { }
}
public sealed class NpgsqlDataReader : System.Data.Common.DbDataReader, System.Data.Common.IDbColumnSchemaGenerator
{
public override int Depth { get; }
public override int FieldCount { get; }
public override bool HasRows { get; }
public override bool IsClosed { get; }
public bool IsOnRow { get; }
public override int RecordsAffected { get; }
public System.Collections.Generic.IReadOnlyList<Npgsql.NpgsqlStatement> Statements { get; }
public override object this[int ordinal] { get; }
public override object this[string name] { get; }
public override void Close() { }
public new System.Threading.Tasks.Task CloseAsync() { }
protected override void Dispose(bool disposing) { }
public override bool GetBoolean(int ordinal) { }
public override byte GetByte(int ordinal) { }
public override long GetBytes(int ordinal, long dataOffset, byte?[]? buffer, int bufferOffset, int length) { }
public override char GetChar(int ordinal) { }
public override long GetChars(int ordinal, long dataOffset, char?[]? buffer, int bufferOffset, int length) { }
public System.Collections.ObjectModel.ReadOnlyCollection<Npgsql.Schema.NpgsqlDbColumn> GetColumnSchema() { }
public override string GetDataTypeName(int ordinal) { }
public uint GetDataTypeOID(int ordinal) { }
public NpgsqlTypes.NpgsqlDate GetDate(int ordinal) { }
public override System.DateTime GetDateTime(int ordinal) { }
public override decimal GetDecimal(int ordinal) { }
public override double GetDouble(int ordinal) { }
public override System.Collections.IEnumerator GetEnumerator() { }
public override System.Type GetFieldType(int ordinal) { }
public override T GetFieldValue<T>(int ordinal) { }
public override System.Threading.Tasks.Task<T> GetFieldValueAsync<T>(int ordinal, System.Threading.CancellationToken cancellationToken) { }
public override float GetFloat(int ordinal) { }
public override System.Guid GetGuid(int ordinal) { }
public override short GetInt16(int ordinal) { }
public override int GetInt32(int ordinal) { }
public override long GetInt64(int ordinal) { }
public NpgsqlTypes.NpgsqlTimeSpan GetInterval(int ordinal) { }
public override string GetName(int ordinal) { }
public override int GetOrdinal(string name) { }
public Npgsql.PostgresTypes.PostgresType GetPostgresType(int ordinal) { }
public override System.Type GetProviderSpecificFieldType(int ordinal) { }
public override object GetProviderSpecificValue(int ordinal) { }
public override int GetProviderSpecificValues(object[] values) { }
public override System.Data.DataTable GetSchemaTable() { }
public override System.IO.Stream GetStream(int ordinal) { }
public System.Threading.Tasks.Task<System.IO.Stream> GetStreamAsync(int ordinal) { }
public System.Threading.Tasks.Task<System.IO.Stream> GetStreamAsync(int ordinal, System.Threading.CancellationToken cancellationToken) { }
public override string GetString(int ordinal) { }
public override System.IO.TextReader GetTextReader(int ordinal) { }
public System.Threading.Tasks.Task<System.IO.TextReader> GetTextReaderAsync(int ordinal) { }
public System.Threading.Tasks.Task<System.IO.TextReader> GetTextReaderAsync(int ordinal, System.Threading.CancellationToken cancellationToken) { }
public System.TimeSpan GetTimeSpan(int ordinal) { }
public NpgsqlTypes.NpgsqlDateTime GetTimeStamp(int ordinal) { }
public override object GetValue(int ordinal) { }
public override int GetValues(object[] values) { }
public override bool IsDBNull(int ordinal) { }
public override System.Threading.Tasks.Task<bool> IsDBNullAsync(int ordinal, System.Threading.CancellationToken cancellationToken) { }
public override bool NextResult() { }
public override System.Threading.Tasks.Task<bool> NextResultAsync(System.Threading.CancellationToken cancellationToken) { }
public override bool Read() { }
public override System.Threading.Tasks.Task<bool> ReadAsync(System.Threading.CancellationToken cancellationToken) { }
public event System.EventHandler ReaderClosed;
}
public class NpgsqlException : System.Data.Common.DbException
{
public NpgsqlException() { }
public NpgsqlException(string message) { }
public NpgsqlException(string message, System.Exception innerException) { }
protected internal NpgsqlException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public virtual bool IsTransient { get; }
}
public sealed class NpgsqlFactory : System.Data.Common.DbProviderFactory, System.IServiceProvider
{
public static readonly Npgsql.NpgsqlFactory Instance;
public override System.Data.Common.DbCommand CreateCommand() { }
public override System.Data.Common.DbCommandBuilder CreateCommandBuilder() { }
public override System.Data.Common.DbConnection CreateConnection() { }
public override System.Data.Common.DbConnectionStringBuilder CreateConnectionStringBuilder() { }
public override System.Data.Common.DbDataAdapter CreateDataAdapter() { }
public override System.Data.Common.DbParameter CreateParameter() { }
public object? GetService(System.Type serviceType) { }
}
public class NpgsqlLargeObjectManager
{
public NpgsqlLargeObjectManager(Npgsql.NpgsqlConnection connection) { }
public bool Has64BitSupport { get; }
public int MaxTransferBlockSize { get; set; }
public uint Create(uint preferredOid = 0) { }
public System.Threading.Tasks.Task<uint> CreateAsync(uint preferredOid, System.Threading.CancellationToken cancellationToken = null) { }
public void ExportRemote(uint oid, string path) { }
public System.Threading.Tasks.Task ExportRemoteAsync(uint oid, string path, System.Threading.CancellationToken cancellationToken = null) { }
public void ImportRemote(string path, uint oid = 0) { }
public System.Threading.Tasks.Task ImportRemoteAsync(string path, uint oid, System.Threading.CancellationToken cancellationToken = null) { }
public Npgsql.NpgsqlLargeObjectStream OpenRead(uint oid) { }
public System.Threading.Tasks.Task<Npgsql.NpgsqlLargeObjectStream> OpenReadAsync(uint oid, System.Threading.CancellationToken cancellationToken = null) { }
public Npgsql.NpgsqlLargeObjectStream OpenReadWrite(uint oid) { }
public System.Threading.Tasks.Task<Npgsql.NpgsqlLargeObjectStream> OpenReadWriteAsync(uint oid, System.Threading.CancellationToken cancellationToken = null) { }
public void Unlink(uint oid) { }
public System.Threading.Tasks.Task UnlinkAsync(uint oid, System.Threading.CancellationToken cancellationToken = null) { }
}
public sealed class NpgsqlLargeObjectStream : System.IO.Stream
{
public override bool CanRead { get; }
public override bool CanSeek { get; }
public override bool CanTimeout { get; }
public override bool CanWrite { get; }
public bool Has64BitSupport { get; }
public override long Length { get; }
public override long Position { get; set; }
public override void Close() { }
protected override void Dispose(bool disposing) { }
public override void Flush() { }
public System.Threading.Tasks.Task<long> GetLengthAsync() { }
public System.Threading.Tasks.Task<long> GetLengthAsync(System.Threading.CancellationToken cancellationToken) { }
public override int Read(byte[] buffer, int offset, int count) { }
public override System.Threading.Tasks.Task<int> ReadAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { }
public override long Seek(long offset, System.IO.SeekOrigin origin) { }
public System.Threading.Tasks.Task<long> SeekAsync(long offset, System.IO.SeekOrigin origin, System.Threading.CancellationToken cancellationToken = null) { }
public override void SetLength(long value) { }
public System.Threading.Tasks.Task SetLength(long value, System.Threading.CancellationToken cancellationToken) { }
public override void Write(byte[] buffer, int offset, int count) { }
public override System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { }
}
public sealed class NpgsqlLengthCache
{
public int Get() { }
public int Set(int len) { }
}
public sealed class NpgsqlNoticeEventArgs : System.EventArgs
{
public Npgsql.PostgresNotice Notice { get; }
}
public sealed class NpgsqlNotificationEventArgs : System.EventArgs
{
public string AdditionalInformation { get; }
public string Channel { get; }
public string Condition { get; }
public int PID { get; }
public string Payload { get; }
}
public sealed class NpgsqlOperationInProgressException : System.InvalidOperationException
{
public Npgsql.NpgsqlCommand? CommandInProgress { get; }
}
public class NpgsqlParameter : System.Data.Common.DbParameter, System.ICloneable
{
public NpgsqlParameter() { }
public NpgsqlParameter(string parameterName, object value) { }
public NpgsqlParameter(string parameterName, NpgsqlTypes.NpgsqlDbType parameterType) { }
public NpgsqlParameter(string parameterName, System.Data.DbType parameterType) { }
public NpgsqlParameter(string parameterName, NpgsqlTypes.NpgsqlDbType parameterType, int size) { }
public NpgsqlParameter(string parameterName, System.Data.DbType parameterType, int size) { }
public NpgsqlParameter(string parameterName, NpgsqlTypes.NpgsqlDbType parameterType, int size, string sourceColumn) { }
public NpgsqlParameter(string parameterName, System.Data.DbType parameterType, int size, string sourceColumn) { }
public NpgsqlParameter(string parameterName, NpgsqlTypes.NpgsqlDbType parameterType, int size, string sourceColumn, System.Data.ParameterDirection direction, bool isNullable, byte precision, byte scale, System.Data.DataRowVersion sourceVersion, object value) { }
public NpgsqlParameter(string parameterName, System.Data.DbType parameterType, int size, string sourceColumn, System.Data.ParameterDirection direction, bool isNullable, byte precision, byte scale, System.Data.DataRowVersion sourceVersion, object value) { }
public Npgsql.NpgsqlParameterCollection? Collection { get; set; }
public object? ConvertedValue { get; set; }
public string? DataTypeName { get; set; }
public System.Data.DbType DbType { get; set; }
public System.Data.ParameterDirection Direction { get; set; }
public bool IsNullable { get; set; }
public NpgsqlTypes.NpgsqlDbType NpgsqlDbType { get; set; }
public object NpgsqlValue { get; set; }
public string ParameterName { get; set; }
public Npgsql.PostgresTypes.PostgresType? PostgresType { get; }
public byte Precision { get; set; }
public byte Scale { get; set; }
public int Size { get; set; }
public string? SourceColumn { get; set; }
public bool SourceColumnNullMapping { get; set; }
public System.Data.DataRowVersion SourceVersion { get; set; }
public override object Value { get; set; }
public Npgsql.NpgsqlParameter Clone() { }
public override void ResetDbType() { }
}
public sealed class NpgsqlParameter<T> : Npgsql.NpgsqlParameter
{
public NpgsqlParameter() { }
public NpgsqlParameter(string parameterName, T value) { }
public NpgsqlParameter(string parameterName, NpgsqlTypes.NpgsqlDbType npgsqlDbType) { }
public NpgsqlParameter(string parameterName, System.Data.DbType dbType) { }
public T TypedValue { get; set; }
public override object Value { get; set; }
}
public sealed class NpgsqlParameterCollection : System.Data.Common.DbParameterCollection, System.Collections.Generic.IList<Npgsql.NpgsqlParameter>
{
public override int Count { get; }
public override bool IsFixedSize { get; }
public override bool IsReadOnly { get; }
public override bool IsSynchronized { get; }
public override object SyncRoot { get; }
public Npgsql.NpgsqlParameter this[int index] { get; set; }
public new Npgsql.NpgsqlParameter this[string parameterName] { get; set; }
public Npgsql.NpgsqlParameter Add(Npgsql.NpgsqlParameter value) { }
public override int Add(object value) { }
public Npgsql.NpgsqlParameter Add(string parameterName, NpgsqlTypes.NpgsqlDbType parameterType) { }
public Npgsql.NpgsqlParameter Add(string parameterName, NpgsqlTypes.NpgsqlDbType parameterType, int size) { }
public Npgsql.NpgsqlParameter Add(string parameterName, NpgsqlTypes.NpgsqlDbType parameterType, int size, string sourceColumn) { }
public override void AddRange(System.Array values) { }
public Npgsql.NpgsqlParameter AddWithValue(object value) { }
public Npgsql.NpgsqlParameter AddWithValue(string parameterName, object value) { }
public Npgsql.NpgsqlParameter AddWithValue(NpgsqlTypes.NpgsqlDbType parameterType, object value) { }
public Npgsql.NpgsqlParameter AddWithValue(string parameterName, NpgsqlTypes.NpgsqlDbType parameterType, object value) { }
public Npgsql.NpgsqlParameter AddWithValue(string parameterName, NpgsqlTypes.NpgsqlDbType parameterType, int size, object value) { }
public Npgsql.NpgsqlParameter AddWithValue(string parameterName, NpgsqlTypes.NpgsqlDbType parameterType, int size, string sourceColumn, object value) { }
public override void Clear() { }
public override bool Contains(string parameterName) { }
public override bool Contains(object value) { }
public bool Contains(Npgsql.NpgsqlParameter item) { }
public override void CopyTo(System.Array array, int index) { }
public void CopyTo(Npgsql.NpgsqlParameter[] array, int arrayIndex) { }
public override System.Collections.IEnumerator GetEnumerator() { }
protected override System.Data.Common.DbParameter GetParameter(string parameterName) { }
protected override System.Data.Common.DbParameter GetParameter(int index) { }
public override int IndexOf(string parameterName) { }
public override int IndexOf(object value) { }
public int IndexOf(Npgsql.NpgsqlParameter item) { }
public override void Insert(int index, object value) { }
public void Insert(int index, Npgsql.NpgsqlParameter item) { }
public void Remove(string parameterName) { }
public override void Remove(object value) { }
public bool Remove(Npgsql.NpgsqlParameter item) { }
public override void RemoveAt(string parameterName) { }
public override void RemoveAt(int index) { }
protected override void SetParameter(string parameterName, System.Data.Common.DbParameter value) { }
protected override void SetParameter(int index, System.Data.Common.DbParameter value) { }
public Npgsql.NpgsqlParameter[] ToArray() { }
public bool TryGetValue(string parameterName, out Npgsql.NpgsqlParameter? parameter) { }
}
public sealed class NpgsqlRawCopyStream : System.IO.Stream, Npgsql.ICancelable
{
public override bool CanRead { get; }
public override bool CanSeek { get; }
public override bool CanWrite { get; }
public override long Length { get; }
public override long Position { get; set; }
public void Cancel() { }
public System.Threading.Tasks.Task CancelAsync() { }
protected override void Dispose(bool disposing) { }
public override void Flush() { }
public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) { }
public override int Read(byte[] buffer, int offset, int count) { }
public override System.Threading.Tasks.Task<int> ReadAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { }
public override long Seek(long offset, System.IO.SeekOrigin origin) { }
public override void SetLength(long value) { }
public override void Write(byte[] buffer, int offset, int count) { }
public override System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken) { }
}
public sealed class NpgsqlReadBuffer
{
public Npgsql.NpgsqlConnection Connection { get; }
public System.Threading.Tasks.Task Ensure(int count, bool async) { }
public System.ReadOnlySpan<byte> GetNullTerminatedBytes() { }
public System.IO.Stream GetStream(int len, bool canSeek) { }
public byte ReadByte() { }
public void ReadBytes(System.Span<byte> output) { }
public void ReadBytes(byte[] output, int outputOffset, int len) { }
public System.Threading.Tasks.ValueTask<int> ReadBytes(byte[] output, int outputOffset, int len, bool async) { }
public char[] ReadChars(int byteLen) { }
public double ReadDouble() { }
public double ReadDouble(bool littleEndian) { }
public short ReadInt16() { }
public short ReadInt16(bool littleEndian) { }
public int ReadInt32() { }
public int ReadInt32(bool littleEndian) { }
public long ReadInt64() { }
public long ReadInt64(bool littleEndian) { }
public System.ReadOnlyMemory<byte> ReadMemory(int len) { }
public string ReadNullTerminatedString() { }
public string ReadNullTerminatedStringRelaxed() { }
public sbyte ReadSByte() { }
public float ReadSingle() { }
public float ReadSingle(bool littleEndian) { }
public System.ReadOnlySpan<byte> ReadSpan(int len) { }
public string ReadString(int byteLen) { }
public ushort ReadUInt16() { }
public ushort ReadUInt16(bool littleEndian) { }
public uint ReadUInt32() { }
public uint ReadUInt32(bool littleEndian) { }
public ulong ReadUInt64() { }
public ulong ReadUInt64(bool littleEndian) { }
public System.Threading.Tasks.Task Skip(long len, bool async) { }
}
public class NpgsqlRowUpdatedEventArgs : System.Data.Common.RowUpdatedEventArgs
{
public NpgsqlRowUpdatedEventArgs(System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) { }
}
public delegate void NpgsqlRowUpdatedEventHandler(object sender, Npgsql.NpgsqlRowUpdatedEventArgs e);
public class NpgsqlRowUpdatingEventArgs : System.Data.Common.RowUpdatingEventArgs
{
public NpgsqlRowUpdatingEventArgs(System.Data.DataRow dataRow, System.Data.IDbCommand command, System.Data.StatementType statementType, System.Data.Common.DataTableMapping tableMapping) { }
}
public delegate void NpgsqlRowUpdatingEventHandler(object sender, Npgsql.NpgsqlRowUpdatingEventArgs e);
public sealed class NpgsqlStatement
{
public NpgsqlStatement() { }
public System.Collections.Generic.List<Npgsql.NpgsqlParameter> InputParameters { get; }
public uint OID { get; }
public uint Rows { get; }
public string SQL { get; set; }
public Npgsql.StatementType StatementType { get; }
public override string ToString() { }
}
public struct NpgsqlTimeout { }
public sealed class NpgsqlTransaction : System.Data.Common.DbTransaction
{
public new Npgsql.NpgsqlConnection Connection { get; }
protected override System.Data.Common.DbConnection DbConnection { get; }
public bool IsCompleted { get; }
public override System.Data.IsolationLevel IsolationLevel { get; }
public override void Commit() { }
public System.Threading.Tasks.Task CommitAsync() { }
public new System.Threading.Tasks.Task CommitAsync(System.Threading.CancellationToken cancellationToken = null) { }
protected override void Dispose(bool disposing) { }
public void Release(string name) { }
public System.Threading.Tasks.Task ReleaseAsync(string name, System.Threading.CancellationToken cancellationToken = null) { }
public override void Rollback() { }
public void Rollback(string name) { }
public System.Threading.Tasks.Task RollbackAsync() { }
public new System.Threading.Tasks.Task RollbackAsync(System.Threading.CancellationToken cancellationToken = null) { }
public System.Threading.Tasks.Task RollbackAsync(string name, System.Threading.CancellationToken cancellationToken = null) { }
public void Save(string name) { }
public System.Threading.Tasks.Task SaveAsync(string name, System.Threading.CancellationToken cancellationToken = null) { }
}
public sealed class NpgsqlWriteBuffer
{
public int WriteSpaceLeft { get; }
public System.Threading.Tasks.Task Flush(bool async) { }
public System.IO.Stream GetStream() { }
public void WriteByte(byte value) { }
public void WriteBytes(System.ReadOnlySpan<byte> buf) { }
public void WriteBytes(byte[] buf, int offset, int count) { }
public System.Threading.Tasks.Task WriteBytesRaw(byte[] bytes, bool async) { }
public void WriteDouble(double value) { }
public void WriteDouble(double value, bool littleEndian) { }
public void WriteInt16(short value) { }
public void WriteInt16(short value, bool littleEndian) { }
public void WriteInt32(int value) { }
public void WriteInt32(int value, bool littleEndian) { }
public void WriteInt64(long value) { }
public void WriteInt64(long value, bool littleEndian) { }
public void WriteNullTerminatedString(string s) { }
public void WriteSByte(sbyte value) { }
public void WriteSingle(float value) { }
public void WriteSingle(float value, bool littleEndian) { }
public void WriteString(string s, int len = 0) { }
public System.Threading.Tasks.Task WriteString(string s, int byteLen, bool async) { }
public System.Threading.Tasks.Task WriteString(string s, int charLen, int byteLen, bool async) { }
public void WriteUInt16(ushort value) { }
public void WriteUInt16(ushort value, bool littleEndian) { }
public void WriteUInt32(uint value) { }
public void WriteUInt32(uint value, bool littleEndian) { }
public void WriteUInt64(ulong value) { }
public void WriteUInt64(ulong value, bool littleEndian) { }
}
public static class PostgresErrorCodes
{
public const string ActiveSqlTransaction;
public const string AdminShutdown;
public const string AmbiguousAlias;
public const string AmbiguousColumn;
public const string AmbiguousFunction;
public const string AmbiguousParameter;
public const string ArraySubscriptError;
public const string AssertFailure;
public const string BadCopyFileFormat;
public const string BranchTransactionAlreadyActive;
public const string CannotCoerce;
public const string CannotConnectNow;
public const string CantChangeRuntimeParam;
public const string CardinalityViolation;
public const string CaseNotFound;
public const string CharacterNotInRepertoire;
public const string CheckViolation;
public const string CollationMismatch;
public const string ConfigFileError;
public const string ConfigurationLimitExceeded;
public const string ConnectionDoesNotExist;
public const string ConnectionException;
public const string ConnectionFailure;
public const string ContainingSqlNotPermittedExternalRoutineException;
public const string CrashShutdown;
public const string DataCorrupted;
public const string DataException;
public const string DatabaseDropped;
public const string DatatypeMismatch;
public const string DatetimeFieldOverflow;
public const string DeadlockDetected;
public const string DependentObjectsStillExist;
public const string DependentPrivilegeDescriptorsStillExist;
public const string DeprecatedFeatureWarning;
public const string DiagnosticsException;
public const string DiskFull;
public const string DivisionByZero;
public const string DuplicateAlias;
public const string DuplicateColumn;
public const string DuplicateCursor;
public const string DuplicateDatabase;
public const string DuplicateFile;
public const string DuplicateFunction;
public const string DuplicateObject;
public const string DuplicatePreparedStatement;
public const string DuplicateSchema;
public const string DuplicateTable;
public const string DynamicResultSetsReturnedWarning;
public const string ErrorInAssignment;
public const string EscapeCharacterConflict;
public const string EventTriggerProtocolViolatedExternalRoutineInvocationException;
public const string ExclusionViolation;
public const string ExternalRoutineException;
public const string ExternalRoutineInvocationException;
public const string FdwColumnNameNotFound;
public const string FdwDynamicParameterValueNeeded;
public const string FdwError;
public const string FdwFunctionSequenceError;
public const string FdwInconsistentDescriptorInformation;
public const string FdwInvalidAttributeValue;
public const string FdwInvalidColumnName;
public const string FdwInvalidColumnNumber;
public const string FdwInvalidDataType;
public const string FdwInvalidDataTypeDescriptors;
public const string FdwInvalidDescriptorFieldIdentifier;
public const string FdwInvalidHandle;
public const string FdwInvalidOptionIndex;
public const string FdwInvalidOptionName;
public const string FdwInvalidStringFormat;
public const string FdwInvalidStringLengthOrBufferLength;
public const string FdwInvalidUseOfNullPointer;
public const string FdwNoSchemas;
public const string FdwOptionNameNotFound;
public const string FdwOutOfMemory;
public const string FdwReplyHandle;
public const string FdwSchemaNotFound;
public const string FdwTableNotFound;
public const string FdwTooManyHandles;
public const string FdwUnableToCreateExecution;
public const string FdwUnableToCreateReply;
public const string FdwUnableToEstablishConnection;
public const string FeatureNotSupported;
public const string FloatingPointException;
public const string ForeignKeyViolation;
public const string FunctionExecutedNoReturnStatementSqlRoutineException;
public const string GroupingError;
public const string HeldCursorRequiresSameIsolationLevel;
public const string ImplicitZeroBitPaddingWarning;
public const string InFailedSqlTransaction;
public const string InappropriateAccessModeForBranchTransaction;
public const string InappropriateIsolationLevelForBranchTransaction;
public const string IndeterminateCollation;
public const string IndeterminateDatatype;
public const string IndexCorrupted;
public const string IndicatorOverflow;
public const string InsufficientPrivilege;
public const string InsufficientResources;
public const string IntegrityConstraintViolation;
public const string InternalError;
public const string IntervalFieldOverflow;
public const string InvalidArgumentForLogarithm;
public const string InvalidArgumentForNthValueFunction;
public const string InvalidArgumentForNtileFunction;
public const string InvalidArgumentForPowerFunction;
public const string InvalidArgumentForWidthBucketFunction;
public const string InvalidAuthorizationSpecification;
public const string InvalidBinaryRepresentation;
public const string InvalidCatalogName;
public const string InvalidCharacterValueForCast;
public const string InvalidColumnDefinition;
public const string InvalidColumnReference;
public const string InvalidCursorDefinition;
public const string InvalidCursorName;
public const string InvalidCursorState;
public const string InvalidDatabaseDefinition;
public const string InvalidDatetimeFormat;
public const string InvalidEscapeCharacter;
public const string InvalidEscapeOctet;
public const string InvalidEscapeSequence;
public const string InvalidForeignKey;
public const string InvalidFunctionDefinition;
public const string InvalidGrantOperation;
public const string InvalidGrantor;
public const string InvalidIndicatorParameterValue;
public const string InvalidLocatorSpecification;
public const string InvalidName;
public const string InvalidObjectDefinition;
public const string InvalidParameterValue;
public const string InvalidPassword;
public const string InvalidPreparedStatementDefinition;
public const string InvalidRecursion;
public const string InvalidRegularExpression;
public const string InvalidRoleSpecification;
public const string InvalidRowCountInLimitClause;
public const string InvalidRowCountInResultOffsetClause;
public const string InvalidSavepointSpecification;
public const string InvalidSchemaDefinition;
public const string InvalidSchemaName;
public const string InvalidSqlStatementName;
public const string InvalidSqlstateReturnedExternalRoutineInvocationException;
public const string InvalidTableDefinition;
public const string InvalidTablesampleArgument;
public const string InvalidTablesampleRepeat;
public const string InvalidTextRepresentation;
public const string InvalidTimeZoneDisplacementValue;
public const string InvalidTransactionInitiation;
public const string InvalidTransactionState;
public const string InvalidTransactionTermination;
public const string InvalidUseOfEscapeCharacter;
public const string InvalidXmlComment;
public const string InvalidXmlContent;
public const string InvalidXmlDocument;
public const string InvalidXmlProcessingInstruction;
public const string IoError;
public const string LocatorException;
public const string LockFileExists;
public const string LockNotAvailable;
public const string ModifyingSqlDataNotPermittedExternalRoutineException;
public const string ModifyingSqlDataNotPermittedSqlRoutineException;
public const string MostSpecificTypeMismatch;
public const string NameTooLong;
public const string NoActiveSqlTransaction;
public const string NoActiveSqlTransactionForBranchTransaction;
public const string NoAdditionalDynamicResultSetsReturned;
public const string NoData;
public const string NoDataFound;
public const string NonstandardUseOfEscapeCharacter;
public const string NotAnXmlDocument;
public const string NotNullViolation;
public const string NullValueEliminatedInSetFunctionWarning;
public const string NullValueNoIndicatorParameter;
public const string NullValueNotAllowed;
public const string NullValueNotAllowedExternalRoutineInvocationException;
public const string NumericValueOutOfRange;
public const string ObjectInUse;
public const string ObjectNotInPrerequisiteState;
public const string OperatorIntervention;
public const string OutOfMemory;
public const string PlpgsqlError;
public const string PrivilegeNotGrantedWarning;
public const string PrivilegeNotRevokedWarning;
public const string ProgramLimitExceeded;
public const string ProhibitedSqlStatementAttemptedExternalRoutineException;
public const string ProhibitedSqlStatementAttemptedSqlRoutineException;
public const string ProtocolViolation;
public const string QueryCanceled;
public const string RaiseException;
public const string ReadOnlySqlTransaction;
public const string ReadingSqlDataNotPermittedExternalRoutineException;
public const string ReadingSqlDataNotPermittedSqlRoutineException;
public const string ReservedName;
public const string RestrictViolation;
public const string SavepointException;
public const string SchemaAndDataStatementMixingNotSupported;
public const string SerializationFailure;
public const string SnapshotFailure;
public const string SqlClientUnableToEstablishSqlConnection;
public const string SqlRoutineException;
public const string SqlServerRejectedEstablishmentOfSqlConnection;
public const string SqlStatementNotYetComplete;
public const string SrfProtocolViolatedExternalRoutineInvocationException;
public const string StackedDiagnosticsAccessedWithoutActiveHandler;
public const string StatementCompletionUnknown;
public const string StatementTooComplex;
public const string StringDataLengthMismatch;
public const string StringDataRightTruncation;
public const string StringDataRightTruncationWarning;
public const string SubstringError;
public const string SuccessfulCompletion;
public const string SyntaxError;
public const string SyntaxErrorOrAccessRuleViolation;
public const string SystemError;
public const string TooManyArguments;
public const string TooManyColumns;
public const string TooManyConnections;
public const string TooManyRows;
public const string TransactionIntegrityConstraintViolation;
public const string TransactionResolutionUnknown;
public const string TransactionRollback;
public const string TriggerProtocolViolatedExternalRoutineInvocationException;
public const string TriggeredActionException;
public const string TriggeredDataChangeViolation;
public const string TrimError;
public const string UndefinedColumn;
public const string UndefinedFile;
public const string UndefinedFunction;
public const string UndefinedObject;
public const string UndefinedParameter;
public const string UndefinedTable;
public const string UniqueViolation;
public const string UnterminatedCString;
public const string UntranslatableCharacter;
public const string Warning;
public const string WindowingError;
public const string WithCheckOptionViolation;
public const string WrongObjectType;
public const string ZeroLengthCharacterString;
}
public sealed class PostgresException : Npgsql.NpgsqlException
{
public PostgresException() { }
public PostgresException(string messageText, string severity, string invariantSeverity, string sqlState) { }
public string Code { get; }
public string? ColumnName { get; }
public string? ConstraintName { get; }
public override System.Collections.IDictionary Data { get; }
public string? DataTypeName { get; }
public string? Detail { get; }
public string? File { get; }
public string? Hint { get; }
public int InternalPosition { get; }
public string? InternalQuery { get; }
public string InvariantSeverity { get; }
public override bool IsTransient { get; }
public string? Line { get; }
public override string Message { get; }
public string MessageText { get; }
public int Position { get; }
public string? Routine { get; }
public string? SchemaName { get; }
public string Severity { get; }
public string SqlState { get; }
public Npgsql.NpgsqlStatement? Statement { get; }
public string? TableName { get; }
public string? Where { get; }
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public override string ToString() { }
}
public sealed class PostgresNotice
{
public PostgresNotice() { }
public PostgresNotice(string severity, string invariantSeverity, string sqlState, string messageText) { }
public string Code { get; }
public string? ColumnName { get; set; }
public string? ConstraintName { get; set; }
public string? DataTypeName { get; set; }
public string? Detail { get; set; }
public string? File { get; set; }
public string? Hint { get; set; }
public int InternalPosition { get; set; }
public string? InternalQuery { get; set; }
public string InvariantSeverity { get; }
public string? Line { get; set; }
public string MessageText { get; set; }
public int Position { get; set; }
public string? Routine { get; set; }
public string? SchemaName { get; set; }
public string Severity { get; set; }
public string SqlState { get; set; }
public string? TableName { get; set; }
public string? Where { get; set; }
}
public delegate void ProvideClientCertificatesCallback(System.Security.Cryptography.X509Certificates.X509CertificateCollection certificates);
public delegate string ProvidePasswordCallback(string host, int port, string database, string username);
public enum ServerCompatibilityMode
{
None = 0,
Redshift = 1,
NoTypeLoading = 2,
}
public enum SslMode
{