By default if an Entity arriving from the server has the same Identity has one already in the DomainContexts at the client it is discarded. This behavior can be changed by calling the Load method of the DomainContext giving a MergeOption. It can be:
- MergeOption.OverwriteCurrentValues – What is comming from the server overrides the changes on the client.
- MergeOption.KeepCurrentValues – What is on the client remains the same what comes from the server is discarded.
- MergeOption.KeepChanges – Changes that where made on the client are maintained and everything else is replaced from what is on the server.
Have fun,
2 comments:
一夜聊天室uthome聊天ut網際空間聊天ut 網際空間聊天高聊天室小澤瑪莉亞免費影片線上收看小澤瑪莉亞短片線上看小澤影片小護士試看小魔女天堂免費影片小魔女天堂影片交流小魔貼片區小魔與天天色情直播天天色情影片下載天天直播影片天天聊天天天聊天室天心寫真集dvd天心寫真集影片天堂圖貼夫妻如何做愛夫妻性愛方式夫妻性愛影片夫妻房事播放影片夫妻影片天天色情下載天天下載色情影片天下天圖網小魔蠍小弟弟影片交流區 小弟弟影片區 自拍貼圖視訊交友
廢話不多,祝你順心~^^........................................
Post a Comment