You didn't post the real code, did you?
As that one won't even compile.
I have included, using SD.LLBLGen.Pro.ORMSupportClasses;
That's not enough, there are more namespaces needed to be included.
Im getting type or namespace cannot be found
Please post complete error text to tell you what you need to include.
Hint: if you are using VS2005, right click the un-identified type and select Resolve.
This will automatically add the missing namespace, if you have referenced its assembly.