Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. [MetadataType(typeof(usp_Employee2Select_ResultMetadata))]
  2. public partial class usp_Employee2Select_Result
  3. {
  4. }
  5.  
  6. public class usp_Employee2Select_ResultMetadata
  7. {
  8.  
  9. [DisplayAttribute(Name = "First")]
  10. public string NameFirst { get; set; }
  11.  
  12. [DisplayAttribute(Name = "Middle")]
  13. public string NameMiddle;
  14.  
  15. [DisplayAttribute(Name = "Last")]
  16. public string NameLast;
  17. }
  18.  
  19. @model IEnumerable<EF_MasterSet2.Models.usp_Employee2Select_Result>
  20.  
  21. @{
  22. ViewBag.Title = "Index";
  23. }
  24.  
  25. <h2>Index - Reports, Active Employees</h2>
  26.  
  27. <p>
  28. @Html.ActionLink("Show All", "ShowAll")
  29. </p>
  30. <table class="table, table-verysmall">
  31. <tr>
  32. <th>
  33. @Html.DisplayNameFor(model => model.NameFirst)
  34. </th>
  35. <th>
  36. @Html.DisplayNameFor(model => model.NameMiddle)
  37. </th>
  38. <th>
  39. @Html.DisplayNameFor(model => model.NameLast)
  40. </th>
  41. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement