I have a simple TargetPerEntity inheritance hierarchy based on the following tables:
USER
USER_ID
FIRST_NAME
LAST_NAME
MANAGER
USER_ID
REGION
AUTH_LEVEL
USER_ID is the primary key in both tables, a 1 to 1 relationship is defined on USER_ID
I let LLBLGen create this inheritance hierarchy using "Construct target-per-entity hierarchies', and as expected, Manager shows up as a sub-type of User.
When I generate the code, I find that the column USER_ID, which exists in both tables, is now conflicting in 2 spots in the generated code:
1) Public Shared ReadOnly Property userid() As SD.LLBLGen.Pro.ORMSupportClasses.EntityField' has multiple definitions with identical signatures.
2) 'UserId' is already declared in this enum. ConstantsEnums.vb
No other compile errors occur
Is having the same column name in examples like this forbidden??
What is the proper way to handle this scenario?
I've tried to find the solution in the documentation, but no luck...
LLBLGen Pro V2.5
VB.Net, Self Servicing, .Net 2.0, VS2005