예제 #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;
 }