문제

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