/// <summary> /// Deprecated Method for adding a new object to the StoredOffers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStoredOffers(StoredOffer storedOffer) { base.AddObject("StoredOffers", storedOffer); }
/// <summary> /// Create a new StoredOffer object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="submitter">Initial value of the Submitter property.</param> /// <param name="submitDate">Initial value of the SubmitDate property.</param> /// <param name="offerValue">Initial value of the OfferValue property.</param> /// <param name="country">Initial value of the Country property.</param> /// <param name="customerName">Initial value of the CustomerName property.</param> /// <param name="leaseTimeMonth">Initial value of the LeaseTimeMonth property.</param> /// <param name="costOfFund">Initial value of the CostOfFund property.</param> /// <param name="margin">Initial value of the Margin property.</param> /// <param name="applicableStartDate">Initial value of the ApplicableStartDate property.</param> /// <param name="editNote">Initial value of the EditNote property.</param> /// <param name="monthlyPayment">Initial value of the MonthlyPayment property.</param> /// <param name="isDeleted">Initial value of the isDeleted property.</param> public static StoredOffer CreateStoredOffer(global::System.Int32 id, global::System.String submitter, global::System.DateTime submitDate, global::System.String offerValue, global::System.String country, global::System.String customerName, global::System.Int32 leaseTimeMonth, global::System.String costOfFund, global::System.String margin, global::System.DateTime applicableStartDate, global::System.String editNote, global::System.String monthlyPayment, global::System.Boolean isDeleted) { StoredOffer storedOffer = new StoredOffer(); storedOffer.ID = id; storedOffer.Submitter = submitter; storedOffer.SubmitDate = submitDate; storedOffer.OfferValue = offerValue; storedOffer.Country = country; storedOffer.CustomerName = customerName; storedOffer.LeaseTimeMonth = leaseTimeMonth; storedOffer.CostOfFund = costOfFund; storedOffer.Margin = margin; storedOffer.ApplicableStartDate = applicableStartDate; storedOffer.EditNote = editNote; storedOffer.MonthlyPayment = monthlyPayment; storedOffer.isDeleted = isDeleted; return storedOffer; }