Esempio n. 1
0
 public AbstractBusinessEntityService(
     ILogger logger,
     IBusinessEntityRepository businessEntityRepository,
     IApiBusinessEntityRequestModelValidator businessEntityModelValidator,
     IBOLBusinessEntityMapper bolBusinessEntityMapper,
     IDALBusinessEntityMapper dalBusinessEntityMapper,
     IBOLBusinessEntityAddressMapper bolBusinessEntityAddressMapper,
     IDALBusinessEntityAddressMapper dalBusinessEntityAddressMapper,
     IBOLBusinessEntityContactMapper bolBusinessEntityContactMapper,
     IDALBusinessEntityContactMapper dalBusinessEntityContactMapper,
     IBOLPersonMapper bolPersonMapper,
     IDALPersonMapper dalPersonMapper)
     : base()
 {
     this.BusinessEntityRepository       = businessEntityRepository;
     this.BusinessEntityModelValidator   = businessEntityModelValidator;
     this.BolBusinessEntityMapper        = bolBusinessEntityMapper;
     this.DalBusinessEntityMapper        = dalBusinessEntityMapper;
     this.BolBusinessEntityAddressMapper = bolBusinessEntityAddressMapper;
     this.DalBusinessEntityAddressMapper = dalBusinessEntityAddressMapper;
     this.BolBusinessEntityContactMapper = bolBusinessEntityContactMapper;
     this.DalBusinessEntityContactMapper = dalBusinessEntityContactMapper;
     this.BolPersonMapper = bolPersonMapper;
     this.DalPersonMapper = dalPersonMapper;
     this.logger          = logger;
 }
Esempio n. 2
0
 public BusinessEntityService(
     ILogger <IBusinessEntityRepository> logger,
     IBusinessEntityRepository businessEntityRepository,
     IApiBusinessEntityRequestModelValidator businessEntityModelValidator,
     IBOLBusinessEntityMapper bolbusinessEntityMapper,
     IDALBusinessEntityMapper dalbusinessEntityMapper,
     IBOLBusinessEntityAddressMapper bolBusinessEntityAddressMapper,
     IDALBusinessEntityAddressMapper dalBusinessEntityAddressMapper,
     IBOLBusinessEntityContactMapper bolBusinessEntityContactMapper,
     IDALBusinessEntityContactMapper dalBusinessEntityContactMapper,
     IBOLPersonMapper bolPersonMapper,
     IDALPersonMapper dalPersonMapper)
     : base(logger,
            businessEntityRepository,
            businessEntityModelValidator,
            bolbusinessEntityMapper,
            dalbusinessEntityMapper,
            bolBusinessEntityAddressMapper,
            dalBusinessEntityAddressMapper,
            bolBusinessEntityContactMapper,
            dalBusinessEntityContactMapper,
            bolPersonMapper,
            dalPersonMapper)
 {
 }
 public static void Query1(Database database, IBusinessEntityRepository repo)
 {
     database.LogSQLToFile("C1FunctionsWithLINQKit-query1-log.html", () =>
     {
         var result2 = repo.GetBusinessEntities().Take(100).ToArray();
         result2.SaveAsHtmlTableFile("C1FunctionsWithLINQKit-query1-result.html");
     });
 }
Esempio n. 4
0
 public AbstractApiBusinessEntityRequestModelValidator(IBusinessEntityRepository businessEntityRepository)
 {
     this.businessEntityRepository = businessEntityRepository;
 }
 public CompanyService(ICompanyRepository companyRepository, IBusinessEntityRepository businessEntityRepository)
 {
     _companyRepository        = companyRepository;
     _businessEntityRepository = businessEntityRepository;
 }
 public BusinessEntityService(IBusinessEntityRepository businessEntityRepository) =>
 public ApiBusinessEntityRequestModelValidator(IBusinessEntityRepository businessEntityRepository)
     : base(businessEntityRepository)
 {
 }