Page 1 of 1

how to use llblgen generated class as a datasource of stireport

Posted: Mon May 10, 2010 5:39 am
by umit84
I am using LLBLGEN as a orm tool. I use classes generated by llblgen.
The problem is I want to use this classes as a datasource of stimulsoft report.I get errors.Can anybody help me?

-ContainerDamageEntity : LLBLGEN generated entity for ContainerDamaga table
-ClassContainerDamage: main class i use in my project.

class ClassContainerDamage : ContainerDamageEntity


ClassContainerDamage clsContainerDamage=new ClassContainerDamage();

// initilization of items of clsContainerDamage class.


stiReport1.Compile();
stiReport1.RegData("damage",clsContainerDamage);
stiReport1.Design();


The error messase i get is:

The type or namespace name 'SD' couldnt be found.


how to use llblgen generated class as a datasource of stireport

Posted: Mon May 10, 2010 9:10 am
by Jan
Hello,

You need add reference to your assembly which contain type defenition for your business objects into ReferencedAssemblies of StiReport object. You can do this in report designer. Please check following live video:

http://www.stimulsoft.com/livedemos/Rep ... bject.html

Also you can check new Business Objects which available in 2010.1 version. Please check following live videos how to use it:

http://www.stimulsoft.com/livedemos/Rep ... eList.html
http://www.stimulsoft.com/livedemos/Rep ... etail.html

Thank you.