You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I used type struct as the table data type,I could create and insert some items into my database ,but if I queried the items from the database, my app throws an error System.ArgumentException Message=method arguments are incompatible.
1.Try to create a new Model with type struct ;
2.replace class TodoItem with the new model we create above, in page TodoListPage.xaml.cs, the app will try to add a new item in function OnItemAdded
3.Aftern inserting a new item, if we come back to page TodoListPage, the function OnAppearing() which will read back the new added item. Here the app will throw such error.