Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi...
I have 2 projects...
First Projects has to use Roles & Features of Second Project.
By using 2nd project.. i have to create tables in first project.

Second project is using code first approach of Entity Framework.
Now.. My Question is...?
Is it possible to create tables in existing Project's DB?
If possible... How to pass first project's connection string to Dbcontext of Second Project?
Posted
Updated 18-Jan-15 18:55pm
v2
Comments
[no name] 7-Jan-15 7:28am    
These two projects are under one solution??
srinivas vadepally 7-Jan-15 7:35am    
yes
Jameel VM 19-Jan-15 2:54am    
did you try with same datacontext?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900