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 |
Markup
@model IPagedList<BasicPersonView> <table class="table" asp-for="@Model" />