/// <summary> /// Create a new Assignment object. /// </summary> /// <param name="assignmentID">Initial value of the AssignmentID property.</param> /// <param name="assignmentName">Initial value of the AssignmentName property.</param> public static Assignment CreateAssignment(global::System.Int32 assignmentID, global::System.String assignmentName) { Assignment assignment = new Assignment(); assignment.AssignmentID = assignmentID; assignment.AssignmentName = assignmentName; return assignment; }
/// <summary> /// Deprecated Method for adding a new object to the Assignments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAssignments(Assignment assignment) { base.AddObject("Assignments", assignment); }