Hi , I am new in datasnap technology. I would like to develop a client server app over internet. In order to avoid many server calls I would like to know how can i transfer multiple datasets from server to client upon client request , using one call and then after making changes in the client , to transfer multiple deltas of the clientdatasets from client to sever using one call method. Thank you very much
Still the problem is that I want to have all the save business logic in the server (i.e in StartTransaction in the server ,apply updates for the datasets that were changed in the client , manipulate some other datasets that were not present in the client and then apply commit ). In order to do that I must pass all the changes of the client datasets to the server and then have my business logic there.
ReplyDeleteRoland Kossow
ReplyDeleteStill the problem is that I want to have all the save business logic in the server (i.e in StartTransaction in the server ,apply updates for the datasets that were changed in the client , manipulate some other datasets that were not present in the client and then apply commit ). In order to do that I must pass all the changes of the client datasets to the server and then have my business logic there.
Nick Lazidis
ReplyDeleteI think you can either use BeforeUpdaterecord of the DataSetProvider serverside or the CommandText property clienside.
Did you read about firedac reflection? . Maybe can help you.
ReplyDeletehttp://blog.marcocantu.com/blog/delphi_xe5_update2_datasnap_firedac.html
ReplyDeletehttp://blogs.embarcadero.com/fernandorizzato/index.php/2014/07/21/multi-tier-com-delphi-xe6-e-firedac-json-reflection/
ReplyDeleteRoland Kossow thanks for you help. I think solution to my problem are the firedac reflection.
ReplyDeleteCleidson Barbosa Thank you very much. I think that's what I was looking for. I 'll have a look.
ReplyDelete