dotnet new console
dotnet add package Microsoft.EntityFrameworkCore.Cosmos
Program.cs
: createAppDbContext
,User
,Car
,Trip
- Start the CosmosDB emulator and ensure it runs on
https://localhost:8081
- Switch to the latest C# language version so that we can use
async Main
:<LangVersion>latest</LangVersion>
- https://localhost:8081/_explorer/index.html, select the DB and click New UDF OR:
dotnet add package Microsoft.Azure.DocumentDB.Core
- https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-use-stored-procedures-triggers-udfs#udfs
- dotnet/efcore#15338
-
Notifications
You must be signed in to change notification settings - Fork 0
TomasHubelbauer/cosmos-ef-udf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Research on user defined functions in CosmosDB when using EF