数据库连接替换成IOC配置

This commit is contained in:
izory
2021-10-11 18:05:01 +08:00
parent d7bd6c9a7f
commit 8fe1fa1938
8 changed files with 229 additions and 209 deletions

View File

@@ -14,6 +14,10 @@ namespace ZR.Repository
[AppService(ServiceLifetime = LifeTime.Transient)]
public class GendemoRepository : BaseRepository<Gendemo>
{
public GendemoRepository() : base(configId: 1)
{
}
#region
#endregion
}