/// <summary> /// Create a new Job object. /// </summary> /// <param name="jobID">Initial value of the jobID property.</param> /// <param name="description">Initial value of the description property.</param> /// <param name="endDate">Initial value of the endDate property.</param> /// <param name="priceRangeID">Initial value of the priceRangeID property.</param> /// <param name="contractorUserID">Initial value of the contractorUserID property.</param> /// <param name="title">Initial value of the title property.</param> public static Job CreateJob(global::System.Int32 jobID, global::System.String description, global::System.DateTime endDate, global::System.Int32 priceRangeID, global::System.Int32 contractorUserID, global::System.String title) { Job job = new Job(); job.jobID = jobID; job.description = description; job.endDate = endDate; job.priceRangeID = priceRangeID; job.contractorUserID = contractorUserID; job.title = title; return job; }
/// <summary> /// Deprecated Method for adding a new object to the Jobs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToJobs(Job job) { base.AddObject("Jobs", job); }
/// <summary> /// Create a new Job object. /// </summary> /// <param name="jobID">Initial value of the jobID property.</param> /// <param name="galleryID">Initial value of the galleryID property.</param> /// <param name="description">Initial value of the description property.</param> /// <param name="endDate">Initial value of the endDate property.</param> /// <param name="priceRangeID">Initial value of the priceRangeID property.</param> /// <param name="userID">Initial value of the userID property.</param> /// <param name="contractorUserID">Initial value of the contractorUserID property.</param> /// <param name="addressID">Initial value of the addressID property.</param> public static Job CreateJob(global::System.Int32 jobID, global::System.Int32 galleryID, global::System.String description, global::System.DateTime endDate, global::System.Int32 priceRangeID, global::System.Int32 userID, global::System.Int32 contractorUserID, global::System.Int32 addressID) { Job job = new Job(); job.jobID = jobID; job.galleryID = galleryID; job.description = description; job.endDate = endDate; job.priceRangeID = priceRangeID; job.userID = userID; job.contractorUserID = contractorUserID; job.addressID = addressID; return job; }