Example #1
0
 /// <summary>
 /// Constructor taking in IArticleType DTO object
 /// </summary>
 /// <param name="data">Article Type DTO object</param>
 public ArticleType(IArticleType data)
 {
     ArticleTypeId  = data.ArticleTypeId;
     ArticleTypeUid = data.ArticleTypeUid;
     Name           = data.Name;
     Description    = data.Description;
     Class          = data.Class;
     Assembly       = data.Assembly;
 }
Example #2
0
 public ArticleType(IArticleType data) : base()
 {
     ArticleTypeId  = data.ArticleTypeId;
     ArticleTypeUid = data.ArticleTypeUid;
     Assembly       = data.Assembly;
     Class          = data.Class;
     Description    = data.Description;
     Name           = data.Name;
     Action         = data.Action;
 }