I followed some tutorial on YouTube and found how to install "SQLite for Universal Windows Platform", and I had to make one class with this in it:
[PrimaryKey,AutoIncrement]
public int ID { get; set; }
public string Content { get; set; }
It is for saving of a text. And in my MainPage.xaml.cs
I made connection with this database like following
path = System.IO.Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path, "db.sqlite");
conn = new SQLite.Net.SQLiteConnection(new SQLite.Net.Platform.WinRT.SQLitePlatformWinRT(),path);
conn.CreateTable<Message>();
And then I added some text to it (when I click the button)
var add = conn.Insert(new Message() { Content = textBox.Text});
This all works fine, but how can I store image (which user will upload from their phone or Desktop) to this Database?