/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the MailTemplateCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMailTemplateCategories(MailTemplateCategory mailTemplateCategory) { base.AddObject("MailTemplateCategories", mailTemplateCategory); }
public MailTemplateCategoryModel(MailTemplateCategory category) { _mailTemplateCategory = category; }