I need to update the HtmlFieldPrefix so that my partial view constructs my fields w/ the appropriate name. However I'm unable to figure out how to pass it in. This is what I've tried, from this link: MVC4 ViewData.TemplateInfo.HtmlFieldPrefix generates an extra dot
@Html.Partial("_SeatTypePrices", Model.SeatTypePrices, new ViewDataDictionary { TemplateInfo = new TemplateInfo() {HtmlFieldPrefix = nameof(Model.SeatTypePrices)} })
However, this doesn't seem to work. In addition, ViewDataDictionary doesn't accept an empty constructor so maybe it's just an outdated answer. I'm using asp.net-core-mvc