예제 #1
0
 /// <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;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Assignments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAssignments(Assignment assignment)
 {
     base.AddObject("Assignments", assignment);
 }