LLBLGen 2.0
MS SQL Server
Adapter
I've run into a situation where we have a table with a varchar field as the primary key. This table has a relation to another table using this field but the casing of the value in the field of the related table does not always match the casing of the value in the field of the PK table. For instance, the value of the field in the PK table may be 'ABC123' but in the FK table the related field will contain 'abc123'.
SQL Server handles this fine but I've confirmed that the inconsistent casing prevents the prefetch path logic from matching the related rows up to the PK entity.
Is this something that LLBL can account for internally? Right now I can update the field in the FK table so that it always matches the casing of the field in the PK table but it would be better if the prefetch path processing logic didn't depend on identical casing since SQL Server doesn't.
Thanks!