Skip to content

lightest-night/system.data.postgres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lightest Night

Data > Postgres

Postgres SQL Data Components

Build Status

How To Use

Registration
  • Asp.Net Standard/Core Dependency Injection

    • Use the provided services.AddPostgresData(Action<PostgresOptions> optionsAccessor = null) method
  • Other Containers

    • Register the PostgresOptions as an instance of IOptions<PostgresOptions>.
    • Register IPostgresConnection as a Singleton. PostgresConnection has been provided for this use case
Usage
  • NpgsqlConnection Build()
    • A function to call to generate a new, ready to use, but closed, instance of NpgsqlConnection

About

Postgres SQL Data Components

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages