4 ms·
dotnet add package EfCore.Cassandra. Then in startup.cs or program.cs, add this to your services: optionsBuilder.UseCassandra("Contact Points=127.0.0.1;", opt
by kingmotley 5y ago
dotnet add package EfCore.Cassandra.
Then in startup.cs or program.cs, add this to your services:
optionsBuilder.UseCassandra("Contact Points=127.0.0.1;", opt =>
{
opt.MigrationsHistoryTable(HistoryRepository.DefaultTableName, "<schema name>");
});
See more here: https://efcorecassandra.readthedocs.io/en/latest/intro/getting-started-with-efcorecassandra.html https://efcorecassandra.readthedocs.io/en/latest/intro/getti...
- DeathArrow 5y agoWell, that's a new one. I didn't know there's an EF provider for Cassandra. Thanks for the update. :)