Trying to save new Entity (Tag), which has two fields (id - autoincrement, name -varchar)
Tag:=EntityContext.CreateAttachedEntity<TTag>;
Tag.Name:='SomeName';
EntityContext.Save(Tag);
On Save Method I have got an Exception: "Parameter 'returnId' not found".
And the same issue for any Entity, Tag is the simplest example.
--
EntityDac v2.0.1
Database - MySql 6.3
Exception: Parameter 'returnId' not found
Re: Exception: Parameter 'returnId' not found
We tested the work of EntityDAC 2.0.1 according to your description and found no issues. Please compose and send us a simplest sample, in which the issue occurs. In addition, we will need the model (*. enml) used in this sample and the DDL script to create tables used in this sample. For your convenience, please use the e-support form (https://www.devart.com/company/contactform.html).
Re: Exception: Parameter 'returnId' not found
Any solution here?
Re: Exception: Parameter 'returnId' not found
Currently, we are working on the release of a new build of our product that would include all the changes required for elimination of the issue you described. As soon as we complete this work, the build will be available to all users.
Re: Exception: Parameter 'returnId' not found
I posted something on another issue where I had the same issue. Unfortunately, in my case the EntityDeveloper didn't do enough for me and the 'returnId' was a bit misleading... I used attributes from the code generator. As I was using a postgresql sequence (the postgres equivalent of auto_increment), I changed the annotation to the following which worked for me: [Column('id', []), Generator(gtTable)]
Re: Exception: Parameter 'returnId' not found
Thank you for your suggested solution. We'll test EntityDeveloper according to your description and let you know the result.