ColorVision.Database 1.6.0

dotnet add package ColorVision.Database --version 1.6.0
                    
NuGet\Install-Package ColorVision.Database -Version 1.6.0
                    
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="ColorVision.Database" Version="1.6.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ColorVision.Database" Version="1.6.0" />
                    
Directory.Packages.props
<PackageReference Include="ColorVision.Database" />
                    
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 ColorVision.Database --version 1.6.0
                    
#r "nuget: ColorVision.Database, 1.6.0"
                    
#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 ColorVision.Database@1.6.0
                    
#: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=ColorVision.Database&version=1.6.0
                    
Install as a Cake Addin
#tool nuget:?package=ColorVision.Database&version=1.6.0
                    
Install as a Cake Tool

ColorVision.Database

数据库基础模块,提供实体驱动的通用查询、MySQL/DAO 基础,以及 SQLite 压缩正文和文件维护工具。它不拥有所有业务数据库,也不统一管理 Socket 服务、Flow 执行或连接生命周期。

目标框架为 net8.0-windows7.0;net10.0-windows7.0,使用 WPF;依赖和版本以 ColorVision.Database.csproj 为准。本 README 是源码入口,完整契约只维护在仓库知识主题中。

按代码责任定位

责任 实现入口 权威知识
已发布插件的旧浏览器注册兼容 Compatibility/LegacyDatabaseBrowserRegistration.cs(无操作,不访问数据库) 数据库连接与兼容边界
实体字段条件、查询、结果集合与会话 GenericQueryWindow、GenericQueryConditionSupport、GenericQuerySessionStore 通用查询与整表操作
MySQL 配置、连接和 DAO MySqlControl、MySqlSetting、BaseTableDao、IEntity 连接和 DAO 边界
gzip 正文读写、旧 TEXT 迁移、备份及空间回收 GzipTextPayloadCodec、SqliteGzipTextPayloadStore、SqliteGzipTextMigration、SqliteFileMaintenance SQLite 存储与维护
数据文件与业务所有者 Socket、Engine、插件和项目各自的管理器 数据责任地图

不要互换这些入口的保证:查询窗口的 SQL 区在执行时更新,不是完整实时预览;其清空表/截断表不受筛选条件限制。SQLite 底层迁移不自动备份、停业务或恢复,逐批提交也不等于全库回滚。具体调用前先读所属契约和实际 owner。

本地构建

从仓库根目录执行,仅构建托管模块及其依赖,会生成本地输出;不连接业务库、不发布包,也不验证真实数据库操作。完整源码/检索验证入口见 docs/AGENTS.md。

dotnet build .\UI\ColorVision.Database\ColorVision.Database.csproj -f net10.0-windows7.0 -p:Platform=x64
Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed.  net10.0-windows7.0 is compatible. 
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 ColorVision.Database:

Package Downloads
ColorVision.SocketProtocol

Package Description

ColorVision.UI.Desktop

Package Description

ColorVision.Rbac

ColorVision user, role, permission, session, and audit management for WPF applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.6.0 86 10/7/2026
1.5.8 161 8/18/2026
1.5.7 149 7/28/2026
1.5.6.1 147 7/8/2026
1.5.5.3 165 5/31/2026
1.5.5.2 150 4/24/2026
1.5.5.1 141 4/13/2026
1.5.4.1 137 3/31/2026
1.5.1.1 147 2/16/2026
1.4.1.1 148 2/3/2026
1.3.10.1 155 1/14/2026
1.3.9.2 270 11/24/2025
1.3.9.1 349 11/16/2025
1.3.8.5 222 10/17/2025
1.3.8.4 250 9/30/2025
1.3.8.3 236 9/29/2025
1.3.8.2 203 9/28/2025
1.3.8.1 244 9/25/2025
1.3.6.2 247 9/8/2025
1.3.6.1 226 9/5/2025
Loading failed