ColorVision.Database 1.3.8.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package ColorVision.Database --version 1.3.8.3
                    
NuGet\Install-Package ColorVision.Database -Version 1.3.8.3
                    
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.8.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ColorVision.Database" Version="1.3.8.3" />
                    
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.8.3
                    
#r "nuget: ColorVision.Database, 1.3.8.3"
                    
#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.8.3
                    
#: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.8.3
                    
Install as a Cake Addin
#tool nuget:?package=ColorVision.Database&version=1.3.8.3
                    
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 net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  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 (1)

Showing the top 1 NuGet packages that depend on ColorVision.Database:

Package Downloads
ColorVision.Solution

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.8.4 47 9/30/2025
1.3.8.3 63 9/29/2025
1.3.8.2 60 9/28/2025
1.3.8.1 151 9/25/2025
1.3.6.2 158 9/8/2025
1.3.6.1 140 9/5/2025
1.3.5.6 175 9/3/2025
1.3.5.5 201 8/29/2025
1.3.5.4 185 8/25/2025
1.3.5.1 232 8/24/2025
1.0.0.2 154 8/21/2025
1.0.0.1 162 8/21/2025