Hi
I am facing a problem while creating multiple records from a silverlight web resource. The problem is that on creation of a record(Entity A) a plugin gets fired which updates another record(Entity B).When I am inserting multiple records the plugin gets fired multiple times updating a single record(Entity B). This causes the transaction to roll back.I tried the following conditions.
1>Tried using lock in plugin
2>Tried dispatcher timer in silverlight.
3>Tried making the plugin to run in asynch mode(In this case if I create 10 records 3-5 records are getting created sometimes and sometimes all the 10 records are getting created.And sometimes no records are getting created.)
Can anyone please suggest a way to handle the problem?
Thanks,
Thank you, DT