Re:.NET Myths Dispelled
by kingmotley on Sunday March 13, 2022 @04:12PM
(#30665255)
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>");
});
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/getti...