简体   繁体   中英

Azure Mobile Services: {System.TypeLoadException} = {“Entry point was not found.”:“”}

Actually I'm having some problems with the Azure Mobile Services. Because I'm getting the error "{System.TypeLoadException} = {"Entry point was not found.":""}", when I try to convert the table to a collection view. Everytime I'm getting a empty list back with this error.

What am I doing wrong?

I have the same problem. I find the solve of problem here . In two words:
Because collectionView fetch data asynchronously, we need work with our collection, when she loaded at all. For eg:
items = todoTable.ToCollectionView();
items.CollectionChanged += items_CollectionChanged;

void items_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
{ if (e.Action == System.Collections.Specialized.NotifyCollectionChangedAction.Reset) { int n = items.Count; } }

I used this Microsoft example

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM