An example showing an auto-generated table using the public view model properties.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
31 | Mollie | Lawson | 1947-08-19 | magnis.dis.parturient@loremipsum.net | Mollie Lawson | |
32 | Yvonne | Flores | 1963-04-04 | luctus.aliquet@dignissimlacusaliquam.org | Yvonne Flores | |
33 | Rhiannon | Lindsay | 1985-09-06 | ac.risus@ligula.ca | Rhiannon Lindsay | |
34 | Iris | Gonzalez | 1973-04-19 | leo.in@elitaliquamauctor.co.uk | Iris Gonzalez | |
35 | Fletcher | Velez | 1970-02-23 | vel@antemaecenas.ca | Fletcher Velez | |
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" />