示例#1
0
 /// <summary>
 /// Create a new JobRequest object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="jobId">Initial value of the JobId property.</param>
 /// <param name="requestType">Initial value of the RequestType property.</param>
 /// <param name="responseXml">Initial value of the ResponseXml property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 public static JobRequest CreateJobRequest(global::System.Int32 id, global::System.Int32 jobId, global::System.String requestType, global::System.String responseXml, global::System.Int32 code, global::System.DateTime date)
 {
     JobRequest jobRequest = new JobRequest();
     jobRequest.Id = id;
     jobRequest.JobId = jobId;
     jobRequest.RequestType = requestType;
     jobRequest.ResponseXml = responseXml;
     jobRequest.Code = code;
     jobRequest.Date = date;
     return jobRequest;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the JobRequests EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToJobRequests(JobRequest jobRequest)
 {
     base.AddObject("JobRequests", jobRequest);
 }