Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

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
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# Difference Array | Range update query in O(1) 
Csharp :: unity create file name datetime 
Csharp :: TextBox filling in C# 
Csharp :: how to use mongodb search index in c# 
Csharp :: Xamarin Forms iOS Picker done 
Csharp :: what error code i should return in asp.net core whether user name or password are incorrect 
Csharp :: c# increment by 2 
Csharp :: add two large numbers 
Csharp :: Unity Hollow Blender Model 
Csharp :: unity check if swipe not tap 
Csharp :: C# Floating Point Literals 
Csharp :: Retrieving a value in one class that is set in another 
Csharp :: check which activity in focus in android 
Csharp :: wpf onpropertychanged not working 
Csharp :: asp.net mvc select from many to many relationship 
Csharp :: c# bitwise xor 
Csharp :: erlang start net kernel 
Csharp :: c# convert linq jValue to int 
Csharp :: edit pdf itextsharip 
Csharp :: CS0176 
Csharp :: how can find github issue closed date 
Csharp :: c# access control from another thread 
Csharp :: c# open folder in explorer zugriff verweigert 
Csharp :: translate english to spanish 
Csharp :: unity manager.instance 
Csharp :: c# check if list is empty 
Csharp :: unity torque distance joint 
Csharp :: how to get user control dropdown value in asp net 
Csharp :: reversing linkedlist C# 
Csharp :: ddsfsd 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =