/// <summary> /// Create a new smu_MailTemplate object. /// </summary> /// <param name="mailTemplateId">Initial value of the MailTemplateId property.</param> /// <param name="subject">Initial value of the Subject property.</param> /// <param name="body">Initial value of the Body property.</param> /// <param name="info">Initial value of the Info property.</param> public static smu_MailTemplate Createsmu_MailTemplate(global::System.Int32 mailTemplateId, global::System.String subject, global::System.String body, global::System.String info) { smu_MailTemplate smu_MailTemplate = new smu_MailTemplate(); smu_MailTemplate.MailTemplateId = mailTemplateId; smu_MailTemplate.Subject = subject; smu_MailTemplate.Body = body; smu_MailTemplate.Info = info; return smu_MailTemplate; }
/// <summary> /// Deprecated Method for adding a new object to the smu_MailTemplate EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTosmu_MailTemplate(smu_MailTemplate smu_MailTemplate) { base.AddObject("smu_MailTemplate", smu_MailTemplate); }