RuoVea.OmiApi.Config 10.0.0.1

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

RuoVea.OmiApi.Config

介绍:

参数配置 API

简单参数配置API(RuoVea.OmiApi.Config):基于.Net5.0 、.Net6.0 、.Net7.0、.net10.0构建的简单、跨平台的系统。 系统业务简单、代码清晰,如果您只是单纯只需简单增、删、改、查。没有多余的功能,简单扩展下基本可以满足日常需求。 支持的数据库有 MySql、SqlServer、PostgreSQL、SQLite、Oracle...

安装教程

Install-Package RuoVea.OmiApi.Config

/*类库映射API组件*/
if (builder.Environment.IsProduction())
{
    builder.Services.AddDynamicWebApi(options =>
    {
        options.DefaultApiPrefix = "/openapi/api";
        options.RemoveControllerPostfixes = new List<string> { "AppService", "Service" };
        options.RemovePrefix = new List<string> { "get", "post" };
    });
}
else
{
    builder.Services.AddDynamicWebApi(options =>
    {
        options.RemoveControllerPostfixes = new List<string> { "AppService", "Service" };
        options.RemovePrefix = new List<string> { "get", "post" };
    });
}
builder.Services.AddOmiConfigSetup();/* 应用接口*/
builder.Services.AddSqlSugarSetup();/* 扩展ORM */
builder.Services.AddConfigInitSetup();/* 初始化表和种子数据 */

配置信息


  /* 数据库链接 具体配置见SqlSugar官网(第一个为默认库不需要设置ConfigId)*/
  "ConnectionConfigs": [
    {
      "DbType": "Sqlite", /*MySql、SqlServer、Sqlite、Oracle、PostgreSQL、Dm、Kdbndp、Oscar、MySqlConnector、Access、OpenGauss、QuestDB、HG、ClickHouse、GBase、Odbc、Custom */
      "ConnectionString": "DataSource=./ruovea.db", /*库连接字符串*/
      //"EnableUnderLine": false, /*启用驼峰转下划线*/
      //"EnableDiffLog": false, /*启用库表差异日志*/

      //"IsEncrypt": false, /*是否加密*/
      //"DbSecurity": "", /*链接字符串解密密钥*/

      //"IsDeleteFilter": true, /*查询删除过滤 实体需继承 IDeletedEntity*/
      //"IsUserIdFilter": false, /*查询过滤器默认为false,true的时候;当有用户cretor的时候将及时过滤 实体需继承ICreatorFilter或EntityBase*/
      //"IsTenantIdFilter": false, /*查询过滤器 默认为false,true的时候;当有用户cretor的时候将及时过滤 实体需继承 ITenantIdFilter*/
      //"CommandTimeOut": 30 /*设置 SQL 执行的超时时间(默认30)分钟 */
    }
  ]
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos 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 (7)

Showing the top 5 NuGet packages that depend on RuoVea.OmiApi.Config:

Package Downloads
RuoVea.OmiApi.UserRoleMenu

用户角色菜单管理

RuoVea.OmiConfig

参数配置

RuoVea.OmiApi.SystemApp

系统应用管理

RuoVea.OmiApi.UserRole

用户角色管理

RuoVea.OmiApi.User

用户管理

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.0.1 177 3/23/2026
10.0.0 175 1/27/2026
9.0.0.1 233 3/23/2026
9.0.0 204 1/27/2026
8.0.0.18 194 3/23/2026
8.0.0.17 457 1/27/2026
8.0.0.16 310 1/13/2026
8.0.0.15 299 1/12/2026
8.0.0.14 118 1/12/2026
8.0.0.13 600 11/25/2025
7.0.0.19 173 3/23/2026
7.0.0.18 564 1/27/2026
7.0.0.17 351 1/13/2026
7.0.0.15 342 1/12/2026
7.0.0.14 113 1/12/2026
6.0.1.19 202 3/23/2026
6.0.1.18 693 1/27/2026
6.0.1.17 410 1/13/2026
6.0.1.16 404 1/12/2026
6.0.1.15 115 1/12/2026
Loading failed