예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ChurchEmailTemplates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToChurchEmailTemplates(ChurchEmailTemplate churchEmailTemplate)
 {
     base.AddObject("ChurchEmailTemplates", churchEmailTemplate);
 }
예제 #2
0
 /// <summary>
 /// Create a new ChurchEmailTemplate object.
 /// </summary>
 /// <param name="churchEmailTemplateId">Initial value of the ChurchEmailTemplateId property.</param>
 /// <param name="churchId">Initial value of the ChurchId property.</param>
 /// <param name="emailTemplateId">Initial value of the EmailTemplateId property.</param>
 /// <param name="template">Initial value of the Template property.</param>
 public static ChurchEmailTemplate CreateChurchEmailTemplate(global::System.Int32 churchEmailTemplateId, global::System.Int32 churchId, global::System.Int32 emailTemplateId, global::System.String template)
 {
     ChurchEmailTemplate churchEmailTemplate = new ChurchEmailTemplate();
     churchEmailTemplate.ChurchEmailTemplateId = churchEmailTemplateId;
     churchEmailTemplate.ChurchId = churchId;
     churchEmailTemplate.EmailTemplateId = emailTemplateId;
     churchEmailTemplate.Template = template;
     return churchEmailTemplate;
 }