LocateDataSource Property (ReportDesignerConfiguration)
Gets or sets the function to locate the data source.
Property Value
A
Func that returns the data source object.
app.UseReportDesigner(config =>
{
// An example for JSON provider.
config.LocateDataSource = () => "[{\"id\":1,\"name\":\"A\"},{\"id\":2,\"name\":\"B\"}]";
});