Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
615
Object DataSource problem
posted

Hi,

I need to use my custom class as report datasource but I've got some problem. This class has non default constructor. I've got to use some interface as parameter. Is it possible to use such class as report datasource ?

Parents
  • 2848
    posted

    Hi,

    It's not possible to use it directly, as the engine doesn't know how to set that parameter. You need to create constructor without parameters that instantiates an implementation of that interface, or provide a static method without parameters that does the same.

    Regards,

    Andres

Reply Children
No Data