Master-detail report with custom business objects in Stimulsoft

会有一股神秘感。 提交于 2019-12-11 10:14:22

问题


I am working on a project, which uses a custom ORM. Each model is a simple POCO which is populated from the database.

Now, I need to use some of these classes to create a master-detail report in Stimulsoft Reports, and I am following this guide. But instead of using ADO.NET entity model, I use our own ORM.

The problem is, at step 5 of the article, Stimulsoft does not recognize my business objects in the Child of Business Object box and shows an empty list.

I think, the problem is with the relations between my models. Here is an example of a relation in our ORM:

public class Group
{
  public int Id;
  // Other properties
  public List<Person> People { get; set; }
}

public class Person
{
  public int Id;
  // Other properties
  public int GroupId;
}

回答1:


This is too old instruction. Try to add two DataBand with your Business Objects.



来源:https://stackoverflow.com/questions/29889855/master-detail-report-with-custom-business-objects-in-stimulsoft

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!