using Microsoft.Extensions.DependencyInjection; using System; namespace DS.WMS.PrintApi.Middleware { /// /// 注入Saas分库服务 /// public static class SaasDbInstall { /// /// /// /// /// public static void AddSaasDbInstall(this IServiceCollection services) { if (services == null) throw new ArgumentNullException(nameof(services)); services.AddScoped(); } } }