Exemple #1
0
 /// <summary>
 /// 初始化用户解决方案服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="userSolutionRepository">用户解决方案仓储</param>
 public UserSolutionService(IDbDesignerUnitOfWork unitOfWork, IUserSolutionRepository userSolutionRepository)
     : base(unitOfWork, userSolutionRepository)
 {
     UserSolutionRepository = userSolutionRepository;
 }
 /// <summary>
 /// 初始化字典服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="dictionaryRepository">字典仓储</param>
 public DictionaryService(IDbDesignerUnitOfWork unitOfWork, IDictionaryRepository dictionaryRepository)
     : base(unitOfWork, dictionaryRepository)
 {
     DictionaryRepository = dictionaryRepository;
 }
 /// <summary>
 /// 初始化数据库仓储
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public DatabaseRepository(IDbDesignerUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }
Exemple #4
0
 /// <summary>
 /// 初始化地区服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="areaRepository">地区仓储</param>
 public AreaService(IDbDesignerUnitOfWork unitOfWork, IAreaRepository areaRepository)
     : base(unitOfWork, areaRepository)
 {
     AreaRepository = areaRepository;
 }
 /// <summary>
 /// 初始化数据模式服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="databaseSchemaRepository">数据模式仓储</param>
 public DatabaseSchemaService(IDbDesignerUnitOfWork unitOfWork, IDatabaseSchemaRepository databaseSchemaRepository)
     : base(unitOfWork, databaseSchemaRepository)
 {
     DatabaseSchemaRepository = databaseSchemaRepository;
 }
Exemple #6
0
 /// <summary>
 /// 初始化角色服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="roleRepository">角色仓储</param>
 public RoleService(IDbDesignerUnitOfWork unitOfWork, IRoleRepository roleRepository)
     : base(unitOfWork, roleRepository)
 {
     RoleRepository = roleRepository;
 }
Exemple #7
0
 /// <summary>
 /// 初始化文件服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="fileRepository">文件仓储</param>
 public FileService(IDbDesignerUnitOfWork unitOfWork, IFileRepository fileRepository)
     : base(unitOfWork, fileRepository)
 {
     FileRepository = fileRepository;
 }
Exemple #8
0
 /// <summary>
 /// 初始化项目仓储
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public ProjectRepository(IDbDesignerUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }
Exemple #9
0
 /// <summary>
 /// 初始化系统配置服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="configurationRepository">系统配置仓储</param>
 public ConfigurationService(IDbDesignerUnitOfWork unitOfWork, IConfigurationRepository configurationRepository)
     : base(unitOfWork, configurationRepository)
 {
     ConfigurationRepository = configurationRepository;
 }
 /// <summary>
 /// 初始化应用程序仓储
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public ApplicationRepository(IDbDesignerUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }
 /// <summary>
 /// 初始化系统配置仓储
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public ConfigurationRepository(IDbDesignerUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }
 /// <summary>
 /// 初始化资源服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="resourceRepository">资源仓储</param>
 public ResourceService(IDbDesignerUnitOfWork unitOfWork, IResourceRepository resourceRepository)
     : base(unitOfWork, resourceRepository)
 {
     ResourceRepository = resourceRepository;
 }
 /// <summary>
 /// 初始化权限服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="permissionRepository">权限仓储</param>
 public PermissionService(IDbDesignerUnitOfWork unitOfWork, IPermissionRepository permissionRepository)
     : base(unitOfWork, permissionRepository)
 {
     PermissionRepository = permissionRepository;
 }
Exemple #14
0
 public ProjectService(IDbDesignerUnitOfWork unitOfWork, IProjectRepository projectRepository)
 {
     UnitOfWork        = unitOfWork;
     ProjectRepository = projectRepository;
 }
Exemple #15
0
 /// <summary>
 /// 初始化用户项目服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="userProjectRepository">用户项目仓储</param>
 public UserProjectService(IDbDesignerUnitOfWork unitOfWork, IUserProjectRepository userProjectRepository)
     : base(unitOfWork, userProjectRepository)
 {
     UserProjectRepository = userProjectRepository;
 }
Exemple #16
0
 /// <summary>
 /// 初始化权限仓储
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public PermissionRepository(IDbDesignerUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }
Exemple #17
0
 /// <summary>
 /// 初始化字典仓储
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public DictionaryRepository(IDbDesignerUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }
 /// <summary>
 /// 初始化应用程序服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="applicationRepository">应用程序仓储</param>
 public ApplicationService(IDbDesignerUnitOfWork unitOfWork, IApplicationRepository applicationRepository)
     : base(unitOfWork, applicationRepository)
 {
     ApplicationRepository = applicationRepository;
 }
Exemple #19
0
 /// <summary>
 /// 初始化资源仓储
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public ResourceRepository(IDbDesignerUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }
 /// <summary>
 /// 初始化数据表服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="databaseTableRepository">数据表仓储</param>
 public DatabaseTableService(IDbDesignerUnitOfWork unitOfWork, IDatabaseTableRepository databaseTableRepository)
     : base(unitOfWork, databaseTableRepository)
 {
     DatabaseTableRepository = databaseTableRepository;
 }
 /// <summary>
 /// 初始化数据列服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="databaseColumnRepository">数据列仓储</param>
 public DatabaseColumnService(IDbDesignerUnitOfWork unitOfWork, IDatabaseColumnRepository databaseColumnRepository)
     : base(unitOfWork, databaseColumnRepository)
 {
     DatabaseColumnRepository = databaseColumnRepository;
 }
 /// <summary>
 /// 初始化解决方案服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="solutionRepository">解决方案仓储</param>
 public SolutionService(IDbDesignerUnitOfWork unitOfWork, ISolutionRepository solutionRepository)
     : base(unitOfWork, solutionRepository)
 {
     SolutionRepository = solutionRepository;
 }
 /// <summary>
 /// 初始化项目服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="projectRepository">项目仓储</param>
 public ProjectService(IDbDesignerUnitOfWork unitOfWork, IProjectRepository projectRepository)
     : base(unitOfWork, projectRepository)
 {
     ProjectRepository = projectRepository;
 }
 /// <summary>
 /// 初始化用户信息服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="userInfoRepository">用户信息仓储</param>
 public UserInfoService(IDbDesignerUnitOfWork unitOfWork, IUserInfoRepository userInfoRepository)
     : base(unitOfWork, userInfoRepository)
 {
     UserInfoRepository = userInfoRepository;
 }
 /// <summary>
 /// 初始化数据类型字典服务
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 /// <param name="dataTypeDictionaryRepository">数据类型字典仓储</param>
 public DataTypeDictionaryService(IDbDesignerUnitOfWork unitOfWork, IDataTypeDictionaryRepository dataTypeDictionaryRepository)
     : base(unitOfWork, dataTypeDictionaryRepository)
 {
     DataTypeDictionaryRepository = dataTypeDictionaryRepository;
 }
Exemple #26
0
 /// <summary>
 /// 初始化用户仓储
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public UserRepository(IDbDesignerUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }
 /// <summary>
 /// 初始化解决方案仓储
 /// </summary>
 /// <param name="unitOfWork">工作单元</param>
 public SolutionRepository(IDbDesignerUnitOfWork unitOfWork) : base(unitOfWork)
 {
 }