2023-01-13 18:03:08 +08:00
|
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
2023-01-12 14:58:16 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
2023-01-13 18:03:08 +08:00
|
|
|
|
using Volo.Abp;
|
|
|
|
|
|
using Volo.Abp.Modularity;
|
|
|
|
|
|
using Yi.Framework.Domain;
|
2023-01-12 15:25:46 +08:00
|
|
|
|
using Yi.Framework.Domain.Student.IRepository;
|
2023-01-12 14:58:16 +08:00
|
|
|
|
using Yi.Framework.Sqlsugar.Student;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.Sqlsugar
|
|
|
|
|
|
{
|
2023-01-13 18:03:08 +08:00
|
|
|
|
[DependsOn(typeof(YiFrameworkDomainModule))]
|
|
|
|
|
|
public class YiFrameworkSqlsugarModule : AbpModule
|
2023-01-12 14:58:16 +08:00
|
|
|
|
{
|
2023-01-13 18:03:08 +08:00
|
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
2023-01-12 14:58:16 +08:00
|
|
|
|
{
|
2023-01-13 18:03:08 +08:00
|
|
|
|
context.Services.AddTransient<IStudentRepository, StudentRepository>();
|
2023-01-12 14:58:16 +08:00
|
|
|
|
}
|
2023-01-13 18:03:08 +08:00
|
|
|
|
public override void OnApplicationInitialization(ApplicationInitializationContext context)
|
2023-01-12 14:58:16 +08:00
|
|
|
|
{
|
2023-01-13 18:03:08 +08:00
|
|
|
|
|
2023-01-12 14:58:16 +08:00
|
|
|
|
}
|
2023-01-13 18:03:08 +08:00
|
|
|
|
|
|
|
|
|
|
|
2023-01-12 14:58:16 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|