云数据模块修改
This commit is contained in:
1 parent
707eb5664a
commit
2f406c840f
6 files changed
+28
-5
No files matched your search
@@ -1,5 +1,6 @@
|
||||
using FreeSql;
|
||||
using MAX.Core.DependencyInjection;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Store.Modules.CloudProduct.Entities;
|
||||
|
||||
namespace Store.Modules.CloudProduct.Repositorys
|
||||
@@ -9,7 +10,7 @@ namespace Store.Modules.CloudProduct.Repositorys
|
||||
/// </summary>
|
||||
public class GoodsRepository : BaseRepository<GoodsEntity>, IScopedDependency
|
||||
{
|
||||
public GoodsRepository(IFreeSql fsql) : base(fsql)
|
||||
public GoodsRepository([FromKeyedServices("CloudProductConnection")] IFreeSql fsql) : base(fsql)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user