public void UpdateBackground(List<BackgroundModel> source) { foreach (var item in source) { BackgroundTable table = new BackgroundTable(item.Title, item.Name, item.Img, item.IsSel, item.Ext); DatabaseManager.Current.Update(table); } }
internal int AddBackgroundEntry(BackgroundTable Entry) { sqlConnection.Insert(Entry); return Entry.BackgroundId; }