Sencilla.Repository.EntityFramework
10.0.69
dotnet add package Sencilla.Repository.EntityFramework --version 10.0.69
NuGet\Install-Package Sencilla.Repository.EntityFramework -Version 10.0.69
<PackageReference Include="Sencilla.Repository.EntityFramework" Version="10.0.69" />
<PackageVersion Include="Sencilla.Repository.EntityFramework" Version="10.0.69" />
<PackageReference Include="Sencilla.Repository.EntityFramework" />
paket add Sencilla.Repository.EntityFramework --version 10.0.69
#r "nuget: Sencilla.Repository.EntityFramework, 10.0.69"
#:package Sencilla.Repository.EntityFramework@10.0.69
#addin nuget:?package=Sencilla.Repository.EntityFramework&version=10.0.69
#tool nuget:?package=Sencilla.Repository.EntityFramework&version=10.0.69
Sencilla.Repository.EntityFramework
Entity Framework Core repository implementation for the Sencilla Framework.
What's Included
- Full CRUD repository implementation backed by EF Core
- Support for all Sencilla entity lifecycle interfaces (create, update, soft-delete, hide)
- Built-in filtering, sorting, and pagination
- Transaction support
- Zero-boilerplate auto-registration — define an entity, get repositories automatically
Installation
dotnet add package Sencilla.Repository.EntityFramework
Quick Start
1. Define an entity — the interfaces you implement determine which repositories are auto-registered:
using Sencilla.Core;
public class Product :
IEntity<int>,
IEntityCreateableTrack, // → ICreateRepository<Product> + auto-sets CreatedDate
IEntityUpdateableTrack, // → IUpdateRepository<Product> + auto-sets UpdatedDate
IEntityDeleteable // → IDeleteRepository<Product>
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public decimal Price { get; set; }
public DateTime CreatedDate { get; set; }
public DateTime UpdatedDate { get; set; }
}
2. Register Sencilla — no DbContext or repository classes needed:
builder.Services.AddSencilla(builder.Configuration);
builder.Services.AddSencillaRepositoryForEF(options =>
options.UseSqlServer(builder.Configuration.GetConnectionString("Default")));
3. Inject and use:
public class ProductService(
IReadRepository<Product> reader,
ICreateRepository<Product> creator,
IUpdateRepository<Product> updater)
{
// All repositories are auto-injected
}
Documentation
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Microsoft.Data.SqlClient (>= 6.1.3)
- Microsoft.EntityFrameworkCore (>= 10.0.0)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.0)
- Sencilla.Core (>= 10.0.69)
- Sencilla.Extensions.EntityFrameworkCore (>= 10.0.69)
- System.Linq.Dynamic.Core (>= 1.7.1)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Sencilla.Repository.EntityFramework:
| Package | Downloads |
|---|---|
|
Sencilla.Messaging.EntityFramework
Package Description |
|
|
Sencilla.Authentication
Package Description |
|
|
Sencilla.Component.Tags
Generic entity tagging for Sencilla: IEntityTaggable plus three interchangeable tag repositories (inline column, per-entity link table, shared tag.EntityTag table), ?tag= filtering and tags[] hydration. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.69 | 133 | 10/15/2026 |
| 10.0.68 | 129 | 10/14/2026 |
| 10.0.67 | 141 | 10/9/2026 |
| 10.0.66 | 178 | 9/25/2026 |
| 10.0.64 | 166 | 9/20/2026 |
| 10.0.63 | 161 | 9/17/2026 |
| 10.0.62 | 194 | 9/9/2026 |
| 10.0.61 | 164 | 9/9/2026 |
| 10.0.59 | 249 | 8/21/2026 |
| 10.0.58 | 180 | 8/21/2026 |
| 10.0.57 | 181 | 8/21/2026 |
| 10.0.56 | 186 | 8/21/2026 |
| 10.0.55 | 172 | 8/18/2026 |
| 10.0.54 | 165 | 8/14/2026 |
| 10.0.53 | 181 | 8/10/2026 |
| 10.0.52 | 163 | 8/7/2026 |
| 10.0.51 | 164 | 8/5/2026 |
| 10.0.50 | 157 | 8/5/2026 |
| 10.0.49 | 188 | 7/31/2026 |
| 10.0.48 | 190 | 7/23/2026 |