这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
cKey c9719052f2 chore: upgrade abp framework to 5.0.0-rc.1 4 years ago
..
LINGYUN/Abp/MultiTenancy/DbFinder split the connection string change event data. 4 years ago
FodyWeavers.xml chore: upgrade abp framework to 5.0.0-rc.1 4 years ago
FodyWeavers.xsd chore: upgrade abp framework to 5.0.0-rc.1 4 years ago
LINGYUN.Abp.MultiTenancy.DbFinder.csproj chore: upgrade abp framework to 5.0.0-rc.1 4 years ago
README.md fix(tenant): fix the inconsistent tenant service name 4 years ago

README.md

LINGYUN.Abp.MultiTenancy.DbFinder

abp 多租户数据库查询组件,引用此模块将首先从分布式缓存查询当前租户配置

如果缓存不存在,则调用租户仓储接口获取租户数据,并存储到分布式缓存中

配置使用

模块按需引用

启动项目需要引用Volo.Abp.TenantManagement.EntityFrameworkCore

 // .NET CLI
 dotnet add package Volo.Abp.TenantManagement.EntityFrameworkCore
 
 // Package Manager
Install-Package Volo.Abp.TenantManagement.EntityFrameworkCore
 

事先定义appsettings.json文件

{
  "ConnectionStrings": {
    "AbpTenantManagement": "Server=127.0.0.1;Database=TenantDb;User Id=root;Password=yourPassword"
  }
}

[DependsOn(typeof(AbpDbFinderMultiTenancyModule))]
public class YouProjectModule : AbpModule
{
  // other
}