コード例 #1
0
 public AutoApprovalViewModel(Entities.DocType docType, int autoApprovalId, int manCoId)
 {
     this.DocTypeViewModel    = new DocTypeViewModel(docType);
     this.SubDocTypeViewModel = new SubDocTypeViewModel()
     {
         Code = "All"
     };
     this.Id      = autoApprovalId;
     this.ManCoId = manCoId;
 }
コード例 #2
0
 public DocTypeViewModel(Entities.DocType docType)
 {
     Id          = docType.Id;
     Code        = docType.Code;
     Description = docType.Description;
 }