Hi,
I'm just starting out evaluating LLBLGen Pro and have a question that I haven't found an answer to here.
Using LLBLGen Pro, 2.6 Final against an existing Oracle database using ODP.Net.
I'm trying to set up a custom relation. On the LISTING table, I have a CUSTOMER_ID that is a fk to CUSTOMER table. But on the CUSTOMER table, the pk is CUSTOMER_ID and VERSION.
However, VERSION is always = 1, so I'd like to be able to set up a relation solely on CUSTOMER_ID, or else on both columns but set VERSION = 1, not a column in LISTING.
LLBLGen Pro wants a matching column for the VERSION field, which I don't have, so it won't create the relation for me.
Has anyone done similar? Is this possible in some way, even through custom code? Our db is full of this type of pk/fk issue so this is a make or break issue for us.
(Yes, I know, it's a screwy setup. It's a legacy system and we can't change pk/fk columns because of existing closed applications running against the db, sorry. I don't like it either.)
Thanks for any pointers,
Jason