/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

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