Web reports can be bound to your application's business objects — collections implementing IEnumerable or ITypedList — with no dataset conversion.

Register the objects by kind. In the page's post handler:
var report = new StiReport();
report.Load(StiNetCoreHelper.MapPath(this, $"Reports/BusinessObjects_{id}.mrt"));

// As a data source
report.RegData("EmployeeIEnumerable", CreateBusinessObjectsIEnumerable.GetEmployees());

// ...or as a business object
report.RegBusinessObject("EmployeeIEnumerable", CreateBusinessObjectsIEnumerable.GetEmployees());
report.Dictionary.SynchronizeBusinessObjects(2);

return StiNetCoreViewer.GetReportResult(this, report);

How it works. Field names in the template map straight onto object properties, so the report renders directly from the domain classes your app already uses.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.