/// <summary>
 /// Create a new PersonDepartment object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rank">Initial value of the Rank property.</param>
 /// <param name="department_Id">Initial value of the Department_Id property.</param>
 /// <param name="person_Id">Initial value of the Person_Id property.</param>
 public static PersonDepartment CreatePersonDepartment(global::System.Int64 id, global::System.Int64 rank, global::System.Int64 department_Id, global::System.Int64 person_Id)
 {
     PersonDepartment personDepartment = new PersonDepartment();
     personDepartment.Id = id;
     personDepartment.Rank = rank;
     personDepartment.Department_Id = department_Id;
     personDepartment.Person_Id = person_Id;
     return personDepartment;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the tbl_person_department EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotbl_person_department(PersonDepartment personDepartment)
 {
     base.AddObject("tbl_person_department", personDepartment);
 }