Since Microsoft recently have merged Azure Table Storage namespaces and api with Cosmosdb, I thought it would be possible to use Entity Framework Core Cosmos with Azure Storage Tables.. only I'm not able to provide a database name in the configuration:
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) => optionsBuilder.UseCosmos( "https://mystorageaccount.table.core.windows.net/", "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==", databaseName: "OrdersDB");
I have accountendpoint, accountkey, but not database name. You can only create tables, but I would think a database beneath is used.
Anyone know if this is possible at all?
As per the documentation
here, EF Core Provider for Cosmos DB only supports SQL API only (at least as of writing this answer) and you are using it against Table Storage. That's the reason you're getting this error.