title: how can i save a list into sqlite database in xamarin forms
body: <p>i receive a list from a rest service and i want to save it to sqlite database in app.
  this is my code:</p>
  
  <pre><code>    async void ClickOnStartAsync(object sender, EventArgs e)
      {
          lstAnswerService = await App.userManager.GetAnswerItemAsync("1");
          Answer ans_item = new Answer();
          try
          {
          foreach (var item in lstAnswerService)
          {
              ans_item.ans_Id = item.ans_Id;
              ans_item.qu_Id = item.qu_Id;
              ans_item.ans_Title = item.ans_Title;
              ans_item.isAnswer = item.isAnswer;
              ans_item.sortId = item.sortId;
  
              //Code for saving ans_item into sqlite database in app
          }
  
          }
          catch(Exception ex)
          {
              await DisplayAlert("", ex.Message.ToString(), "ok");
          }
      }
  </code></pre>
  
  <p>I want save list lstAnswerService into sqlite</p>
  
  <p>my class and table Answerr is like below:</p>
  
  <pre><code>public class Answer
  {
      [PrimaryKey,AutoIncrement]
      public int ans_Id { get; set; }
      public int qu_Id { get; set; }
      public string ans_Title { get; set; }
      public bool isAnswer { get; set; }
      public int sortId { get; set; }
  }
  </code></pre>
  
  <p>How can i do this?</p>