An example showing an auto-generated table using the public view model properties.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
6 | Georgia | Henson | 1955-08-16 | fames.ac@cras.ca | Georgia Henson | |
7 | Barry | Garrett | 1995-05-28 | nullam.ut.nisi@cras.net | Barry Garrett | |
8 | Jordan | Johnston | 1950-10-06 | etiam.gravida@vestibulumuteros.ca | Jordan Johnston | |
9 | Sonya | Hubbard | 1984-08-09 | ut.nulla.cras@consectetueradipiscingelit.com | Sonya Hubbard | |
10 | Ezekiel | Randolph | 1955-09-05 | et.magnis.dis@donec.edu | Ezekiel Randolph |
Markup
@model IPagedList<BasicPersonView> <table class="table" asp-for="@Model" />