Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [MetadataType(typeof(usp_Employee2Select_ResultMetadata))]
- public partial class usp_Employee2Select_Result
- {
- }
- public class usp_Employee2Select_ResultMetadata
- {
- [DisplayAttribute(Name = "First")]
- public string NameFirst { get; set; }
- [DisplayAttribute(Name = "Middle")]
- public string NameMiddle;
- [DisplayAttribute(Name = "Last")]
- public string NameLast;
- }
- @model IEnumerable<EF_MasterSet2.Models.usp_Employee2Select_Result>
- @{
- ViewBag.Title = "Index";
- }
- <h2>Index - Reports, Active Employees</h2>
- <p>
- @Html.ActionLink("Show All", "ShowAll")
- </p>
- <table class="table, table-verysmall">
- <tr>
- <th>
- @Html.DisplayNameFor(model => model.NameFirst)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.NameMiddle)
- </th>
- <th>
- @Html.DisplayNameFor(model => model.NameLast)
- </th>
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement