RepoDb 1.1.2
Prefix ReservedSee the version list below for details.
dotnet add package RepoDb --version 1.1.2
NuGet\Install-Package RepoDb -Version 1.1.2
<PackageReference Include="RepoDb" Version="1.1.2" />
paket add RepoDb --version 1.1.2
#r "nuget: RepoDb, 1.1.2"
// Install RepoDb as a Cake Addin
#addin nuget:?package=RepoDb&version=1.1.2
// Install RepoDb as a Cake Tool
#tool nuget:?package=RepoDb&version=1.1.2
Why RepoDb
- Only 30 seconds to Setup.
- Massive ORM Operation supports.
- Seriously fast because of IL.
- Less Code and Fluent.
- Unique and Developer Friendly Expression Tree.
Snippets
Write less optimal codes.
var repository = new DbRepository<SqlConnection>(connectionString);
var people = repository.Query<Person>(new
{
LastName = { Operation = Operation.Like, Value = "Ander%" }
},
top: 100,
orderBy: OrderField.Parse(new
{
FirstName = Order.Ascending,
BirtDate = Order.Descending
});
Documentation
Click here for the documentation.
Goal
We aim to let .NET developers limit the implementation of SQL Statements within the application. We believe that as a .NET developer, one should only focus on .NET and Business scenario development and not on writing repetitive SQL Statements. Ofcourse, unless you are working closely with SQL Server Management Studio.
Notes
- We will keep it simple as possible (KISS principle)
- We will make it fast as possible
- We will never make complex implementations (specially for Joins)
- We will never ever do try-catch inside the library
Features
- Transaction
- Asynchronous Operation
- Type Mapping
- Field Mapping
- Multiple Mapping
- Expression Tree
- Caching
- Tracing
- SQL Statement Builder
Operations
- BatchQuery
- BatchQueryAsync
- Count
- CountAsync
- CountBig
- CountBigAsync
- Query
- QueryAsync
- Insert
- InsertAsync
- Delete
- DeleteAsync
- Update
- UpdateAsync
- InlineUpdate
- InlineUpdateAsync
- Merge
- MergeAsync
- BulkInsert
- BulkInsertAsync
- ExecuteReader
- ExecuteReaderAsync
- ExecuteQuery
- ExecuteQueryAsync
- ExecuteNonQuery
- ExecuteNonQueryAsync
- ExecuteScalar
- ExecuteScalarAsync
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (17)
Showing the top 5 NuGet packages that depend on RepoDb:
Package | Downloads |
---|---|
RepoDb.SqlServer
A hybrid .NET ORM library for SQL Server. |
|
RepoDb.SqlServer.BulkOperations
An extension library that contains the official Bulk Operations of RepoDb for SQL Server. |
|
RepoDb.PostgreSql
A hybrid .NET ORM library for PostgreSQL. |
|
RepoDb.MySql
A hybrid .NET ORM library for MySQL (using MySql.Data). |
|
RepoDb.PostgreSql.BulkOperations
An extension library that contains the official Bulk Operations of RepoDb for PostgreSQL. |
GitHub repositories (6)
Showing the top 5 popular GitHub repositories that depend on RepoDb:
Repository | Stars |
---|---|
mikependon/RepoDB
A hybrid ORM library for .NET.
|
|
itlibrium/DDD-starter-dotnet
Sample implementation and comparison of various approaches to building DDD applications. Useful as a baseline to quickly start a DDD dot net project.
|
|
TortugaResearch/DotNet-ORM-Cookbook
This repository is meant to show how to perform common tasks using C# with variety of ORMs.
|
|
bcssov/IronyModManager
Mod Manager for Paradox Games. Official Discord: https://discord.gg/t9JmY8KFrV
|
|
FransBouma/RawDataAccessBencher
Bench code which tests entity materialization speed of various .NET data access / ORM implementations
|
Version | Downloads | Last updated |
---|---|---|
1.13.2-alpha1 | 656 | 2/26/2024 |
1.13.1 | 138,417 | 3/16/2023 |
1.13.0 | 71,167 | 11/2/2022 |
1.12.10 | 306,739 | 2/18/2022 |
1.12.9 | 30,676 | 9/27/2021 |
1.12.8 | 82,498 | 9/23/2021 |
1.12.7 | 169,538 | 2/6/2021 |
1.12.6 | 4,628 | 1/13/2021 |
1.12.5 | 9,698 | 12/30/2020 |
1.12.4 | 68,760 | 10/3/2020 |
1.12.3 | 3,092 | 9/29/2020 |
1.12.2 | 1,326 | 9/28/2020 |
1.12.1 | 1,387 | 9/25/2020 |
1.12.0 | 4,430 | 9/24/2020 |
1.3.2-alpha1 | 295 | 2/26/2024 |
- Version 1.1.2
- Built on a target framework 4.0 for earlier compatibility
- Renamed CacheItem.Timestamp to CacheItem.CreatedDate
- Added CacheItem.IsExpired method
- Added CacheItem.Expiration property
- Removed ICacheItem
- Removed ITraceLog
- Removed ICancellableTraceLog
- Removed ITypeMap
- Removed IStatementBuilderMap
- Removed IQueryGroup
- Removed IQueryField
- Removed IParameter
- Removed IField
- Removed IOrderField
- Removed IDataEntityMap