Example #1
0
 /// <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);
 }
Example #2
0
 /// <summary>
 /// Create a new StatusHistory object.
 /// </summary>
 /// <param name="statusHistoryID">Initial value of the StatusHistoryID property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 /// <param name="statusCode">Initial value of the StatusCode property.</param>
 /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param>
 public static StatusHistory CreateStatusHistory(global::System.Int32 statusHistoryID, global::System.DateTime dateCreated, global::System.String statusCode, global::System.String modifiedBy)
 {
     StatusHistory statusHistory = new StatusHistory();
     statusHistory.StatusHistoryID = statusHistoryID;
     statusHistory.DateCreated = dateCreated;
     statusHistory.StatusCode = statusCode;
     statusHistory.ModifiedBy = modifiedBy;
     return statusHistory;
 }