public CreateTaskDefinitionProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     ICommand <CreateTaskDefinition> command,
     ICommandExecutor executor)
     : base(dapperUnitOfWork, command, executor)
 {
 }
        public DapperRepositoryTest()
        {
            var connection = new MySql.Data.MySqlClient.MySqlConnection("server=localhost;user id=root;password=123456;database=Test");

            unitOfWork = new UnitOfWork(null);
            repository = new DapperRepositoryBase <Test, int>(unitOfWork);
        }
 public CreateJobTaskRequestProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     ICommand <CreateJobTask> command,
     ICommandExecutor executor)
     : base(dapperUnitOfWork, command, executor)
 {
 }
 public CreateCustomerContactProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     ICommand <CreateCustomerContact> command,
     ICommandExecutor executor)
     : base(dapperUnitOfWork, command, executor)
 {
 }
 public ListCustomerJobsProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <ListCustomerJobs, JobWithStatusPoco> listQuery,
     IPagedQueryRunner listQueryRunner)
     : base(dapperUnitOfWork, listQuery, listQueryRunner)
 {
 }
Exemplo n.º 6
0
 public CreateJobStaffProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     ICommand <CreateJobStaff> command,
     ICommandExecutor executor)
     : base(dapperUnitOfWork, command, executor)
 {
 }
 public CreateJobTimesheetProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     ICommand <CreateJobTimesheet> command,
     ICommandExecutor executor)
     : base(dapperUnitOfWork, command, executor)
 {
 }
 public ListTaskDefinitionsProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <PagedOrgId, TaskDefinitionBasicPoco> query,
     IPagedQueryRunner runner)
     : base(dapperUnitOfWork, query, runner)
 {
 }
Exemplo n.º 9
0
 public CreateQuoteProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     ICommand <CreateQuote> command,
     ICommandExecutor executor)
     : base(dapperUnitOfWork, command, executor)
 {
 }
Exemplo n.º 10
0
 public ListStaffProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <ListStaff, BasicStaffPoco> query,
     IPagedQueryRunner runner)
     : base(dapperUnitOfWork, query, runner)
 {
 }
Exemplo n.º 11
0
 public AdjustUserPrivilegeProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     ICommand <AdjustUserPrivilege> command,
     ICommandExecutor executor)
     : base(dapperUnitOfWork, command, executor)
 {
 }
Exemplo n.º 12
0
 public ListInvoiceTasksProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <ListInvoiceTasks, InvoiceTaskBasicPoco> listQuery,
     IPagedQueryRunner listRunner)
     : base(dapperUnitOfWork, listQuery, listRunner)
 {
 }
 public ListQuoteCostItemsProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <ListQuoteCostItems, QuoteCostItemBasicPoco> listQuery,
     IPagedQueryRunner listQueryRunner)
     : base(dapperUnitOfWork, listQuery, listQueryRunner)
 {
 }
Exemplo n.º 14
0
 public ListContactsProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <ListContacts, Contact> listQuery,
     IPagedQueryRunner listQueryRunner)
     : base(dapperUnitOfWork, listQuery, listQueryRunner)
 {
 }
 public ListSuppliersProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <ListSuppliers, Supplier> listQuery,
     IPagedQueryRunner listQueryRunner)
     : base(dapperUnitOfWork, listQuery, listQueryRunner)
 {
 }
 public CreateInvoiceCostItemProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     ICommand <CreateInvoiceCostItem> command,
     ICommandExecutor executor)
     : base(dapperUnitOfWork, command, executor)
 {
 }
Exemplo n.º 17
0
 public CreateSupplierProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     ICommand <CreateSupplier> command,
     ICommandExecutor executor)
     : base(dapperUnitOfWork, command, executor)
 {
 }
Exemplo n.º 18
0
 public ListJobsProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <PagedJobs, JobWithCustomerAndStatusPoco> query,
     IPagedQueryRunner runner)
     : base(dapperUnitOfWork, query, runner)
 {
 }
 public ListCostItemsProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <PagedOrgId, CostItem> query,
     IPagedQueryRunner runner)
     : base(dapperUnitOfWork, query, runner)
 {
 }
Exemplo n.º 20
0
 public SecurityManager(IAccountRepository accountRepository, IEmailSender eService, IDapperUnitOfWork dapperUnitOfWork, ILogger <SecurityManager> logger, ISiteHelper helper)
 {
     _accountRepository = accountRepository;
     _emailService      = eService;
     _dapperUnitOfWork  = dapperUnitOfWork;
     _logger            = logger;
     _siteHelper        = helper;
 }
 public DeleteJobTimesheetProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     ICommand <ToggleIsDelete> deleteCommand,
     ICommandExecutor deleteExecutor)
     : base(dapperUnitOfWork)
 {
     _deleteCommand  = deleteCommand;
     _deleteExecutor = deleteExecutor;
 }
Exemplo n.º 22
0
 public ListValidateCredentialProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <ListCredentials, ValidCredential> query,
     IQueryListRunner runner)
     : base(dapperUnitOfWork)
 {
     _query  = query;
     _runner = runner;
 }
 public SearchTaskDefByNameProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <SearchByName, TaskDefinitionBasicPoco> listQuery,
     IQueryListRunner runner)
 {
     _dapperUnitOfWork = dapperUnitOfWork;
     _listQuery        = listQuery;
     _runner           = runner;
 }
Exemplo n.º 24
0
 public GetTaskDefinitionByIdRequestProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <GetTaskDefinition, TaskDefinition> query,
     IQueryRunner runner)
     : base(dapperUnitOfWork)
 {
     _query  = query;
     _runner = runner;
 }
 public EnterOrganizationProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     ICommand <EnterOrganization> command,
     ICommandExecutor executor)
     : base(dapperUnitOfWork)
 {
     _command  = command;
     _executor = executor;
 }
 public SearchCustomerByNameProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <SearchByName, Customer> listQuery,
     IQueryListRunner runner)
 {
     _dapperUnitOfWork = dapperUnitOfWork;
     _listQuery        = listQuery;
     _runner           = runner;
 }
Exemplo n.º 27
0
 public GetQuoteProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <GetQuote, Quote> query,
     IQueryRunner runner)
     : base(dapperUnitOfWork)
 {
     _query  = query;
     _runner = runner;
 }
Exemplo n.º 28
0
 public GetContactProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <GetContact, Contact> query,
     IQueryRunner runner)
     : base(dapperUnitOfWork)
 {
     _query  = query;
     _runner = runner;
 }
 public ListCustomerContactProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <ListCustomerContacts, CustomerContactPoco> query,
     IQueryListRunner runner)
     : base(dapperUnitOfWork)
 {
     _query  = query;
     _runner = runner;
 }
 public GetCustomerAddressProcessor(
     IDapperUnitOfWork dapperUnitOfWork,
     IQuery <GetCustomerAddress, CustomerAddressPoco> query,
     IQueryRunner runner)
     : base(dapperUnitOfWork)
 {
     _query  = query;
     _runner = runner;
 }