An example showing an auto-generated table using the public view model properties.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
86 | India | Mueller | 1965-08-11 | molestie.dapibus.ligula@fusce.co.uk | India Mueller | |
87 | Damon | Goodwin | 1996-12-16 | vulputate.nisi.sem@rutrumloremac.ca | Damon Goodwin | |
88 | Allegra | Moody | 1992-06-29 | mi.pede.nonummy@infaucibusorci.org | Allegra Moody | |
89 | Fuller | Ball | 1970-04-16 | amet.ante@nibhphasellusnulla.ca | Fuller Ball | |
90 | Ruth | Perry | 1977-12-30 | nunc.mauris.elit@elitnulla.net | Ruth Perry |
Markup
@model IPagedList<BasicPersonView> <table class="table" asp-for="@Model" />