PageRenderTime 54ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 51ms app.codeStats 1ms

/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
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Text;
 5using System.Threading.Tasks;
 6using System.Data.SQLite;
 7//using System.Data.SQLite.Linq;
 8using System.Data.Linq;
 9using System.Data.Linq.Mapping;
10
11namespace RPS {
12    [Table(Name = "Setting")]
13    class Setting {
14        [Column(Name = "id", IsPrimaryKey = true, IsDbGenerated = true)]
15        public long Id { get; set; }
16
17        [Column(Name = "key")]
18        public string Key { get; set; }
19
20        [Column(Name = "value")]
21        public string Value { get; set; }
22    }
23}