I'm a big fan of EF Core, and I also like to use EF Core Cosmos, but I have come across a scenario where I have a cosmos DB being geo-replicated (eastus2/westus2/centralus). I know that we can set up a region when configuring options for cosmos when using EF Core for cosmos. (using C#)
options.UseCosmos("", "", o=> {
o.Region(Regions.WestUS2);
})
However, when in a geo-replication/failover scenario I would like to be able to set up a list of regions similar to what Cosmos SDK does but for EF Core, something like the code below.
options.UseCosmos("", "", o=> {
o.Regions(Regions.WestUS2, Regions.EastUS2)
})
Can this feature be added in the upcoming release?