SupermarketRepository 3.0.0.3
dotnet add package SupermarketRepository --version 3.0.0.3
NuGet\Install-Package SupermarketRepository -Version 3.0.0.3
<PackageReference Include="SupermarketRepository" Version="3.0.0.3" />
paket add SupermarketRepository --version 3.0.0.3
#r "nuget: SupermarketRepository, 3.0.0.3"
// Install SupermarketRepository as a Cake Addin #addin nuget:?package=SupermarketRepository&version=3.0.0.3 // Install SupermarketRepository as a Cake Tool #tool nuget:?package=SupermarketRepository&version=3.0.0.3
SupermarketRepository
A small dll depending on NPOCO to make the crud related activities much easier, since the database is defined in the program.cs /startup.cs it can verywell work with all the available drivers for NPOCO like SqlServer/ MySQL/MariaDB/NPGSQL view the homecontroller.cs for sample handling
updated 11:27 17-07-2024 added async properties and updated to new class.
updated 12:19 26-07-2024 execute scalar function is updated to accomodate objects
updated 13:13 01-08-2024 modified addnew and addnewasync to return object instead of integer possible usecase if primarykey is string it will return that object in options added loggin so it can injected directly in startup or program.cs an example is uploaded to git for most of the features
experimental features
added a custom attribute SuperAutoIncrementAttribute this will enable autoincrement of a non identity field.
you can enable this by making the bool value true for property UseExperimentalFeature which is false by default proceed with caution at your own risk
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- NPoco (>= 5.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.