Hi,
I'm still trying to understand the polymorphic fetch and when it exactly happens.
For example, I'm testing the LLBLGen with the Adventure Work 2000 (test database from MS) with MSSQL 2000.
There is an Employee table and a SalesPerson table that is a specialization for Employee.
I've already try to fetch a collection in different ways, but it never give me a instance of SalesPerson (just when I ask for it explicit).
I know it would be impossible to detect if an Employee is a SalesPerson without looking to SalesPerson table. BUT there is a column/flag in Employee table, SalesPersonFlag that tells me when it has more information on SalesPerson table. I'm wondering if would be possible to use this flag to automatic check it on SalesPerson, because I wasn’t able to use it as a Discriminator Field.
Well... I think I’ve done a fill questions in just one. Anyway this is how it organized in my mind.
Thank you,
David