public JobPosting(Guid jobPostingGuid) { SqlDataReader reader = new JobPostingData().GetJobPostingByGuid(jobPostingGuid); if (reader.Read()) { LoadPosting(reader); } reader.Close(); }
public JobPosting(string title) { SqlDataReader reader = new JobPostingData().GetJobPostingByTitle(title); if (reader.Read()) { LoadPosting(reader); } reader.Close(); }
public JobPosting(int jobPostingID) { SqlDataReader reader = new JobPostingData().GetJobPostingByID(jobPostingID); if (reader.Read()) { LoadPosting(reader); } reader.Close(); }