RuoVea.OmiConfig
6.0.1.3
dotnet add package RuoVea.OmiConfig --version 6.0.1.3
NuGet\Install-Package RuoVea.OmiConfig -Version 6.0.1.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="RuoVea.OmiConfig" Version="6.0.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RuoVea.OmiConfig --version 6.0.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RuoVea.OmiConfig, 6.0.1.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.
// Install RuoVea.OmiConfig as a Cake Addin #addin nuget:?package=RuoVea.OmiConfig&version=6.0.1.3 // Install RuoVea.OmiConfig as a Cake Tool #tool nuget:?package=RuoVea.OmiConfig&version=6.0.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RuoVea.OmiConfig
介绍:
参数配置 UI界面
简单参数配置平台(RuoVea.OmiConfig):基于.Net5.0 、.Net6.0 、.Net7.0、.Net8.0构建的简单、跨平台的系统。 系统业务简单、代码清晰,如果您只是单纯只需简单增、删、改、查。没有多余的功能,简单扩展下基本可以满足日常需求。 支持的数据库有 MySql、SqlServer、PostgreSQL、SQLite、Oracle、Firebird(后续支持)
安装教程
Install-Package RuoVea.OmiConfig
builder.Services.AddOmiConfigSetup(o =>{ o.SysFlag = false; });
builder.Services.AddSqlSugarSetup();
builder.Services.AddConfigInitSetup();/*需要在 AddSqlSugarSetup之后*/
app.UseOmiConfigUI();
配置信息
/* 初始化数据库/初始化种子数据 */
"DbInitConfig": {
"InitTable": true, /* 初始化数据库 */
"InitSeedData": true /* 初始化种子数据 */
},
/* 数据库链接 - 具体配置见SqlSugar官网(第一个为默认库不需要设置ConfigId)*/
"ConnectionConfigs": [
{
"DbType": "Sqlite", // MySql、SqlServer、Sqlite、Oracle、PostgreSQL、Dm、Kdbndp、Oscar、MySqlConnector、Access、OpenGauss、QuestDB、HG、ClickHouse、GBase、Odbc、Custom
"ConnectionString": "DataSource=./database.db", // 库连接字符串
"EnableUnderLine": false, // 启用驼峰转下划线
}
// 其他数据库配置(可以配置多个)
//{
// "ConfigId": "test",
// "DbType": "Sqlite",
// "ConnectionString": "DataSource=./test.db", // 库连接字符串
// "EnableInitDb": true, // 启用库表初始化
// "EnableInitSeed": true, // 启用种子初始化
// "EnableDiffLog": false, // 启用库表差异日志
// "EnableUnderLine": false // 启用驼峰转下划线
// "IsEncrypt": true, //是否加密
// "DbSecurity": "" //链接字符串解密密钥
//}
]
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Microsoft.AspNetCore.Mvc.NewtonsoftJson (>= 6.0.27)
- Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (>= 6.0.35)
- RuoVea.ExFilter (>= 6.0.19.4)
- RuoVea.OmiApi.Config (>= 6.0.1)
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.1.3 | 49 | 11/25/2024 |
6.0.1.2 | 51 | 11/22/2024 |
6.0.1.1 | 77 | 11/8/2024 |
6.0.1 | 81 | 11/5/2024 |
6.0.0.13 | 117 | 10/29/2024 |
6.0.0.12 | 74 | 10/29/2024 |
6.0.0.11 | 142 | 10/28/2024 |
6.0.0.10 | 177 | 10/10/2024 |
6.0.0.9 | 202 | 10/9/2024 |
6.0.0.8 | 79 | 10/8/2024 |
6.0.0.7 | 80 | 10/8/2024 |
6.0.0.6 | 89 | 9/24/2024 |
6.0.0.5 | 323 | 9/24/2024 |
6.0.0.4 | 85 | 9/24/2024 |
6.0.0.3 | 80 | 9/24/2024 |
6.0.0.1 | 85 | 9/21/2024 |
6.0.0 | 117 | 9/11/2024 |