Пример #1
0
 /// <summary>
 /// Create a new MailTemplateCategory object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static MailTemplateCategory CreateMailTemplateCategory(global::System.Guid id, global::System.String name)
 {
     MailTemplateCategory mailTemplateCategory = new MailTemplateCategory();
     mailTemplateCategory.ID = id;
     mailTemplateCategory.Name = name;
     return mailTemplateCategory;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MailTemplateCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMailTemplateCategories(MailTemplateCategory mailTemplateCategory)
 {
     base.AddObject("MailTemplateCategories", mailTemplateCategory);
 }
Пример #3
0
 public MailTemplateCategoryModel(MailTemplateCategory category)
 {
     _mailTemplateCategory = category;
 }