Wkg.EntityFrameworkCore
9.0.17804-dev
See the version list below for details.
dotnet add package Wkg.EntityFrameworkCore --version 9.0.17804-dev
NuGet\Install-Package Wkg.EntityFrameworkCore -Version 9.0.17804-dev
<PackageReference Include="Wkg.EntityFrameworkCore" Version="9.0.17804-dev" />
paket add Wkg.EntityFrameworkCore --version 9.0.17804-dev
#r "nuget: Wkg.EntityFrameworkCore, 9.0.17804-dev"
// Install Wkg.EntityFrameworkCore as a Cake Addin #addin nuget:?package=Wkg.EntityFrameworkCore&version=9.0.17804-dev&prerelease // Install Wkg.EntityFrameworkCore as a Cake Tool #tool nuget:?package=Wkg.EntityFrameworkCore&version=9.0.17804-dev&prerelease
WKG Entity Framework Core
Wkg.EntityFrameworkCore is a company-internal library providing the Reflective Entity Configuration And Procedure mapping extension (RECAP) to simplify the configuration of Entity Framework Core models, introduce ORM-compatible stored procedure and function mapping, add support for UUID data types, policy validation for discovered entities, and more. The library helps to reduce the amount of boilerplate code required to configure Entity Framework Core models and stored procedures, bringing standardization, validation, and easier maintenance to our projects at WKG Software GmbH.
As part of our commitment to open-source software, we are making this library available to the public under the GNU General Public License v3.0. We hope that it will be useful to other developers and that the community will contribute to its further development.
Abstract
Object-relational mapping (ORM) is a widely used technique in software development to manage the interaction between relational databases and object-oriented programming languages. It allows developers to work with the database using familiar object-oriented concepts rather than having to write raw SQL queries. However, given the risk of increased maintenance costs and decreased developer productivity posed by inefficient ORM configurations for large-scale software systems with complex and interconnected business logic, it is vital to ensure that these configurations are as clear and concise as possible.<br> The Reflective Entity Configuration And Procedure mapping framework (RECAP) has been designed and developed as a solution to simplify, standardize, and automate the configuration of relational database access layers in .NET. By building upon the existing functionality of Microsoft's Entity Framework Core, RECAP streamlines the configuration process for entity mappings and stored database procedures in .NET, resulting in improved maintainability and reduced code redundancy. This is achieved through the use of a uniform configuration syntax and the ability to map procedures to entity-like command objects.
This repository contains the database-independant core components of the RECAP framework as well as other re-usable components not directly related to RECAP. For database-specific implementations of RECAP, required for stored procedure mapping, see the following repositories:
Installation
Install the Wkg.EntityFrameworkCore
package by adding the following package reference to your project file:
<ItemGroup>
<PackageReference Include="Wkg.EntityFrameworkCore" Version="X.X.X" />
</ItemGroup>
⚠️ Warning Replace
X.X.X
with the latest stable version available on the nuget feed, where the major version must match the major version of your targeted .NET runtime.
Conceptual Design and Usage
For the full theoretical background and design principles of RECAP, please refer to the RECAP paper.
For technical documentation and usage examples, please refer to the documentation.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
-
net9.0
- Microsoft.EntityFrameworkCore (>= 9.0.0 && < 9.1.0)
- Microsoft.EntityFrameworkCore.Relational (>= 9.0.0 && < 9.1.0)
- Wkg (>= 9.0.17748 && < 9.1.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Wkg.EntityFrameworkCore:
Package | Downloads |
---|---|
Wkg.EntityFrameworkCore.MySql
Wkg.EntityFrameworkCore.MySql provides RECAP bindings for MySQL, enabling procedure mapping support in the RECAP framework for MySQL databases. Requires Wkg.EntityFrameworkCore. |
|
Wkg.EntityFrameworkCore.Oracle
Wkg.EntityFrameworkCore.Oracle provides RECAP bindings for Oracle PL/SQL, enabling procedure mapping support in the RECAP framework for Oracle databases. Requires Wkg.EntityFrameworkCore. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
9.0.17812 | 45 | 11/29/2024 |
9.0.17809-dev | 41 | 11/28/2024 |
9.0.17804-dev | 39 | 11/28/2024 |
9.0.17800 | 82 | 11/25/2024 |
8.2.17590 | 108 | 10/1/2024 |
8.2.17585 | 103 | 10/1/2024 |
8.2.17555 | 131 | 9/27/2024 |
8.2.17545 | 118 | 9/27/2024 |