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
                    
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="Sencilla.Repository.EntityFramework" Version="10.0.69" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sencilla.Repository.EntityFramework" Version="10.0.69" />
                    
Directory.Packages.props
<PackageReference Include="Sencilla.Repository.EntityFramework" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sencilla.Repository.EntityFramework --version 10.0.69
                    
#r "nuget: Sencilla.Repository.EntityFramework, 10.0.69"
                    
#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.
#:package Sencilla.Repository.EntityFramework@10.0.69
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Sencilla.Repository.EntityFramework&version=10.0.69
                    
Install as a Cake Addin
#tool nuget:?package=Sencilla.Repository.EntityFramework&version=10.0.69
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed