Cats.Models.GiftCertificate.ToDictionary C# (CSharp) Method

ToDictionary() public method

public ToDictionary ( ) : string>.Dictionary
return string>.Dictionary
        public Dictionary<string, string> ToDictionary()
        {
            var dictionary = new Dictionary<string, string>
                                 {
                                     {"GiftCertificateID", this.GiftCertificateID.ToString()},
                                     {"GiftDate", this.GiftDate.ToString()},
                                     {"DonorID", this.DonorID.ToString()},
                                     {"Donor", this.Donor.Name},
                                     {"ShippingInstructionID", this.ShippingInstructionID.ToString()},
                                     {"Vessel", this.Vessel.ToString()},
                                     {"ETA", this.ETA.ToString()},
                                     {"ReferenceNo", this.ReferenceNo.ToString()},

                                     //{"DModeOfTransport", this.DModeOfTransport.ToString()},
                                     //{"PortName", this.PortName.ToString()},
                                     //{"StatusID", this.StatusID.ToString()},
                                     //{"DeclarationNumber", this.DeclarationNumber.ToString()},

                                     //{"Program", this.Program.Name.ToString()},
                                     {"Commodity", this.GiftCertificateDetails[0].Commodity.Name},
                                     {"EstimatedPrice", this.GiftCertificateDetails[0].EstimatedPrice.ToString()},
                                     {"EstimatedTax", this.GiftCertificateDetails[0].EstimatedTax.ToString()},
                                     //{"ExpiryDate", this.GiftCertificateDetails[0].ExpiryDate.ToString()},
                                     {"WeightINMT", this.GiftCertificateDetails[0].WeightInMT.ToString()},
                                     {"BillOfLoading", this.GiftCertificateDetails[0].BillOfLoading.ToString()},
                                     {"AccountNumber", this.GiftCertificateDetails[0].AccountNumber.ToString()},
                                     {"YearPurchased", this.GiftCertificateDetails[0].YearPurchased.ToString()},
                                     {"FundSource", this.GiftCertificateDetails[0].Detail.Name.ToString()},
                                     {"Currency", this.GiftCertificateDetails[0].Detail1.Name.ToString()},
                                     {"BudgetType", this.GiftCertificateDetails[0].Detail2.Name.ToString()}
                                 };

            return dictionary;
        }