/// <summary> /// Deprecated Method for adding a new object to the BuyCustomers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBuyCustomers(BuyCustomer buyCustomer) { base.AddObject("BuyCustomers", buyCustomer); }
/// <summary> /// Create a new BuyCustomer object. /// </summary> /// <param name="buyingId">Initial value of the BuyingId property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="deliveryAddress">Initial value of the DeliveryAddress property.</param> public static BuyCustomer CreateBuyCustomer(global::System.String buyingId, global::System.String email, global::System.String deliveryAddress) { BuyCustomer buyCustomer = new BuyCustomer(); buyCustomer.BuyingId = buyingId; buyCustomer.Email = email; buyCustomer.DeliveryAddress = deliveryAddress; return buyCustomer; }