Hi,
I've an issue with the self updating feature of openaccess.
The CreateUpdateDDLScript() always drop 5 constraints in my database, and I don't understand why (and why not all others...)
When I "update schema from database" through the rlinq designer, theses constraints are well recognised. And when I "update database from schema" through the rlinq designer, theses constraints are not dropped. So I don't understand why they are dropped at runtime.
I've used this code to see what's append at runtime : http://www.telerik.com/forums/createupdateddlscript-not-generate-constraints-and-foregein-keys
it look like in the MetaPersistentType of theses tables, the Table.Constraints collection is empty.
I've checked that in the .rlinq model, the constraints are well defined, and they are : both in the navigation property, and in the referenced table, and all theses tables are referenced in the endpointTypesString field of the ".tt" file.
For now I've disabled the feature, as we are still in development, and not in production, but I will need it back in some weeks for the quality tests.
Thanks for your help !