Remoting Problem
Old forum URL: forums.lhotka.net/forums/t/5034.aspx
mameolan posted on Monday, June 30, 2008
Hi,
I do have a problem while trying to test my bos with remoting.
BoTest test=BoTest.NewBoTest();
test.Description="nice";
test.Save();
//after this Id has a value but _id doesn't
test.Description="nice2";
test.Save();
//new Insert is executed instead of Update
test.Delete();
test.Save();
//no delete is executed
Can anybody give me a tip?
Bye
ajj3085 replied on Monday, June 30, 2008
Remoting returns a new object. So every call to Save just be done like this:
test = test.Save();
mameolan replied on Monday, June 30, 2008
thank you for your nice tip. It works.
Bye
Copyright (c) Marimer LLC