예제 #1
0
 private void StringLengthInvalidData(DeepBlue.Models.Entity.InvestorType investorType, bool ifValidData)
 {
     int delta = 0;
     if (!ifValidData) {
         delta = 1;
     }
     investorType.InvestorTypeName = GetString(20 + delta);
 }
예제 #2
0
파일: DataType.cs 프로젝트: jsingh/DeepBlue
 private void StringLengthInvalidData(DeepBlue.Models.Entity.DataType dataType, bool ifValidData)
 {
     int delta = 0;
     if (!ifValidData) {
         delta = 1;
     }
     dataType.DataTypeName = GetString(50 + delta);
 }
예제 #3
0
 private void StringLengthInvalidData(DeepBlue.Models.Entity.Deal deal, bool ifValidData)
 {
     int delta = 0;
     if (!ifValidData) {
         delta = 1;
     }
     deal.DealName = GetString(50 + delta);
 }
예제 #4
0
 private void StringLengthInvalidData(DeepBlue.Models.Entity.DealClosingCostType dealClosingCostType, bool ifValidData)
 {
     int delta = 0;
     if (!ifValidData) {
         delta = 1;
     }
     dealClosingCostType.Name = GetString(50 + delta);
 }
예제 #5
0
 private void StringLengthInvalidData(DeepBlue.Models.Entity.PurchaseType purchaseType, bool ifValidData)
 {
     int delta = 0;
     if (!ifValidData) {
         delta = 1;
     }
     purchaseType.Name = GetString(50 + delta);
 }
예제 #6
0
파일: Currency.cs 프로젝트: jsingh/DeepBlue
 private void StringLengthInvalidData(DeepBlue.Models.Entity.Currency currency, bool ifValidData)
 {
     int delta = 0;
     if (!ifValidData) {
         delta = 1;
     }
     currency.Currency1 = GetString(100 + delta);
 }
예제 #7
0
 private void StringLengthInvalidData(DeepBlue.Models.Entity.ReportingType reportingtype, bool ifValidData)
 {
     int delta = 0;
     if (!ifValidData) {
         delta = 1;
     }
     reportingtype.Reporting = GetString(100 + delta);
 }
예제 #8
0
 private void StringLengthInvalidData(DeepBlue.Models.Entity.FundExpenseType fundExpenseType, bool ifValidData)
 {
     int delta = 0;
     if (!ifValidData) {
         delta = 1;
     }
     fundExpenseType.Name = GetString(50 + delta);
 }
예제 #9
0
파일: Industry.cs 프로젝트: jsingh/DeepBlue
 private void StringLengthInvalidData(DeepBlue.Models.Entity.Industry industry, bool ifValidData)
 {
     int delta = 0;
     if (!ifValidData) {
         delta = 1;
     }
     industry.Industry1 = GetString(100 + delta);
 }
예제 #10
0
 private void StringLengthInvalidData(DeepBlue.Models.Entity.ShareClassType shareclasstype, bool ifValidData)
 {
     int delta = 0;
     if (!ifValidData) {
         delta = 1;
     }
     shareclasstype.ShareClass = GetString(100 + delta);
 }
예제 #11
0
 private void StringLengthInvalidData(DeepBlue.Models.Entity.FixedIncomeType fixedincometype, bool ifValidData)
 {
     int delta = 0;
     if (!ifValidData) {
         delta = 1;
     }
     fixedincometype.FixedIncomeType1 = GetString(100 + delta);
 }
예제 #12
0
 private void StringLengthInvalidData(DeepBlue.Models.Entity.SecurityType securityType, bool ifValidData)
 {
     int delta = 0;
     if (!ifValidData) {
         delta = 1;
     }
     securityType.Name = GetString(100 + delta);
 }
예제 #13
0
 private void StringLengthInvalidData(DeepBlue.Models.Entity.CommunicationGrouping communicationGroup, bool ifValidData)
 {
     int delta = 0;
     if (!ifValidData) {
         delta = 1;
     }
     communicationGroup.CommunicationGroupingName = GetString(20 + delta);
 }
예제 #14
0
 private void StringLengthInvalidData(DeepBlue.Models.Entity.FundClosing fundClosing, bool ifValidData)
 {
     int delta = 0;
     if (!ifValidData) {
         delta = 1;
     }
     fundClosing.Name = GetString(50 + delta);
 }
예제 #15
0
 private void StringLengthInvalidData(DeepBlue.Models.Entity.CashDistributionType cashdistributiontype, bool ifValidData)
 {
     int delta = 0;
     if (!ifValidData) {
         delta = 1;
     }
     cashdistributiontype.Name = GetString(50 + delta);
 }
예제 #16
0
파일: Currency.cs 프로젝트: jsingh/DeepBlue
 private void RequiredFieldDataMissing(DeepBlue.Models.Entity.Currency currency, bool ifValidData)
 {
     if (ifValidData) {
         currency.Currency1 = "Currency";
     }
     else{
         currency.Currency1 = string.Empty;
     }
 }
