void myButton_Click(object sender, RoutedEventArgs e)
{
var oContext = new DomainService1();
var oResult = oContext.GetPersistMapSet();
oContext.LoadPersistMapSet();
foreach (PersistMap oMap in oResult.ToArray<PersistMap>())
MessageBox.Show(oMap.Data.ToString());
}
http://screencast.com/t/1bSFIoOU 展示了正在处理的问题。
foreach (var oMap in oResult.PersistMap) MessageBox.Show(oMap.Data) // 不起作用