Igtampe.Redistributables.DBContexts
1.0.0
dotnet add package Igtampe.Redistributables.DBContexts --version 1.0.0
NuGet\Install-Package Igtampe.Redistributables.DBContexts -Version 1.0.0
<PackageReference Include="Igtampe.Redistributables.DBContexts" Version="1.0.0" />
paket add Igtampe.Redistributables.DBContexts --version 1.0.0
#r "nuget: Igtampe.Redistributables.DBContexts, 1.0.0"
// Install Igtampe.Redistributables.DBContexts as a Cake Addin #addin nuget:?package=Igtampe.Redistributables.DBContexts&version=1.0.0 // Install Igtampe.Redistributables.DBContexts as a Cake Tool #tool nuget:?package=Igtampe.Redistributables.DBContexts&version=1.0.0
Reusable DB Contexts
These are a few reusable DB Contexts and interfaces for a few DB Contexts.
Postgres Context
A reusable abstract class for DbContexts that connect to a PostgreSQL DB. More specifically, one that's hosted using HerokuPostgres. It expects the Database URL to be in the URI format used by Heroku.
postgres://user:password@host:port/database
It expects it to be in the environment variable DATABASE_URL
(The one that Heroku uses), or the text file DBURL.txt for easier debugging locally. If no Database URI is found anywhere, it will write out here
to the DBURL.txt file it expected to find, and throw exception.
Context Interfaces
Interfaces for contexts that contain Notifications (From Notifier), Users (from ChopoAuth), and Images (From ChopoImageHandling) are also provided in this package
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Igtampe.Redistributables (>= 1.0.0)
- Microsoft.EntityFrameworkCore (>= 6.0.7)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 6.0.6)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Igtampe.Redistributables.DBContexts:
Package | Downloads |
---|---|
Igtampe.Redistributables.Actions
Actions includes the ActionsAgent portion of IDACRA. It has several reusable actions including UserAgent to retrieve IRED Chopo Users, or Notifier Notifications to send users their notifications |
|
Igtampe.Redistributables.Controllers
ASPControllers includes the Controllers portion of IDACRA. It has controller bases for your new controllers, and reusable ones for IRED entities. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 267 | 8/30/2022 |