How to save List<object> in sqlite db in xamarin forms

classykclassyk Member ✭✭

I have two classes (Reminder and Tasks), Reminder class contains a List of Tasks in it and i have specified the [oneToMany] attribute using SQLite extensions. However when i save the Reminder object in the database, it saves successfully but when i try to retrieve the Reminder object, the Property containing List of Tasks does not get retrieved cos it returns null . does any one have something that can help? maybe a method that can allow me save tasks and Reminder class simultaneously so i can have the List of Tasks retrieved successfully. And please i have read through the documentation of SQLite extensions but does not help.

Best Answer

Answers

Sign In or Register to comment.