mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 10:37:55 +08:00
同步OpenAuth.Core,增加多数据源
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
//</summary>
|
||||
// ***********************************************************************
|
||||
|
||||
using OpenAuth.Repository;
|
||||
using OpenAuth.Repository.Domain;
|
||||
using OpenAuth.Repository.Interface;
|
||||
|
||||
@@ -27,11 +28,11 @@ namespace OpenAuth.App
|
||||
{
|
||||
private SystemAuthStrategy _systemAuth;
|
||||
private NormalAuthStrategy _normalAuthStrategy;
|
||||
private readonly IUnitWork _unitWork;
|
||||
private readonly IUnitWork<OpenAuthDBContext> _unitWork;
|
||||
|
||||
public AuthContextFactory(SystemAuthStrategy sysStrategy
|
||||
, NormalAuthStrategy normalAuthStrategy
|
||||
, IUnitWork unitWork)
|
||||
, IUnitWork<OpenAuthDBContext> unitWork)
|
||||
{
|
||||
_systemAuth = sysStrategy;
|
||||
_normalAuthStrategy = normalAuthStrategy;
|
||||
|
Reference in New Issue
Block a user