/// <summary> /// Create a new C3TDepartments object. /// </summary> /// <param name="departmentId">Initial value of the DepartmentId property.</param> /// <param name="departmentName">Initial value of the DepartmentName property.</param> public static C3TDepartments CreateC3TDepartments(global::System.Int32 departmentId, global::System.String departmentName) { C3TDepartments c3TDepartments = new C3TDepartments(); c3TDepartments.DepartmentId = departmentId; c3TDepartments.DepartmentName = departmentName; return(c3TDepartments); }
/// <summary> /// Deprecated Method for adding a new object to the C3TDepartments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToC3TDepartments(C3TDepartments c3TDepartments) { base.AddObject("C3TDepartments", c3TDepartments); }