Skip to Content
0
Nov 10, 2012 at 02:05 PM

How to pass multiple rows to table present in mbo(SUP 2.1.2) from iOS

33 Views

Hi all,

I am using SUP 2.1.2 and xcode 4.2(iOS 5),I have to pass multiple rows to table present in mbo.Till now I have created sync parameters on every field of my table present in mbo(as import parameter).On iOS side,am writing the following code...

Mymbosynchronizationparameter *firstparam = [Mymbo getsynchronizationparameter];

firstparam.field1 = @"val1";

firstparam.field2 = @"val2";

[firstparam save];


Mymbosynchronizationparameter *secondparam = [Mymbo getsynchronizationparameter];

secondparam.field1 = @"val11";

secondparam.field2 = @"val21";

[secondparam save];

[MyDB beginsynchronize];

After sync_finish,I saw only my secondparam value is passed to the backend(second val overwrites the first one).

Thanks in advance.