public BuilderTableApp(IUnitWork <SysCommonDBContext> unitWork, IRepository <BuilderTable, SysCommonDBContext> repository,
                        RevelanceManagerApp app, IAuth auth, DbExtension dbExtension, BuilderTableColumnApp builderTableColumnApp,
                        IOptions <AppSetting> appConfiguration, CategoryApp categoryApp) : base(unitWork, repository, auth)
 {
     _dbExtension           = dbExtension;
     _builderTableColumnApp = builderTableColumnApp;
     _appConfiguration      = appConfiguration;
     _categoryApp           = categoryApp;
 }
Beispiel #2
0
 public SystemAuthStrategy(IUnitWork <SysCommonDBContext> unitWork, IRepository <User, SysCommonDBContext> repository, DbExtension dbExtension) : base(unitWork, repository, null)
 {
     _dbExtension = dbExtension;
     _user        = new User
     {
         Account = Define.SYSTEM_USERNAME,
         Name    = "超级管理员",
         Id      = Guid.Empty.ToString()
     };
 }
Beispiel #3
0
 public WmsInboundOrderDtblApp(IUnitWork <SysCommonDBContext> unitWork, IRepository <WmsInboundOrderDtbl, SysCommonDBContext> repository,
                               RevelanceManagerApp app, IAuth auth, DbExtension dbExtension) : base(unitWork, repository, auth)
 {
     _dbExtension  = dbExtension;
     _revelanceApp = app;
 }
        //用户角色

        public NormalAuthStrategy(IUnitWork <SysCommonDBContext> unitWork, IRepository <User, SysCommonDBContext> repository, DbExtension dbExtension) : base(unitWork, repository, null)
        {
            _dbExtension = dbExtension;
        }