ColorVision.Database 1.3.10.1

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

ColorVision.Database

🎯 功能定位

数据库访问层,提供统一的数据库操作接口和辅助控件。

作用范围

UI数据层,为界面组件提供数据库连接管理和数据访问功能。

主要功能点

  • 数据库连接管理 - 支持MySQL和SQLite双数据库
  • ORM映射 - 基于SqlSugar的对象关系映射
  • 连接池管理 - 高效的数据库连接复用
  • 事务处理 - 支持数据库事务的统一管理
  • 数据库迁移 - 自动数据库结构升级
  • 配置管理 - 数据库连接配置的界面管理

与主程序的依赖关系

被引用方式:

  • ColorVision.UI 引用用于数据显示控件
  • ColorVision.Engine 引用用于数据持久化

引用的程序集:

  • SqlSugar - ORM框架
  • MySQL.Data - MySQL连接器
  • System.Data.SQLite - SQLite连接器

使用方式

引用方式

<ProjectReference Include="..\ColorVision.Database\ColorVision.Database.csproj" />

在主程序中的启用

  • 通过配置系统自动初始化数据库连接
  • 界面组件通过依赖注入获取数据访问服务

开发调试

dotnet build UI/ColorVision.Database/ColorVision.Database.csproj

目录说明

  • 包含数据库访问封装和UI控件
  • 数据库配置管理界面

相关文档链接

维护者

ColorVision UI团队

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. 
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 145 2026/10/7
1.5.8 170 2026/8/18
1.5.7 161 2026/7/28
1.5.6.1 155 2026/7/8
1.5.5.3 177 2026/5/31
1.5.5.2 157 2026/4/24
1.5.5.1 145 2026/4/13
1.5.4.1 144 2026/3/31
1.5.1.1 154 2026/2/16
1.4.1.1 155 2026/2/3
1.3.10.1 164 2026/1/14
1.3.9.2 279 2025/11/24
1.3.9.1 359 2025/11/16
1.3.8.5 232 2025/10/17
1.3.8.4 258 2025/9/30
1.3.8.3 244 2025/9/29
1.3.8.2 212 2025/9/28
1.3.8.1 252 2025/9/25
1.3.6.2 255 2025/9/8
1.3.6.1 236 2025/9/5
Loading failed