An example showing an auto-generated table using the public view model properties.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
71 | Ryan | Frost | 1959-03-05 | quis@tincidunt.ca | Ryan Frost | |
72 | Hilel | Ballard | 1949-03-25 | dapibus@semper.com | Hilel Ballard | |
73 | Ferris | Kidd | 1970-08-05 | sem@sodalespurus.ca | Ferris Kidd | |
74 | Judith | Shaffer | 1992-09-30 | pede@ipsum.ca | Judith Shaffer | |
75 | Wylie | Cotton | 1948-03-06 | quis.arcu.vel@ipsum.net | Wylie Cotton |
Markup
@model IPagedList<BasicPersonView> <table class="table" asp-for="@Model" />