public class DocumentType { [Key] [ScaffoldColumn(false)] public int DocumentTypeID { get; set; } public string DocumentTypeName { get; set; } } public class Document { [Key] public int DocumentId { get; set; } public int DocumentTypeId { get; set; } public string DocumentPath { get; set; } public string DocumentName { get; set; } public string selected { get; set; } public DocumentType DocumentType { get; set; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)