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