示例#1
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);
 }
示例#2
0
 /// <summary>
 /// Create a new Assignment object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="topic">Initial value of the Topic property.</param>
 public static Assignment CreateAssignment(global::System.Int32 id, global::System.String topic)
 {
     Assignment assignment = new Assignment();
     assignment.Id = id;
     assignment.Topic = topic;
     return assignment;
 }