Пример #1
0
 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;
 }
Пример #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()
     };
 }
Пример #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;
        }