using EntrustSettle.Common.Seed; using Microsoft.Extensions.DependencyInjection; using System; namespace EntrustSettle.Extensions { /// /// Db 启动服务 /// public static class DbSetup { public static void AddDbSetup(this IServiceCollection services) { if (services == null) throw new ArgumentNullException(nameof(services)); services.AddScoped(); services.AddScoped(); } } }