/// <summary> /// Deprecated Method for adding a new object to the EmailJobs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmailJobs(EmailJob emailJob) { base.AddObject("EmailJobs", emailJob); }
/// <summary> /// Create a new EmailJob object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="emailDescription">Initial value of the EmailDescription property.</param> /// <param name="fromEmail">Initial value of the FromEmail property.</param> /// <param name="toEmail">Initial value of the ToEmail property.</param> /// <param name="subject">Initial value of the Subject property.</param> /// <param name="body">Initial value of the Body property.</param> /// <param name="dateTimeStamp">Initial value of the DateTimeStamp property.</param> /// <param name="presentSent">Initial value of the PresentSent property.</param> /// <param name="postsentSent">Initial value of the PostsentSent property.</param> public static EmailJob CreateEmailJob(global::System.Int32 id, global::System.String emailDescription, global::System.String fromEmail, global::System.String toEmail, global::System.String subject, global::System.String body, global::System.DateTime dateTimeStamp, global::System.Boolean presentSent, global::System.Boolean postsentSent) { EmailJob emailJob = new EmailJob(); emailJob.Id = id; emailJob.EmailDescription = emailDescription; emailJob.FromEmail = fromEmail; emailJob.ToEmail = toEmail; emailJob.Subject = subject; emailJob.Body = body; emailJob.DateTimeStamp = dateTimeStamp; emailJob.PresentSent = presentSent; emailJob.PostsentSent = postsentSent; return emailJob; }