コード例 #1
0
 /// <summary>
 /// Create a new Candidate object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="interviewDate">Initial value of the InterviewDate property.</param>
 /// <param name="companyId">Initial value of the CompanyId property.</param>
 /// <param name="jobId">Initial value of the JobId property.</param>
 /// <param name="referenceId">Initial value of the ReferenceId property.</param>
 /// <param name="statusId">Initial value of the StatusId property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 public static Candidate CreateCandidate(global::System.Int32 id, global::System.DateTime date, global::System.String firstName, global::System.String lastName, global::System.DateTime interviewDate, global::System.Int32 companyId, global::System.Int32 jobId, global::System.Int32 referenceId, global::System.Int32 statusId, global::System.DateTime createDate)
 {
     Candidate candidate = new Candidate();
     candidate.Id = id;
     candidate.Date = date;
     candidate.FirstName = firstName;
     candidate.LastName = lastName;
     candidate.InterviewDate = interviewDate;
     candidate.CompanyId = companyId;
     candidate.JobId = jobId;
     candidate.ReferenceId = referenceId;
     candidate.StatusId = statusId;
     candidate.CreateDate = createDate;
     return candidate;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Candidates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCandidates(Candidate candidate)
 {
     base.AddObject("Candidates", candidate);
 }