/// <summary> /// Create a new ChangeRequest object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="reference">Initial value of the Reference property.</param> /// <param name="changeRequestTitle">Initial value of the ChangeRequestTitle property.</param> /// <param name="changeRequestDescription">Initial value of the ChangeRequestDescription property.</param> /// <param name="changeRequest_Employee">Initial value of the ChangeRequest_Employee property.</param> /// <param name="dateRaised">Initial value of the DateRaised property.</param> /// <param name="targetClosureDate">Initial value of the TargetClosureDate property.</param> /// <param name="changeRequestStatus_ChangeRequest">Initial value of the ChangeRequestStatus_ChangeRequest property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static ChangeRequest CreateChangeRequest(global::System.Int32 id, global::System.String reference, global::System.String changeRequestTitle, global::System.String changeRequestDescription, global::System.Int32 changeRequest_Employee, global::System.DateTime dateRaised, global::System.DateTime targetClosureDate, global::System.Int32 changeRequestStatus_ChangeRequest, global::System.Byte[] rowVersion) { ChangeRequest changeRequest = new ChangeRequest(); changeRequest.Id = id; changeRequest.Reference = reference; changeRequest.ChangeRequestTitle = changeRequestTitle; changeRequest.ChangeRequestDescription = changeRequestDescription; changeRequest.ChangeRequest_Employee = changeRequest_Employee; changeRequest.DateRaised = dateRaised; changeRequest.TargetClosureDate = targetClosureDate; changeRequest.ChangeRequestStatus_ChangeRequest = changeRequestStatus_ChangeRequest; changeRequest.RowVersion = rowVersion; return changeRequest; }
/// <summary> /// Deprecated Method for adding a new object to the ChangeRequests EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToChangeRequests(ChangeRequest changeRequest) { base.AddObject("ChangeRequests", changeRequest); }