/// <summary>
 /// Deprecated Method for adding a new object to the StatusHistories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStatusHistories(StatusHistory statusHistory)
 {
     base.AddObject("StatusHistories", statusHistory);
 }
 /// <summary>
 /// Create a new StatusHistory object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="cadidateId">Initial value of the CadidateId property.</param>
 /// <param name="statusId">Initial value of the StatusId property.</param>
 public static StatusHistory CreateStatusHistory(global::System.Int32 id, global::System.Int32 cadidateId, global::System.Int32 statusId)
 {
     StatusHistory statusHistory = new StatusHistory();
     statusHistory.Id = id;
     statusHistory.CadidateId = cadidateId;
     statusHistory.StatusId = statusId;
     return statusHistory;
 }