error when executing UpdateDatabase with an association that the field has the same name as the primary key. Below are the classes and the generated sql to create the table. this situation is a failure for not checking if the field already exists? how would you ask to resolve this situation?
You can't have two different mappings with the same column name. That will be a duplicate, indeed. You can simply set your association field as the primary key, and remove the other one. But then, of course, it can't be identity or sequence.
I did what you suggested and the table creation worked, the post also worked, but the patch gave the following error: Could not convert variant of type (Array Variant) into type (Boolean). debugging I saw that the type that is assuming in the parameter of the primary key.
in this method TXDataAureliusModel.KeyPredicateToId is understand as composite predicate.
I can't see anything wrong at first sight.
Can you please provide a separate sample project that reproduces the issue? You could do that using SQLite as the database, that would make it easy to build a separate project. We can then debug and check what's going on at our side.