An example showing an auto-generated table using the public view model properties.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
41 | Gannon | Valenzuela | 1958-04-07 | interdum.curabitur.dictum@necmauris.com | Gannon Valenzuela | |
42 | Naomi | Moses | 1984-01-22 | ac@netus.co.uk | Naomi Moses | |
43 | Tatiana | Kemp | 1961-01-09 | massa@nunc.net | Tatiana Kemp | |
44 | Bree | Gonzales | 1994-11-09 | cum.sociis.natoque@aarcu.ca | Bree Gonzales | |
45 | Ulric | Bates | 1995-06-07 | nec.urna.et@interdumliberodui.org | Ulric Bates | |
46 | Isaiah | Albert | 1950-09-08 | semper.auctor.mauris@phasellusvitae.com | Isaiah Albert | |
47 | Jeanette | Leach | 1955-10-30 | sed.leo@et.com | Jeanette Leach | |
48 | Gretchen | Miranda | 1957-03-31 | eros.turpis.non@duiaugueeu.org | Gretchen Miranda | |
49 | Jorden | Oneal | 1947-09-06 | erat.semper@atvelitcras.co.uk | Jorden Oneal | |
50 | Kieran | Kirby | 1963-09-29 | donec.porttitor.tellus@fuscemilorem.edu | Kieran Kirby |
Markup
@model IPagedList<BasicPersonView> <table class="table" asp-for="@Model" />