/RPS 4/PersistantConfig.cs
http://github.com/marijnkampf/Visual-C---Random-Photo-Screensaver · C# · 23 lines · 19 code · 3 blank · 1 comment · 0 complexity · 57ec78da2e7aff25f0c9e7b8ebe793ba MD5 · raw file
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Data.SQLite;
- //using System.Data.SQLite.Linq;
- using System.Data.Linq;
- using System.Data.Linq.Mapping;
- namespace RPS {
- [Table(Name = "Setting")]
- class Setting {
- [Column(Name = "id", IsPrimaryKey = true, IsDbGenerated = true)]
- public long Id { get; set; }
- [Column(Name = "key")]
- public string Key { get; set; }
- [Column(Name = "value")]
- public string Value { get; set; }
- }
- }