• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# IUnitOfWorkAsync类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中IUnitOfWorkAsync的典型用法代码示例。如果您正苦于以下问题:C# IUnitOfWorkAsync类的具体用法?C# IUnitOfWorkAsync怎么用?C# IUnitOfWorkAsync使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



IUnitOfWorkAsync类属于命名空间,在下文中一共展示了IUnitOfWorkAsync类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: CustomerController

 public CustomerController(
     IUnitOfWorkAsync unitOfWorkAsync,
     ICustomerService customerService)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _customerService = customerService;
 }
开发者ID:GFoley83,项目名称:URFUnitOfWorkAndRepositoriesFramework,代码行数:7,代码来源:CustomerController.cs


示例2: PersonServiceController

 public PersonServiceController(
     IUnitOfWorkAsync unitOfWorkAsync,
     IPersonBukService personBukService)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _personBukService = personBukService;
 }
开发者ID:rufdev,项目名称:tagabukid_project,代码行数:7,代码来源:PersonServiceController.cs


示例3: ManageController

        public ManageController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IItemService itemService,
            IPictureService pictureService,
            IItemPictureService itemPictureService,
            IOrderService orderService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldItemService customFieldItemService,
            ISettingDictionaryService settingDictionaryService,
            IItemStatService itemStatService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService)
        {
            _settingService = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;
            _itemService = itemService;
            _pictureService = pictureService;
            _itemPictureService = itemPictureService;
            _orderService = orderService;            
            
            _customFieldService = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldItemService = customFieldItemService;
            _itemStatService = itemStatService;

            _dataCacheService = dataCacheService;
            _sqlDbService = sqlDbService;

            _unitOfWorkAsync = unitOfWorkAsync;
        }
开发者ID:scharada,项目名称:beyourmarket,代码行数:35,代码来源:ManageController.cs


示例4: HomeController

 public HomeController(IQuickLinkService quickLinkService, IUnitOfWorkAsync unitOfWork, IArticleService articleService, IArticleCategoryService articleCategoryService)
 {
     this.quickLinkService = quickLinkService;
     this.articleService = articleService;
     this.unitOfWork = unitOfWork;
     this.articleCategoryService = articleCategoryService;
 }
开发者ID:babak59,项目名称:forbiz,代码行数:7,代码来源:HomeController.cs


示例5: ProjectRoleController

 public ProjectRoleController(
     IUnitOfWorkAsync unitOfWorkAsync,
     IProjectRoleBLL projectRoleService)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _projectRoleService = projectRoleService;
 }
开发者ID:NhlaksMaestro,项目名称:RoleBasedRateSystemSolution,代码行数:7,代码来源:ProjectRoleController.cs


示例6: PatientController

 public PatientController(
     IPatientService patientService,
     IUnitOfWorkAsync unitOfWork) : base(unitOfWork)
 {
     _patientService = patientService;
      _logger = LogManager.GetLogger(GetType().Name);
 }
开发者ID:sowenzhang,项目名称:HospitalWeightMonitor,代码行数:7,代码来源:PatientController.cs


示例7: RoleMenusController

 public RoleMenusController(IRoleMenuService roleMenuService, IUnitOfWorkAsync unitOfWork, IMenuItemService menuItemService, ApplicationRoleManager roleManager)
 {
     _roleMenuService = roleMenuService;
     _menuItemService = menuItemService;
     _roleManager = roleManager;
     _unitOfWork = unitOfWork;
 }
开发者ID:huoxudong125,项目名称:MVC5-Scaffolder,代码行数:7,代码来源:RoleMenusController.cs


示例8: WeekMenuController

 public WeekMenuController(IUnitOfWorkAsync unitOfWork)
 {
     _unitOfWork = unitOfWork;
     _db = _unitOfWork.GetContext();
     _weekmenuService = new MenuForWeekService(_unitOfWork.RepositoryAsync<MenuForWeek>());
     _mfdDishPriceService=new MfdDishPriceService(_unitOfWork.RepositoryAsync<MfdDishPriceRelations>());
 }
开发者ID:densem-2013,项目名称:ACSDining,代码行数:7,代码来源:WeekMenuController.cs


示例9: ListingController

        public ListingController(
           IUnitOfWorkAsync unitOfWorkAsync,
           ISettingService settingService,
           ICategoryService categoryService,
           IListingService listingService,
           IPictureService pictureService,
           IListingPictureService ListingPictureservice,
           IOrderService orderService,
           ICustomFieldService customFieldService,
           ICustomFieldCategoryService customFieldCategoryService,
           ICustomFieldListingService customFieldListingService,
           ISettingDictionaryService settingDictionaryService,
           IListingStatService ListingStatservice,
           IEmailTemplateService emailTemplateService,
           DataCacheService dataCacheService,
           SqlDbService sqlDbService)
        {
            _settingService = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;
            _listingService = listingService;
            _pictureService = pictureService;
            _ListingPictureservice = ListingPictureservice;
            _orderService = orderService;
            _customFieldService = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldListingService = customFieldListingService;
            _ListingStatservice = ListingStatservice;
            _emailTemplateService = emailTemplateService;
            _dataCacheService = dataCacheService;
            _sqlDbService = sqlDbService;

            _unitOfWorkAsync = unitOfWorkAsync;
        }
开发者ID:Speedriser,项目名称:beyourmarket,代码行数:35,代码来源:ListingController.cs


示例10: WorkProcessDetailsController

 public WorkProcessDetailsController(IStationService stationService,IWorkProcessService workProcessService,IWorkProcessDetailService workProcessDetailService, IUnitOfWorkAsync unitOfWork)
 {
     _workProcessDetailService = workProcessDetailService;
     _unitOfWork = unitOfWork;
     _workProcessService = workProcessService;
     _stationService = stationService;
 }
