数据库连接替换成IOC配置
This commit is contained in:
@@ -14,6 +14,10 @@ namespace ZR.Repository
|
||||
[AppService(ServiceLifetime = LifeTime.Transient)]
|
||||
public class GendemoRepository : BaseRepository<Gendemo>
|
||||
{
|
||||
public GendemoRepository() : base(configId: 1)
|
||||
{
|
||||
}
|
||||
|
||||
#region 业务逻辑代码
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user