Horje
my context class is in different project and i want migration in different project in asp.net mvc Code Example
my context class is in different project and i want migration in different project in asp.net mvc
enable-migrations -ContextProjectName MyProject.MVC -StartUpProjectName MyProject.MVC 
-ContextTypeName MyProject.MVC.MyContextFolder.MyContextName -ProjectName MyProject
This will add migrations to your MyProject project using the context in the MyProject.MVC. You need to make sure that the project with the Migrations has a reference to the project with your Context, i.e., MyProject references MyProject.MVC




Csharp

Related
c# 9.0 dynamic nedir Code Example c# 9.0 dynamic nedir Code Example
worldtimebuddy Code Example worldtimebuddy Code Example
create cursor in NETEZZA Code Example create cursor in NETEZZA Code Example
entityframework command to build model from database Code Example entityframework command to build model from database Code Example
c# make two checkbox uncheckable both Code Example c# make two checkbox uncheckable both Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9