#1 2016-07-23 09:14:46

edwinsn
Member
Registered: 2010-07-02
Posts: 1,218

[solved] BatchUpdate() doesn't support updating record ID, right?

Hello Arnaud,

My understanding is that the BatchUpdate() method does NOT support updating the record ID itself, right?

Last edited by edwinsn (2016-07-23 15:08:04)


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#2 2016-07-23 13:10:30

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,666
Website

Re: [solved] BatchUpdate() doesn't support updating record ID, right?

No, just like any other update method of the ORM.

To update the ID, create a new object.

Offline

#3 2016-07-23 15:07:35

edwinsn
Member
Registered: 2010-07-02
Posts: 1,218

Re: [solved] BatchUpdate() doesn't support updating record ID, right?

Oh, I see! Thanks.


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

Board footer

Powered by FluxBB