/// <summary> /// Deprecated Method for adding a new object to the ItemCommittee EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToItemCommittee(ItemCommittee itemCommittee) { base.AddObject("ItemCommittee", itemCommittee); }
/// <summary> /// Create a new ItemCommittee object. /// </summary> /// <param name="itemId">Initial value of the ItemId property.</param> /// <param name="itemType">Initial value of the ItemType property.</param> /// <param name="committeeId">Initial value of the CommitteeId property.</param> /// <param name="itemCommitteeId">Initial value of the ItemCommitteeId property.</param> public static ItemCommittee CreateItemCommittee(global::System.Int32 itemId, global::System.Byte itemType, global::System.Int32 committeeId, global::System.Int32 itemCommitteeId) { ItemCommittee itemCommittee = new ItemCommittee(); itemCommittee.ItemId = itemId; itemCommittee.ItemType = itemType; itemCommittee.CommitteeId = committeeId; itemCommittee.ItemCommitteeId = itemCommitteeId; return itemCommittee; }