/// <summary>
 /// Deprecated Method for adding a new object to the TestActions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTestActions(TestAction testAction)
 {
     base.AddObject("TestActions", testAction);
 }
 /// <summary>
 /// Create a new TestAction object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="subjectId">Initial value of the SubjectId property.</param>
 /// <param name="groupId">Initial value of the GroupId property.</param>
 /// <param name="testsTypeId">Initial value of the TestsTypeId property.</param>
 /// <param name="departmentId">Initial value of the DepartmentId property.</param>
 public static TestAction CreateTestAction(global::System.Int32 id, global::System.Int32 subjectId, global::System.Int32 groupId, global::System.Int32 testsTypeId, global::System.Int32 departmentId)
 {
     TestAction testAction = new TestAction();
     testAction.Id = id;
     testAction.SubjectId = subjectId;
     testAction.GroupId = groupId;
     testAction.TestsTypeId = testsTypeId;
     testAction.DepartmentId = departmentId;
     return testAction;
 }