开发者ID:neozhu,项目名称:saferun-IMS,代码行数:7,代码来源:WorkProcessDetailsController.cs


示例11: DepartmentController

 public DepartmentController(
     IUnitOfWorkAsync unitOfWorkAsync,
     IDepartmentBLL departmentService)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _departmentService = departmentService;
 }
开发者ID:NhlaksMaestro,项目名称:RoleBasedRateSystemSolution,代码行数:7,代码来源:DepartmentController.cs


示例12: DataController

        /// <summary>
        /// Public constructor to initialize product service instance
        /// </summary>

        public DataController(
            IUnitOfWorkAsync unitOfWorkAsync,
            IControlService ControlService)
        {
            _unitOfWorkAsync = unitOfWorkAsync;
            _ControlService = ControlService;
        }
开发者ID:psws,项目名称:logqso.mvc,代码行数:11,代码来源:DataController.cs


示例13: UserProfileService

 public UserProfileService(IUnitOfWorkAsync unitOfWork, IUserProfileRepository repository,
     IUtilityService utilityService,IUserProfileRepository userProfileRepository)
 {
     _unitOfWork = unitOfWork;
     _repository = repository;
     _utilityService = utilityService;
     _userProfileRepository = userProfileRepository;
 }
开发者ID:surifoll,项目名称:git-test,代码行数:8,代码来源:UserProfileService.cs


示例14: EmployeeOrderApiController

 public EmployeeOrderApiController(IUnitOfWorkAsync unitOfWorkAsync)
 {
     _unitOfWork = unitOfWorkAsync;
     _db = unitOfWorkAsync.GetContext();
     _weekMenuService = new MenuForWeekService(_unitOfWork.RepositoryAsync<MenuForWeek>());
     _orderMenuService = new OrderMenuService(_unitOfWork.RepositoryAsync<WeekOrderMenu>());
     _weekPaimentService = new WeekPaimentService(_unitOfWork.RepositoryAsync<WeekPaiment>());
 }
开发者ID:densem-2013,项目名称:ACSDining,代码行数:8,代码来源:EmployeeOrderApiController.cs


示例15: FileUploadController

 public FileUploadController(IStationService stationservice,IProcessStepService setpservice,ISKUService sKUService, IBOMComponentService iBOMComponentService, IUnitOfWorkAsync unitOfWork)
 {
     _iBOMComponentService = iBOMComponentService;
     _sKUService  = sKUService;
     _unitOfWork = unitOfWork;
     _setpservice = setpservice;
     _stationservice = stationservice;
 }
开发者ID:neozhu,项目名称:saferun-IMS,代码行数:8,代码来源:FileUploadController.cs


示例16: ProjectController

 public ProjectController(IProjectService projectService, IUnitOfWorkAsync unitOfWork,
     IAreaService areaService, IProjectTypeService projectTypeService, IPriceService priceService)
 {
     _projectService = projectService;
     _unitOfWork = unitOfWork;
     _AreaService = areaService;
     _ProjectTypeService = projectTypeService;
     _PriceService = priceService;
 }
开发者ID:dattienmdc,项目名称:SHTeam,代码行数:9,代码来源:ProjectController.cs


示例17: DisqusController

 public DisqusController(
     ISettingDictionaryService settingDictionaryService,
     IUnitOfWorkAsync unitOfWorkAsync,
     DataCacheService dataCacheService)
 {
     _settingDictionaryService = settingDictionaryService;
     _unitOfWorkAsync = unitOfWorkAsync;
     _dataCacheService = dataCacheService;
 }
开发者ID:DemOneEh,项目名称:beyourmarket,代码行数:9,代码来源:DisqusController.cs


示例18: GroupController

 public GroupController(
     IUnitOfWorkAsync unitOfWork,
     IStoredProcedureService storedProcedureService,
     IGroupService groupService)
 {
     _unitOfWork = unitOfWork;
     _groupService = groupService;
     _storedProcedureService = storedProcedureService;
 }
开发者ID:arkirakosyan,项目名称:MyStories,代码行数:9,代码来源:GroupController.cs


示例19: UserController

 public UserController(IUnitOfWorkAsync unitOfWorkAsync,
     IRepositoryAsync<Account> accountRepositoryAsync, 
     IRepositoryAsync<Employee> employeeRepositoryAsync,
     IRepositoryAsync<Role> roleRepositoryAsync)
 {
     _accountRepositoryAsync = accountRepositoryAsync;
     _employeeRepositoryAsync = employeeRepositoryAsync;
     _roleRepositoryAsync = roleRepositoryAsync;
     _unitOfWorkAsync = unitOfWorkAsync;
 }
开发者ID:jeffjuarez,项目名称:OI---All-Charts,代码行数:10,代码来源:UserController.cs


示例20: EmployeeController

 public EmployeeController(
     IUnitOfWorkAsync unitOfWorkAsync,
     IEmployeeBLL employeeService,
     IDepartmentBLL departmentService,
     IDepartmentRoleBLL departmentRoleService)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _employeeService = employeeService;
     _departmentService = departmentService;
     _departmentRoleService = departmentRoleService;
 }
开发者ID:NhlaksMaestro,项目名称:RoleBasedRateSystemSolution,代码行数:11,代码来源:EmployeeController.cs



注:本文中的IUnitOfWorkAsync类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IUnitOfWorkFactory类代码示例发布时间:2022-05-24
下一篇:
C# IUnitOfWork类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap