SupermarketRepository 3.0.0.3

dotnet add package SupermarketRepository --version 3.0.0.3                
NuGet\Install-Package SupermarketRepository -Version 3.0.0.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SupermarketRepository" Version="3.0.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SupermarketRepository --version 3.0.0.3                
#r "nuget: SupermarketRepository, 3.0.0.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0.3 93 8/1/2024
3.0.0.1 64 7/26/2024
3.0.0 72 7/17/2024
2.0.0 172 6/23/2023
1.0.0 167 3/6/2023