I am using LLBLGen Pro with CoreLabs MySqlDirect version 3.20.9.0 and .Net 1.1. The MySql Version is 4.0.24. I am using the SelfServicing Model. Using the 1.0.2005.1 Final Demo version of the LLBLGen Designer.
I am using a autoincriment primary key. When I create new entity and fill in some info (not including the primary key) and save it, after the save, all the properties of the entity that refer to columns in the database throw exceptions (System.InvalidCastException). It appears to me that once saved (and it saves correctly), the generated primary key is not loaded correctly and there is some sort of problem with that, maybe, that invalidats the other fields.
Basically, from what I gather, what should be happening, is that the autogenerated primary key is supposed to be fetched on save (and it is issueing the correct 'SELECT LAST_INSERT_ID()' to the database) and the object should continue to be usable. For me, however, the object just breaks. I was able to manually get the LAST_INSERT_ID and run a FetchUsingPK to get the object functional again, but this is a temp workaround.
Thankyou in advance for your help.
Michael