Hello,
I setup a simple model, with a PK which is an Integer called ID.
I found the bit where i can autogenerate the ID (Set to increment).
Got this working fine...
Then i found the "Auto-Sync" option, was set to "Never". I changed it to "Always". Saved the model, rebuilt the code and ran my program again.. but on a save it goes "Boom" - Exception "missing parameter returnID".
Eh? What?
The code is very simple
procedure Test;
var
lStatus : TStatus;
begin
lStatus := TStatus.Create; // this is the mapped entity
lStatus.Name := 'Test';
FContext.Attach(lStatus);
lStatus.Save;
end;
What am i missing?
Thanks
missing parameter returnID
Re: missing parameter returnID
Hello,
Please, specify the exact EntityDAC version, DB name and EntityProvider which you are using
Please, specify the exact EntityDAC version, DB name and EntityProvider which you are using