An example showing an auto-generated table using the public view model properties.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
76 | Eden | Lawrence | 1972-01-11 | lacus.quisque@odio.org | Eden Lawrence | |
77 | Amethyst | Nieves | 1972-04-15 | pharetra.quisque.ac@vehicularisus.com | Amethyst Nieves | |
78 | Alyssa | Cleveland | 1964-03-28 | ante.ipsum.primis@estvitaesodales.ca | Alyssa Cleveland | |
79 | Riley | Mcgowan | 1950-12-18 | habitant.morbi.tristique@tempus.co.uk | Riley Mcgowan | |
80 | Jessica | Mills | 1961-12-28 | lobortis.nisi@eratnonummyultricies.ca | Jessica Mills |
Markup
@model IPagedList<BasicPersonView> <table class="table" asp-for="@Model" />