/// <summary> /// Deprecated Method for adding a new object to the customers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocustomers(customer customer) { base.AddObject("customers", customer); }
/// <summary> /// Create a new customer object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static customer Createcustomer(global::System.Int32 id) { customer customer = new customer(); customer.ID = id; return customer; }