static StorageService()
 {
     var ctx = new ChickenDataContext();
     if (!ctx.DatabaseExists())
     {
         ctx.CreateDatabase();
         Initialize(ctx);
     }
 }
 public StorageService()
 {
     this.context = new ChickenDataContext();
 }
 private static void Initialize(ChickenDataContext context)
 {
     var proxy = new Setting
     {
         Type = SettingType.ProxySetting,
         IsEnabled = true,
         Name = Const.BASETWEETSERVICENAME,
     };
     context.Settings.InsertOnSubmit(proxy);
     var twip = new Setting
     {
         Type = SettingType.ProxySetting,
         IsEnabled = true,
         IsInUsed = true,
         Name = Const.TWIPTWEETSERVICENAME,
         Data = "https://wxt2005.org/tapi/o/6Z66RF"
     };
     context.Settings.InsertOnSubmit(twip);
     context.SubmitChanges();
 }