Exemplo n.º 1
0
 /// <summary>
 /// Create a new OfficeAssignment object.
 /// </summary>
 /// <param name="instructorID">Initial value of the InstructorID property.</param>
 /// <param name="location">Initial value of the Location property.</param>
 /// <param name="timestamp">Initial value of the Timestamp property.</param>
 public static OfficeAssignment CreateOfficeAssignment(global::System.Int32 instructorID, global::System.String location, global::System.Byte[] timestamp)
 {
     OfficeAssignment officeAssignment = new OfficeAssignment();
     officeAssignment.InstructorID = instructorID;
     officeAssignment.Location = location;
     officeAssignment.Timestamp = timestamp;
     return officeAssignment;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OfficeAssignment EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOfficeAssignment(OfficeAssignment officeAssignment)
 {
     base.AddObject("OfficeAssignment", officeAssignment);
 }