Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

dotnet DB context register

services.AddDbContext<AppDbContext>(opt => opt.UseInMemoryDatabase("PantryInMemoryDb"));Code language: C# (cs)
Source by www.split.io #
 
PREVIOUS NEXT
Tagged: #dotnet #DB #context #register
ADD COMMENT
Topic
Name
3+6 =