Ejemplo n.º 1
0
 public CarRepository(IResourceHelper resourceHelper)
 {
     _connection = new SQLiteAsyncConnection(resourceHelper.GetResourcePath(ReposConnection.CarRepositoryConnection));
     _connection.CreateTableAsync <Car>().Wait();
     _connection.CreateTableAsync <Engine>().Wait();
     _connection.CreateTableAsync <Wheels>().Wait();
     _connection.CreateTableAsync <Corpus>().Wait();
 }