Otis wrote:
there are also problems with the requirement that all .net code has to be static and stateless inside SQLServer if I recall correctly. I couldn't find the specific threads on this forum where others have described their endeavors in this area (I do remember some tried).
Anyway, we haven't tested it for usage INSIDE sqlserver, nor do we consider it a use case for our code as it's not deliberately designed to be used inside sqlserver.
The functions or stored procs must be declared static, but one can use actual instances of objects inside of these static stored procs and functions. It is possible to define and use classes inside of the SQL Assembly.
After doing some additional searching through the forums last night, I have read some other threads regarding this issue. From the discussions I read, it seems to me that it is unfortunately not possible to use the generated entities within a SQL Assembly. Perhaps in a future version?
I'm in the process of creating templates for a lightweight class of entities and collections that bypass LLBLGen Pro's data access, and therefore any need to reference the LLBLGen Pro assemblies. This is not an elegant solution by any measure, but it's much nicer than writing the classes by hand. I'm finding that the templates really provide a lot of flexibility now that I see how they work. I continue to be more and more impressed by your product.