An example showing an auto-generated table using the public view model properties.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
66 | Alana | Hill | 1949-06-07 | sed@mattiscraseget.net | Alana Hill | |
67 | Cassandra | Mcdaniel | 1952-11-12 | morbi.vehicula@quisqueornaretortor.co.uk | Cassandra Mcdaniel | |
68 | Amena | Simon | 1962-03-03 | nibh.enim@nullafacilisised.ca | Amena Simon | |
69 | Evelyn | Daniels | 1993-08-14 | aliquet@sedmolestie.com | Evelyn Daniels | |
70 | Venus | Parrish | 1948-07-22 | ante.iaculis.nec@consequat.org | Venus Parrish |
Markup
@model IPagedList<BasicPersonView> <table class="table" asp-for="@Model" />