/// <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="tid">Initial value of the Tid property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="modifiedBy">Initial value of the ModifiedBy property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="modified">Initial value of the Modified property.</param> /// <param name="status">Initial value of the Status property.</param> public static Job CreateJob(global::System.Int64 id, global::System.String tid, global::System.String name, global::System.String createdBy, global::System.String modifiedBy, global::System.DateTimeOffset created, global::System.DateTimeOffset modified, global::System.String status) { Job job = new Job(); job.Id = id; job.Tid = tid; job.Name = name; job.CreatedBy = createdBy; job.ModifiedBy = modifiedBy; job.Created = created; job.Modified = modified; job.Status = status; return job; }