Namespace Neon.Postgres
Classes
ConnectionExtensions
Extends Npgsql.NpgsqlConnection with useful methods.
DatabaseStatus
Holds information about a database's schema as returned by GetStatusAsync().
PreparedCommand
Simplifies prepared Postgres command usage by combining the prepared command and its usage into a single type. It's also often useful to create derived custom types from this that handle the parameter definitions and subsitutions and perhaps precompute result column indexes to help abstract these details from the calling program.
ReaderExtensions
Extends Npgsql.NpgsqlDataReader with useful methods.
SchemaManager
Manages the initial creation and schema updates for a Postgres database.
SchemaManagerException
Thrown by SchemaManager when a problem is detected.
Structs
ReaderAsyncEnumerator
Returned by ToAsyncEnumerable(NpgsqlDataReader) making
it possible to asynchronously enumerate the reader rows via the C# await foreach
statement or the equivalent for other .NET languages.
ReaderEnumerator
Returned by ToEnumerable(NpgsqlDataReader) making
it possible to synchronously enumerate the reader rows via the C# foreach
statement or the equivalent for other .NET languages.
Enums
SchemaStatus
Enumerates the possible database states as returned by GetStatusAsync().