private void FillPropertiesFromBo(TestSprocGenerator.Business.SingleTable.Bo.PasswordResetRequest filledBo)
 {
     _baseBusiness.FillPropertiesFromBo(filledBo, this);
 }
 public PasswordResetRequest(CommonLibrary.DatabaseSmoObjectsAndSettings databaseSmoObjectsAndSettings, TestSprocGenerator.Business.SingleTable.Bo.PasswordResetRequest filledBo)
 {
     _databaseSmoObjectsAndSettings = databaseSmoObjectsAndSettings;
     _baseDataAccess =
         new CommonLibrary.Base.Database.BaseDataAccess <TestSprocGenerator.Data.SingleTable.Dto.PasswordResetRequest>(_databaseSmoObjectsAndSettings);
     _baseBusiness =
         new CommonLibrary.Base.Business.BaseBusiness <TestSprocGenerator.Business.SingleTable.Bo.PasswordResetRequest, TestSprocGenerator.Data.SingleTable.Dto.PasswordResetRequest>(_databaseSmoObjectsAndSettings);
     this.FillPropertiesFromBo(filledBo);
 }
 public virtual void FillByGetAll(TestSprocGenerator.Business.SingleTable.Bo.PasswordResetRequest filledBo)
 {
     CommonLibrary.Enumerations.GetPermutations getPermutation = CommonLibrary.Enumerations.GetPermutations.AllByColumnMappings;
     this.FillByGetPermutation(getPermutation, filledBo);
 }
 private void FillByGetPermutation(CommonLibrary.Enumerations.GetPermutations getPermutation, TestSprocGenerator.Business.SingleTable.Bo.PasswordResetRequest filledBo)
 {
     if (this.BaseDataAccessAvailable())
     {
         this.Clear();
         TestSprocGenerator.Data.SingleTable.Dto.PasswordResetRequest        dto       = ((TestSprocGenerator.Data.SingleTable.Dto.PasswordResetRequest)(filledBo));
         List <TestSprocGenerator.Data.SingleTable.Dto.PasswordResetRequest> 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.PasswordResetRequest boToFill = new TestSprocGenerator.Business.SingleTable.Bo.PasswordResetRequest(_databaseSmoObjectsAndSettings);
                 _baseBusiness.FillThisWithDto(returnDto[counter], boToFill);
                 this.Add(boToFill);
             }
         }
     }
     else
     {
         throw new System.ApplicationException(FILL_DB_SETTINGS_EXCEPTION);
     }
 }
 public virtual void FillByCriteriaExact(TestSprocGenerator.Business.SingleTable.Bo.PasswordResetRequest filledBo)
 {
     CommonLibrary.Enumerations.GetPermutations getPermutation = CommonLibrary.Enumerations.GetPermutations.ByExplicitCriteria;
     this.FillByGetPermutation(getPermutation, filledBo);
 }