An example showing an auto-generated table using the public view model properties.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
36 | Carl | Summers | 1972-09-14 | faucibus@cubiliacuraephasellus.co.uk | Carl Summers | |
37 | Urielle | Mccoy | 1979-01-17 | pede.nec@curabituregestasnunc.co.uk | Urielle Mccoy | |
38 | Kylee | Carney | 1966-05-21 | cras.dolor@indolor.net | Kylee Carney | |
39 | Jasper | Suarez | 1991-11-12 | erat@massaquisque.net | Jasper Suarez | |
40 | Joan | Harrell | 1964-07-09 | lorem.auctor@acmattis.co.uk | Joan Harrell |
Markup
@model IPagedList<BasicPersonView> <table class="table" asp-for="@Model" />