More than one DbContext was found. Specify which one to use. Use the '-Context' parameter for PowerShell commands and the '--context' parameter for dotnet commands.
solution : Add-Migration 'to create database' Initial --context AppIdentityDbContext
above i specify name of context
No comments:
Post a Comment