ToolGood.ReadyGo 5.0.24

There is a newer version of this package available.
See the version list below for details.
dotnet add package ToolGood.ReadyGo --version 5.0.24
                    
NuGet\Install-Package ToolGood.ReadyGo -Version 5.0.24
                    
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="ToolGood.ReadyGo" Version="5.0.24" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ToolGood.ReadyGo" Version="5.0.24" />
                    
Directory.Packages.props
<PackageReference Include="ToolGood.ReadyGo" />
                    
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 ToolGood.ReadyGo --version 5.0.24
                    
#r "nuget: ToolGood.ReadyGo, 5.0.24"
                    
#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 ToolGood.ReadyGo@5.0.24
                    
#: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=ToolGood.ReadyGo&version=5.0.24
                    
Install as a Cake Addin
#tool nuget:?package=ToolGood.ReadyGo&version=5.0.24
                    
Install as a Cake Tool

ToolGood.ReadyGo

ToolGood.ReadyGo 是一个高性能 Micro-ORM,支持 SQL Server、MySQL、Sqlite、PostgreSQL、Oracle、Firebird。基于 NPoco 核心,提供 ReadyGo 风格 API。

特性

  • 链式查询:Where<T>() 后接 Where/WhereSql/OrderBy/Limit 及 IfTrue*、WhereIn、WhereLike 等扩展
  • 同步与异步接口:ToList/ToList_AsyncFirstOrDefault/FirstOrDefault_AsyncToPage/ToPage_Async(别名 SelectPage/SelectPage_Async)等
  • 批量更新 UpdateMany<T>()、批量删除 DeleteMany<T>()
  • 表达式树转 SQL,支持 [Table][Column][PrimaryKey] 等特性映射

支持框架

  • .NET 8.0 / 9.0 / 10.0

快速开始

using ToolGood.ReadyGo;

var helper = SqlHelperFactory.OpenMsSqliteFile("test.db");
helper._TableHelper.TryCreateTable(typeof(User));

// 链式查询
var list = helper.Where<User>(q => q.Age >= 30)
                 .OrderBy(q => q.Age)
                 .ToList();

// 分页(SelectPage 为 ToPage 别名)
var page = helper.Where<User>().OrderBy(q => q.Age).SelectPage(1, 10);

// 异步查询
var asyncList = await helper.Where<User>(q => q.Age >= 30).ToList_Async();

// 批量更新
helper.UpdateMany<User>().Where(q => q.Age > 30).ExcludeDefaults()
      .Execute(new User { Vip = true });

// 批量删除
helper.DeleteMany<User>().Where(q => q.Age < 18).Execute();

构建与测试

dotnet build ToolGood.ReadyGo.sln
dotnet test ToolGood.ReadyGo.Tests/ToolGood.ReadyGo.Tests.csproj

许可证

详见 License.txt

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.0.7 0 8/29/2026
6.0.6 36 8/28/2026
6.0.5 34 8/27/2026
6.0.4 41 8/27/2026
6.0.2 59 8/27/2026
6.0.1 53 8/27/2026
6.0.0 58 8/27/2026
5.0.26 74 8/26/2026
5.0.25 81 8/25/2026
5.0.24 63 8/25/2026
5.0.23 74 8/25/2026
5.0.22 70 8/25/2026
5.0.21 71 8/25/2026
5.0.20 78 8/25/2026
5.0.19 78 8/24/2026
5.0.18 86 8/24/2026
5.0.17 84 8/24/2026
5.0.16 79 8/24/2026
5.0.14 81 8/24/2026
5.0.13 78 8/24/2026
Loading failed

支持 .NET 8/9/10,链式查询、批量更新/删除、异步查询接口。