/// <summary> /// Deprecated Method for adding a new object to the EmailTemplates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmailTemplates(EmailTemplates emailTemplates) { base.AddObject("EmailTemplates", emailTemplates); }
/// <summary> /// Create a new EmailTemplates object. /// </summary> /// <param name="et_name">Initial value of the et_name property.</param> /// <param name="et_subject">Initial value of the et_subject property.</param> /// <param name="et_body">Initial value of the et_body property.</param> public static EmailTemplates CreateEmailTemplates(global::System.String et_name, global::System.String et_subject, global::System.String et_body) { EmailTemplates emailTemplates = new EmailTemplates(); emailTemplates.et_name = et_name; emailTemplates.et_subject = et_subject; emailTemplates.et_body = et_body; return emailTemplates; }