示例#1
0
 public BuilderTableApp(IUnitWork unitWork, IRepository <BuilderTable> repository,
                        RevelanceManagerApp app, IAuth auth, DbExtension dbExtension, BuilderTableColumnApp builderTableColumnApp,
                        IOptions <AppSetting> appConfiguration) : base(unitWork, repository, auth)
 {
     _dbExtension           = dbExtension;
     _builderTableColumnApp = builderTableColumnApp;
     _appConfiguration      = appConfiguration;
 }
示例#2
0
 public BuilderTableApp(IUnitWork <OpenAuthDBContext> unitWork, IRepository <BuilderTable, OpenAuthDBContext> 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;
 }
示例#3
0
 public SystemAuthStrategy(IUnitWork unitWork, IRepository <User> repository, DbExtension dbExtension) : base(unitWork, repository, null)
 {
     _dbExtension = dbExtension;
     _user        = new User
     {
         Account = Define.SYSTEM_USERNAME,
         Name    = "超级管理员",
         Id      = Guid.Empty.ToString()
     };
 }
 public SystemAuthStrategy(IUnitWork unitWork, IRepository <User> repository, DbExtension dbExtension) : base(unitWork, repository)
 {
     _dbExtension = dbExtension;
     _user        = new User
     {
         Account = "System",
         Name    = "超级管理员",
         Id      = Guid.Empty.ToString()
     };
 }
示例#5
0
        //用户角色

        public NormalAuthStrategy(IUnitWork unitWork, IRepository <User> repository, DbExtension dbExtension) : base(unitWork, repository, null)
        {
            _dbExtension = dbExtension;
        }
 public WmsInboundOrderDtblApp(IUnitWork unitWork, IRepository <WmsInboundOrderDtbl> repository,
                               RevelanceManagerApp app, IAuth auth, DbExtension dbExtension) : base(unitWork, repository, auth)
 {
     _dbExtension  = dbExtension;
     _revelanceApp = app;
 }
        //用户角色

        public NormalAuthStrategy(IUnitWork <OpenAuthDBContext> unitWork, IRepository <User, OpenAuthDBContext> repository, DbExtension dbExtension) : base(unitWork, repository, null)
        {
            _dbExtension = dbExtension;
        }
示例#8
0
 public BuilderTableColumnApp(IUnitWork <OpenAuthDBContext> unitWork, IRepository <BuilderTableColumn, OpenAuthDBContext> repository,
                              IAuth auth, DbExtension dbExtension) : base(unitWork, repository, auth)
 {
     _dbExtension = dbExtension;
 }