z8018
2026-02-11 b8fb68b44c29e4667f6ea5746119413809a60a9e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
 
namespace KH.WMS.Core.Setup;
 
/// <summary>
/// 数据库配置
/// </summary>
public static class DatabaseSetup
{
    /// <summary>
    /// 配置 SQL Sugar
    /// </summary>
    public static IServiceCollection AddSqlSugarSetup(this IServiceCollection services, IConfiguration configuration)
    {
        return KH.WMS.Core.Database.SqlSugar.SqlSugarSetup.AddSqlSugar(services, configuration);
    }
}