Hi,
I'm working on a project, where LLBLGen (1.0.2005.1) is implemented to replace inline-SQL. The application is partly VB6 and partly C# (VS 2005 and .NET 2.0). We use the Webservice-templates to generate Proxy-classes for the generated code from LLBLGen. For use in VB6 we create COM-wrappers for the Proxy-classes, using RegAsm /tlb. This all works fine for normal Entities. For Typed Lists the COM-wrappers were also looking fine. But if I call a webmethod, which returns a Typed List and sets an instance of the Typed List I get this exception from the COM-interop-subsystem:
This type has a ComVisible(false) parent in its hierarchy, therefore QueryInterface calls for IDispatch or class interfaces are disallowed.
I think this is because the Rows of an Typed List inherrit from System.Data.DataRow. And that class is not compiled with ComVisible(true).
I already have a work-around for this, which converts the typed-list to a generic DataSet. But I would like to have a strongly-typed-list.
Does anyone have a suggestion?
Thanks!
René