سؤال

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.

هل كانت مفيدة؟
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top