An example showing an auto-generated table using the public view model properties.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
11 | Herrod | Jordan | 1964-11-05 | non.egestas.a@pede.net | Herrod Jordan | |
12 | Colorado | Espinoza | 1947-06-27 | egestas.ligula@risus.edu | Colorado Espinoza | |
13 | Maryam | Galloway | 1947-05-30 | purus.in@vestibulumneceuismod.org | Maryam Galloway | |
14 | Ulla | Austin | 1948-12-08 | porttitor@commodo.ca | Ulla Austin | |
15 | Maisie | Wilkins | 1963-08-20 | sagittis.lobortis@elementumdui.ca | Maisie Wilkins | |
16 | Hanna | Alvarez | 1955-12-17 | aenean@estvitae.co.uk | Hanna Alvarez | |
17 | Melanie | Pittman | 1981-06-11 | fermentum.risus.at@amalesuadaid.co.uk | Melanie Pittman | |
18 | Tanya | Moran | 1968-10-03 | eu@lectusante.org | Tanya Moran | |
19 | Maisie | Christensen | 1985-10-31 | inceptos.hymenaeos.mauris@orci.edu | Maisie Christensen | |
20 | Gareth | Shepard | 1978-03-03 | arcu.vestibulum.ante@dolortempus.co.uk | Gareth Shepard |
Markup
@model IPagedList<BasicPersonView> <table class="table" asp-for="@Model" />