예제 #17
0
파일: DataType.cs 프로젝트: jsingh/DeepBlue
 private void RequiredFieldDataMissing(DeepBlue.Models.Entity.DataType dataType, bool ifValidData)
 {
     if (ifValidData) {
         dataType.DataTypeName = "DataTypeName";
     }
     else{
         dataType.DataTypeName = string.Empty;
     }
 }
예제 #18
0
 private void RequiredFieldDataMissing(DeepBlue.Models.Entity.InvestorType investorType, bool ifValidData)
 {
     if (ifValidData) {
         investorType.InvestorTypeName = "InvestorTypeName";
     }
     else{
         investorType.InvestorTypeName = string.Empty;
     }
 }
예제 #19
0
 private void RequiredFieldDataMissing(DeepBlue.Models.Entity.FixedIncomeType fixedincometype, bool ifValidData)
 {
     if (ifValidData) {
         fixedincometype.FixedIncomeType1 = "FixedIncomeType1";
     }
     else{
         fixedincometype.FixedIncomeType1 = string.Empty;
     }
 }
예제 #20
0
 private void RequiredFieldDataMissing(DeepBlue.Models.Entity.CommunicationGrouping communicationGroup, bool ifValidData)
 {
     if (ifValidData) {
         communicationGroup.CommunicationGroupingName  = "CommunicationGroupingName";
     }
     else{
         communicationGroup.CommunicationGroupingName = string.Empty;
     }
 }
예제 #21
0
 private void RequiredFieldDataMissing(DeepBlue.Models.Entity.SecurityType securityType, bool ifValidData)
 {
     if (ifValidData) {
         securityType.Name = "SecurityTypeName";
     }
     else{
         securityType.Name = string.Empty;
     }
 }
예제 #22
0
 private void RequiredFieldDataMissing(DeepBlue.Models.Entity.ActivityType activitytype, bool ifValidData)
 {
     if (ifValidData) {
         activitytype.Name = "ActivityTypeName";
     }
     else{
         activitytype.Name = string.Empty;
     }
 }
예제 #23
0
 private void RequiredFieldDataMissing(DeepBlue.Models.Entity.CashDistributionType cashdistributiontype, bool ifValidData)
 {
     if (ifValidData) {
         cashdistributiontype.Name = "CashDistributionTypeName";
     }
     else{
         cashdistributiontype.Name = string.Empty;
     }
 }
예제 #24
0
파일: Industry.cs 프로젝트: jsingh/DeepBlue
 private void RequiredFieldDataMissing(DeepBlue.Models.Entity.Industry industry, bool ifValidData)
 {
     if (ifValidData) {
         industry.Industry1 = "Industry1";
     }
     else{
         industry.Industry1 = string.Empty;
     }
 }
예제 #25
0
 private void RequiredFieldDataMissing(DeepBlue.Models.Entity.FundExpenseType fundExpenseType, bool ifValidData)
 {
     if (ifValidData) {
         fundExpenseType.Name = "FundExpenseTypeName";
     }
     else{
         fundExpenseType.Name = string.Empty;
     }
 }
예제 #26
0
 private void RequiredFieldDataMissing(DeepBlue.Models.Entity.PurchaseType purchaseType, bool ifValidData)
 {
     if (ifValidData) {
         purchaseType.Name = "PurchaseTypeName";
     }
     else{
         purchaseType.Name = string.Empty;
     }
 }
예제 #27
0
 private void RequiredFieldDataMissing(DeepBlue.Models.Entity.ReportingType reportingtype, bool ifValidData)
 {
     if (ifValidData) {
         reportingtype.Reporting = "Reporting";
     }
     else{
         reportingtype.Reporting = string.Empty;
     }
 }
예제 #28
0
        public CapitalCallController(IFundRepository fundRepository,
			ICapitalCallRepository capitalCallRepository,
			IInvestorRepository investorRepository,
			DeepBlue.Controllers.Admin.IAdminRepository adminRepository)
        {
            FundRepository=fundRepository;
            CapitalCallRepository=capitalCallRepository;
            InvestorRepository=investorRepository;
            AdminRepository=adminRepository;
        }
예제 #29
0
 private void RequiredFieldDataMissing(DeepBlue.Models.Entity.FundClosing fundClosing, bool ifValidData)
 {
     if (ifValidData) {
         fundClosing.Name = "FundClosing";
         fundClosing.FundID = 1;
         fundClosing.FundClosingDate = DateTime.Now ;
     }
     else{
         fundClosing.Name = string.Empty ;
         fundClosing.FundID = 0;
         fundClosing.FundClosingDate = DateTime.MinValue ;
     }
 }
예제 #30
0
 private void RequiredFieldDataMissing(DeepBlue.Models.Entity.ShareClassType shareclasstype, bool ifValidData)
 {
     if (ifValidData) {
         shareclasstype.ShareClass = "ShareClassType";
         shareclasstype.CreatedBy = 1;
         shareclasstype.CreatedDate = DateTime.MaxValue;
         shareclasstype.LastUpdatedBy = 1;
         shareclasstype.LastUpdatedDate = DateTime.MaxValue;
         shareclasstype.EntityID = 2;
     }
     else{
         shareclasstype.ShareClass = string.Empty;
     }
 }