/// <summary> /// Create a new Assign object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="groupID">Initial value of the GroupID property.</param> /// <param name="teacherID">Initial value of the TeacherID property.</param> /// <param name="profileID">Initial value of the ProfileID property.</param> /// <param name="modulID">Initial value of the ModulID property.</param> public static Assign CreateAssign(global::System.Int32 id, global::System.Int32 groupID, global::System.Int32 teacherID, global::System.Int32 profileID, global::System.Int32 modulID) { Assign assign = new Assign(); assign.ID = id; assign.GroupID = groupID; assign.TeacherID = teacherID; assign.ProfileID = profileID; assign.ModulID = modulID; return assign; }
/// <summary> /// Deprecated Method for adding a new object to the Assign EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAssign(Assign assign) { base.AddObject("Assign", assign); }