Question

I'm trying to insert some sample data (Seed data) using EF 4.3 Migration.

The problem is I want to read data from xml file. But when I run Update-Database cmdlet, I got error like Could not find a part of the path 'C:\SampleData\'.

Is there anyway to set the working directory to current project folder when I run Update-Database from my powershell console.

Thanks in Advance.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top