Beispiel #1
0
        public string ToSqlString()
        {
            var propId   = Property.Id;
            var tenantId = Tenant.Id;
            var price    = MonthlyPrice.ToString(CultureInfo.InvariantCulture);

            return($"{propId}, {tenantId}, {price}, " +
                   $"{CastUtils.FormatSqlDate(StartDate)}, {CastUtils.FormatSqlDate(EndDate)}");
        }
Beispiel #2
0
 public override string ToString()
 {
     return(MonthlyPrice.ToString("C") + "/" + Period + " (" + TotalCharge.ToString("C") + ")");
 }
Beispiel #3
0
 public override string ToString()
 {
     // Generates the text shown in the combo box
     return(MonthlyPrice.ToString("c") + "/" + Period + " (Total : " + TotalCharge.ToString("c") + ")");
 }