Enum TypeConverter - misnamed type

Posts   
 
    
jarod725 avatar
jarod725
User
Posts: 2
Joined: 18-Jan-2007
# Posted on: 19-Jan-2007 18:19:48   

First, the details: LLBLGen Pro v 2.0.0.0 Final Template group: Adapter Target platform: .NET 2.0

I created a TypeConverter that will convert between an int (db-side) and an enum type I defined separately. While LLBLGen recognizes my new TypeConverter, it lists the type as Namespace.ContainingClass+EnumType instead of Namespace.ContainingClass.EnumType. It then uses the plus (+) in the generated code ... therefore rendering the code uncompilable until the appropriate changes are made. After searching the forums, my initial thought is that it has to do with the fact that its converting to / from an enum type. See the attached screenshot of the entity properties editor.

PS - my code is based off the example provided here: http://llblgen.com/TinyForum/Messages.aspx?ThreadID=7355

Attachments
Filename File size Added on Approval
llbl.jpg 35,751 19-Jan-2007 18:19.57 Approved
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39908
Joined: 17-Aug-2003
# Posted on: 20-Jan-2007 01:00:14   

Odd, though what I understand is that the '+' signals an internal type inside the type left to the '+'. simple_smile

Frans Bouma | Lead developer LLBLGen Pro