I have an enum inside a class, which I want to use it in the field mapping:
namespace EnumTypes {
public abstract class ClassWithInner{
public enum InnerEnum : short { ... }
}
}
According to LLBLGen doc:
Enum types nested inside a class type need a different specification: using a + delimiter...
<typeImports>
<typeImport typeName="EnumTypes.ClassWithInner+InnerEnum" assemblyFile="\Myprojects\MyEnumDlls\EnumTypes.dll"/>
</typeImports>
I followed the instruction and I can see that the type is available(ClassWithInner+InnerEnum) when setting the type of the field. But the generated C# code is like:
public ClassWithInner+InnerEnum MyField { get; set; }
which is not valid. I would expect it generates
public ClassWithInner.InnerEnum MyField { get; set; }
and no type converter required to convert it from/to "short". Does it work like this way?