/// <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="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> public static Job CreateJob(global::System.Int32 id, global::System.String name, global::System.DateTime createDate) { Job job = new Job(); job.Id = id; job.Name = name; job.CreateDate = createDate; return job; }