/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the OfficeAssignments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOfficeAssignments(OfficeAssignment officeAssignment) { base.AddObject("OfficeAssignments", officeAssignment); }