1234567891011121314151617 |
- using Furion;
- using Furion.DatabaseAccessor;
- using Microsoft.Extensions.DependencyInjection;
- namespace YBEE.EQM.EntityFramework.Core
- {
- public class Startup : AppStartup
- {
- public void ConfigureServices(IServiceCollection services)
- {
- services.AddDatabaseAccessor(options =>
- {
- options.AddDbPool<DefaultDbContext>($"{DbProvider.MySql}@8.0.31");
- }, "YBEE.EQM.Database.Migrations");
- }
- }
- }
|