/// <summary> /// Deprecated Method for adding a new object to the DimDepartmentGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDimDepartmentGroups(DimDepartmentGroup dimDepartmentGroup) { base.AddObject("DimDepartmentGroups", dimDepartmentGroup); }
/// <summary> /// Create a new DimDepartmentGroup object. /// </summary> /// <param name="departmentGroupKey">Initial value of the DepartmentGroupKey property.</param> public static DimDepartmentGroup CreateDimDepartmentGroup(global::System.Int32 departmentGroupKey) { DimDepartmentGroup dimDepartmentGroup = new DimDepartmentGroup(); dimDepartmentGroup.DepartmentGroupKey = departmentGroupKey; return dimDepartmentGroup; }