Skip to content

Using entity framework core to make CRUD operations on CosmosDb

Notifications You must be signed in to change notification settings

aimenux/EntityFrameworkCoreCosmosDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET Core

EntityFrameworkCoreCosmosDemo

Using entity framework core to make CRUD operations on CosmosDb

I m using EF Core CosmosDb Provider in order to make some dummy CRUD operations.

2 configuration choices are proposed via DbContextName field in order to indicate the storing way :

  • CosmosDbContextOne will store in the same collection both author and book documents (each one saved on its side).
  • CosmosDbContextTwo will store in the same collection only author documents with book documents expanded inside.

Tools : vs19, net core 3.1, efcore 3.1

About

Using entity framework core to make CRUD operations on CosmosDb

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages