更新框架,增加云库搜索模块
This commit is contained in:
1 parent
8526e5e0d2
commit
f2caec6083
192 files changed
+3626
-804
No files matched your search
@@ -0,0 +1,21 @@
|
||||
using FreeSql;
|
||||
using MAX.Core.DependencyInjection;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using StoreHub.Framework.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace StoreHub.Framework.Repositorys
|
||||
{
|
||||
|
||||
public class SqlRepository : IScopedDependency
|
||||
{
|
||||
public IAdo Ado { get; }
|
||||
public SqlRepository([FromKeyedServices("KJDDB")] IFreeSql fsql)
|
||||
{
|
||||
Ado = fsql.Ado;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user