locked
[UWP]SQLite InsertOrReplaceAll RRS feed

  • Question

  • Hello,

    I write UWP app using SQLite.

    How about SQLite InsertOrReplaceAll. I tried to use it, but it only is able to insert or replace first row from collection. Rest of rows aren't inserted.

    Anybody know, if there is any way to make it function working properly?

    In this answer I dont need, a walkthrought, I know the walktrought, but using this function greatly simlifies my code.


    Wednesday, August 17, 2016 10:17 AM

Answers

  • Hi BitSmithy,

    Welcome to the Developing Universal Windows apps forum!

    Please read the sticky posts, especially the Guide to posting: subject line tags and Known Issues for Windows 10 SDK and Tools  

    I have added tag for you this time, and you would need to add tag to title by yourself next time.

    In my experience, if you want to insert a collection into sqlite database, you could use “InsertAll” method. This method would work for you. You could try it.

    Best Regards,

    Xavier Eoro


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, August 18, 2016 11:48 AM