/// <summary> /// Create a new Job object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="employee">Initial value of the Employee property.</param> public static Job CreateJob(global::System.Int32 id, global::System.Int32 employee) { Job job = new Job(); job.Id = id; job.Employee = employee; 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); }