/// <summary> /// Deprecated Method for adding a new object to the ItemGroup EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToItemGroup(ItemGroup itemGroup) { base.AddObject("ItemGroup", itemGroup); }
/// <summary> /// Create a new ItemGroup object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="iDDivision">Initial value of the IDDivision property.</param> public static ItemGroup CreateItemGroup(global::System.Guid id, global::System.String name, global::System.Guid iDDivision) { ItemGroup itemGroup = new ItemGroup(); itemGroup.ID = id; itemGroup.Name = name; itemGroup.IDDivision = iDDivision; return itemGroup; }