/// <summary>
 /// Deprecated Method for adding a new object to the EmailTemplates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmailTemplates(EmailTemplate emailTemplate)
 {
     base.AddObject("EmailTemplates", emailTemplate);
 }
 /// <summary>
 /// Create a new EmailTemplate object.
 /// </summary>
 /// <param name="emailTemplateId">Initial value of the EmailTemplateId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static EmailTemplate CreateEmailTemplate(global::System.Int32 emailTemplateId, global::System.String name)
 {
     EmailTemplate emailTemplate = new EmailTemplate();
     emailTemplate.EmailTemplateId = emailTemplateId;
     emailTemplate.Name = name;
     return emailTemplate;
 }