public LocationRespository(string path) : base(new SQLitePlatformWin32(), path)
 {
     this.path        = path;
     tableRespository = new TableRespository(path);
     if (!tableRespository.TableExists <LocationInfo>())
     {
         CreateTable <LocationInfo>();
     }
 }
Пример #2
0
 public AssetManagementRepository(string path) : base(new SQLitePlatformWin32(), path)
 {
     this.dbPath      = path;
     tableRespository = new TableRespository(path);
     if (!tableRespository.TableExists <AssetInfo>())
     {
         CreateTable <AssetInfo>();
     }
 }