RuoVea.OmiApi.Dict
6.0.0.5
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 RuoVea.OmiApi.Dict --version 6.0.0.5
NuGet\Install-Package RuoVea.OmiApi.Dict -Version 6.0.0.5
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.Dict" Version="6.0.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RuoVea.OmiApi.Dict --version 6.0.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RuoVea.OmiApi.Dict, 6.0.0.5"
#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.OmiApi.Dict as a Cake Addin #addin nuget:?package=RuoVea.OmiApi.Dict&version=6.0.0.5 // Install RuoVea.OmiApi.Dict as a Cake Tool #tool nuget:?package=RuoVea.OmiApi.Dict&version=6.0.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RuoVea.OmiApi.Dict
介绍:
字典管理 API
字典管理 API(RuoVea.OmiApi.Dict):基于.Net5.0 、.Net6.0 、.Net7.0、.Net8.0构建的简单、跨平台的系统。 系统业务简单、代码清晰,如果您只是单纯只需简单增、删、改、查。没有多余的功能,简单扩展下基本可以满足日常需求。 支持的数据库有 MySql、SqlServer、PostgreSQL、SQLite、Oracle...
安装教程
Install-Package RuoVea.OmiApi.Dict
/*类库映射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.AddOmiDictSetup();/* 应用接口*/
builder.Services.AddSqlSugarSetup();/* 扩展ORM */
builder.Services.AddDictInitSetup();/* 初始化表和种子数据 */
配置信息
/* 数据库链接 具体配置见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 | 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
- RuoVea.DynamicWebApi (>= 6.0.3)
- RuoVea.ExSugar (>= 6.0.18.13)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on RuoVea.OmiApi.Dict:
Package | Downloads |
---|---|
RuoVea.OmiDict
字典管理 |
GitHub repositories
This package is not used by any popular GitHub repositories.