ColorVision.Database
1.3.8.3
There is a newer version of this package available.
See the version list below for details.
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" />
<PackageReference Include="ColorVision.Database" />
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
#tool nuget:?package=ColorVision.Database&version=1.3.8.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net6.0-windows7.0
- ColorVision.UI (>= 1.3.8.3)
- log4net (>= 3.2.0)
- MySql.Data (>= 9.4.0)
- Newtonsoft.Json (>= 13.0.4)
- SqlSugarCore (>= 5.1.4.202)
-
net8.0-windows7.0
- ColorVision.UI (>= 1.3.8.3)
- log4net (>= 3.2.0)
- MySql.Data (>= 9.4.0)
- Newtonsoft.Json (>= 13.0.4)
- SqlSugarCore (>= 5.1.4.202)
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.