Spryer 0.9.11
dotnet add package Spryer --version 0.9.11
NuGet\Install-Package Spryer -Version 0.9.11
<PackageReference Include="Spryer" Version="0.9.11" />
<PackageVersion Include="Spryer" Version="0.9.11" />
<PackageReference Include="Spryer" />
paket add Spryer --version 0.9.11
#r "nuget: Spryer, 0.9.11"
#addin nuget:?package=Spryer&version=0.9.11
#tool nuget:?package=Spryer&version=0.9.11
Spryer
Enum mapping for Dapper and more
The project provides a set of utility classes and extension methods, including the DbEnum<T>
and DapperExtensions
classes.
DbEnum
The DbEnum<T>
class is a generic wrapper around C# enumerations that provides support for storing enum values in a database. It includes methods for converting between enum values and database values, and for serializing and deserializing enum values.
Before using the DbEnum<T>
class, you must enable its support in Dapper by calling a DbEnum<T>.Initialize()
method, usually during your application startup.
DapperExtensions
The DapperExtensions
class provides a set of extension methods for converting strings to different types of database strings, and for converting enum values to DbEnum<T>
instances.
SqlMapperExtensions
The SqlMapperExtensions
class extends Dapper's SqlMapper
functionality by providing convenient methods for querying databases and retrieving results as strings or deserialized JSON objects. QueryTextAsync
method executes a SQL query and returns the result as a single string. QueryJsonAsync
method executes a SQL query and returns the result as a JSON object.
DbScriptMap
The DbScriptMap
class is designed to manage and provide access to a collection of SQL scripts to use with Dapper. These scripts are typically loaded from embedded resources within an assembly or from files on the file system. The class simplifies the process of retrieving and using these scripts within an application.
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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Dapper (>= 2.1.35)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Spryer:
Package | Downloads |
---|---|
Spryer.AspNetCore.Identity
ASP.NET Core Identity storage provider with non-IQueryable stores |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
0.9.11 | 166 | 6/14/2025 |
0.9.10 | 132 | 11/23/2024 |
0.9.8 | 165 | 10/24/2024 |
0.9.7 | 161 | 9/28/2024 |
0.9.6 | 147 | 5/19/2024 |
0.9.5 | 176 | 4/2/2024 |
0.9.4 | 143 | 2/22/2024 |
0.9.4-beta | 189 | 7/11/2023 |
0.9.3-beta | 147 | 5/17/2023 |
0.9.2-beta | 170 | 4/2/2023 |
0.9.1-beta | 164 | 3/23/2023 |
0.9.0-beta | 179 | 3/20/2023 |