Senparc.Ncf.Repository 0.20.13-preview12

Prefix Reserved
This is a prerelease version of Senparc.Ncf.Repository.
dotnet add package Senparc.Ncf.Repository --version 0.20.13-preview12
                    
NuGet\Install-Package Senparc.Ncf.Repository -Version 0.20.13-preview12
                    
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="Senparc.Ncf.Repository" Version="0.20.13-preview12" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Senparc.Ncf.Repository" Version="0.20.13-preview12" />
                    
Directory.Packages.props
<PackageReference Include="Senparc.Ncf.Repository" />
                    
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 Senparc.Ncf.Repository --version 0.20.13-preview12
                    
#r "nuget: Senparc.Ncf.Repository, 0.20.13-preview12"
                    
#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 Senparc.Ncf.Repository@0.20.13-preview12
                    
#: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=Senparc.Ncf.Repository&version=0.20.13-preview12&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Senparc.Ncf.Repository&version=0.20.13-preview12&prerelease
                    
Install as a Cake Tool

Senparc.Ncf.Repository

Senparc.Ncf.Repository provides the generic repository layer used by NCF services and XNCF modules on top of Entity Framework Core.

Features

  • Generic IRepositoryBase<TEntity> and RepositoryBase<TEntity> implementations.
  • IClientRepositoryBase<TEntity> and ClientRepositoryBase<TEntity> for NCF EntityBase models.
  • Query, paging, include, batch-save, and transaction helpers.
  • Ready-to-use repositories for common system entities and XNCF modules.

Installation

<PackageReference Include="Senparc.Ncf.Repository" Version="0.26.0-preview3" />

Key API

  • GetFirstOrDefaultObjectAsync(...) retrieves one entity with optional includes.
  • SaveObjectListAsync(...) persists a collection using the repository's change-tracking rules.
  • BeginTransaction(), BeginTransactionAsync(), CommitTransaction(), and RollbackTransaction() control explicit transactions.
  • ISysButtonRespository.DeleteButtonsByMenuId(...) and ISysRolePermissionRepository.GetAllResouceCodesByAccountIdAsync(...) expose common system operations.

Repositories are normally injected into ServiceBase<TEntity> or a derived service. Keep query predicates server-translatable and scope repositories to the current tenant where multi-tenancy is enabled.

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 (5)

Showing the top 5 NuGet packages that depend on Senparc.Ncf.Repository:

Package Downloads
Senparc.Ncf.Service

Senparc.Ncf.Service

Senparc.Xncf.Tenant

System core module (required to run the system)

Senparc.Xncf.WeixinManager

NCF module: publishmanagement NCF . managementfeature, extend! SDK Senparc.Weixin SDK .

Senparc.Ncf.UnitTestExtension

Senparc.Ncf.UnitTestExtension unit testsextend

Senparc.Xncf.AIAgentsHub

AI Agent Hub Module

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.20.13-preview12 6 11/19/2026
0.20.12-preview11 374 11/11/2026
0.20.11-preview10 348 11/5/2026
0.20.10-preview9 553 10/4/2026
0.20.9-preview9 883 8/29/2026
0.20.8-preview8 799 8/14/2026
0.20.7-preview7 349 8/12/2026
0.20.6-preview6 345 8/8/2026
0.20.5-preview5 363 8/3/2026
0.20.4-preview4 345 7/31/2026
0.20.3-preview3 299 7/28/2026
0.20.2-preview2 295 7/26/2026
0.20.1-preview1 458 6/17/2026
0.19.12.1-preview 513 5/9/2026
0.19.11-preview.1 179 2/13/2026
0.19.10.4-preview 292 12/28/2025
0.19.10.2-preview 320 12/28/2025
0.19.10-preview.1 248 11/1/2025
0.19.8.7-preview1 501 8/20/2025
0.19.2-preview 284 6/16/2026
Loading failed

[2024-09-10] v0.18.4-preview1 upgrade the cache foundation libraries
       v0.1.0 initial release
       v0.4.100 add include method
       v0.11.6 improve DeleteAllAsync() method, provide deleteItemAction parameter
       [2025-01-25] v0.19.5-preview1 Update Agents functions, support for function calling
       [2025-04-29] v0.19.7-preview1 Update CO2NET and AIKernel
       [2025-04-29] v0.19.8-preview1 Update CO2NET and AIKernel
       [2025-11-01] update basic libraries, including Senparc.AI
       [2026-07-17] v0.20.2-preview2 synchronize upstream project versions and adopt shared localization capabilities
       1. Dependency update from Senparc.Ncf.Core to 0.25.0-preview2
       [2026-07-29] v0.20.3-preview3 Dependency update from Senparc.Ncf.Core to 0.26.0-preview3
       [2026-07-31] v0.20.4-preview4 Updated module behavior and related support.
       1. Updated module behavior and related support.
       [2026-08-04] v0.20.5-preview5 Dependency update from Senparc.Ncf.Core to 0.28.0-preview5
       [2026-08-08] v0.20.6-preview6 Dependency update from Senparc.Ncf.Core to 0.28.1-preview6
       [2026-08-13] v0.20.7-preview7 Dependency update from Senparc.Ncf.Core to 0.28.2-preview7
       [2026-08-15] v0.20.8-preview8 Dependency update from Senparc.Ncf.Core to 0.29.0-preview8
       [2026-08-29] v0.20.9-preview9 Dependency updates from Senparc.Ncf.Core to 0.30.0-preview9
       1. Dependency update from Senparc.Ncf.Core to 0.30.0-preview9
       [2026-10-01] supportfieldsave, unifyupdatecapabilities
       [2026-11-03] v0.20.10-preview9 Updated module behavior and related support.
       [2026-11-05] v0.20.11-preview10 Dependency update from Senparc.Ncf.Core to 0.30.4-preview10
       [2026-11-12] v0.20.12-preview11 Dependency updates from Senparc.Ncf.Core to 0.31.0-preview11
       [2026-11-19] v0.20.13-preview12 Updated repository infrastructure and related localization metadata
       1. Updated affected project files while preserving existing public integration behavior.
       2. Standardized related English source comments and package metadata for the current release.