예제 #1
0
 private void FillByGetPermutation(CommonLibrary.Enumerations.GetPermutations getPermutation, TestSprocGenerator.Business.SingleTable.Bo.ContentAccessRequest filledBo)
 {
     if (this.BaseDataAccessAvailable())
     {
         this.Clear();
         TestSprocGenerator.Data.SingleTable.Dto.ContentAccessRequest        dto       = ((TestSprocGenerator.Data.SingleTable.Dto.ContentAccessRequest)(filledBo));
         List <TestSprocGenerator.Data.SingleTable.Dto.ContentAccessRequest> returnDto = _baseDataAccess.Get(dto, getPermutation);
         int control = returnDto.Count;
         if ((control > 0))
         {
             int counter;
             for (counter = 0; (counter < control); counter = (counter + 1))
             {
                 TestSprocGenerator.Business.SingleTable.Bo.ContentAccessRequest boToFill = new TestSprocGenerator.Business.SingleTable.Bo.ContentAccessRequest(_databaseSmoObjectsAndSettings);
                 _baseBusiness.FillThisWithDto(returnDto[counter], boToFill);
                 this.Add(boToFill);
             }
         }
     }
     else
     {
         throw new System.ApplicationException(FILL_DB_SETTINGS_EXCEPTION);
     }
 }
 private void FillByGetPermutation(CommonLibrary.Enumerations.GetPermutations getPermutation, CodeSampleApplication.Bo.Contact filledBo)
 {
     if (this.BaseDataAccessAvailable())
     {
         this.Clear();
         CodeSampleApplication.Dto.Contact        dto       = ((CodeSampleApplication.Dto.Contact)(filledBo));
         List <CodeSampleApplication.Dto.Contact> returnDto = _baseDataAccess.Get(dto, getPermutation);
         int control = returnDto.Count;
         if ((control > 0))
         {
             int counter;
             for (counter = 0; (counter < control); counter = (counter + 1))
             {
                 CodeSampleApplication.Bo.Contact boToFill = new CodeSampleApplication.Bo.Contact();
                 _baseBusiness.FillThisWithDto(returnDto[counter], boToFill);
                 this.Add(boToFill);
             }
         }
     }
     else
     {
         throw new System.ApplicationException(FILL_DB_SETTINGS_EXCEPTION);
     }
 }
예제 #3
0
 private void FillThisWithDto(TestSprocGenerator.Data.SingleTable.Dto.Territories filledDto)
 {
     _baseBusiness.FillThisWithDto(filledDto, this);
 }
 private void FillThisWithDto(CodeSampleApplication.Dto.Person_Contact filledDto)
 {
     _baseBusiness.FillThisWithDto(filledDto, this);
 }
 private void FillThisWithDto(CodeSampleApplication.Dto.Purpose filledDto)
 {
     _baseBusiness.FillThisWithDto(filledDto, this);
 }
 private void FillThisWithDto(Data.SingleTable.Dto.Folks filledDto)
 {
     _baseBusiness.FillThisWithDto(filledDto, this);
 }
예제 #7
0
 private void FillThisWithDto(TestSprocGenerator.Data.SingleTable.Dto.WebsiteLinkAccessRequest filledDto)
 {
     _baseBusiness.FillThisWithDto(filledDto, this);
 }
 private void FillThisWithDto(TestSprocGenerator.Data.SingleTable.Dto.Person_Address filledDto)
 {
     _baseBusiness.FillThisWithDto(filledDto, this);
 }
예제 #9
0
 private void FillThisWithDto(TestSprocGenerator.Data.SingleTable.Dto.CustomerCustomerDemo filledDto)
 {
     _baseBusiness.FillThisWithDto(filledDto, this);
 }
예제 #10
0
 private void FillThisWithDto(TestSprocGenerator.Data.SingleTable.Dto.Profile_Account filledDto)
 {
     _baseBusiness.FillThisWithDto(filledDto, this);
 }
예제 #11
0
 private void FillThisWithDto(TestSprocGenerator.Data.SingleTable.Dto.ContentType filledDto)
 {
     _baseBusiness.FillThisWithDto(filledDto, this);
 }
예제 #12
0
 private void FillThisWithDto(TestSprocGenerator.Data.SingleTable.Dto.StateProvince filledDto)
 {
     _baseBusiness.FillThisWithDto(filledDto, this);
 }
예제 #13
0
 private void FillThisWithDto(TestSprocGenerator.Data.SingleTable.Dto.Notification filledDto)
 {
     _baseBusiness.FillThisWithDto(filledDto, this);
 }
 private void FillThisWithDto(TestSprocGenerator.Data.SingleTable.Dto.PasswordResetRequest filledDto)
 {
     _baseBusiness.FillThisWithDto(filledDto, this);
 }
 private void FillThisWithDto(TestSprocGenerator.Data.SingleTable.Dto.PhoneNumber filledDto)
 {
     _baseBusiness.FillThisWithDto(filledDto, this);
 }
 private void FillThisWithDto(TestSprocGenerator.Data.SingleTable.Dto.Parent_Child filledDto)
 {
     _baseBusiness.FillThisWithDto(filledDto, this);
 }