Database Initialization in Entity Framework Code First
<p>I'm learning about EF Code First. I've read <a href="http://www.entityframeworktutorial.net/code-first/database-initialization-strategy-in-code-first.aspx" rel="nofollow">Database Initialization Strategies in Code-First</a> and <a href="http://www.codeguru.com/csharp/article.php/c19999/Understanding-Database-Initializers-in-Entity-Framework-Code-First.htm" rel="nofollow">Understanding Database Initializers in Entity Framework Code First</a> articles.</p>

<p>But I'm still confused, where should be the data before initialization? Those articles didn't mention about that and I think it's pretty important.</p>

<p>I'm building a football application, so while initializing app I'd like to insert every team and player name into database (every in the Europe from best leagues - so quite a lot of data). They will not change. Should they be hard-coded in sourcecode? or attached in xml? simple file?</p>

<p>Right now I have: before running, there is initialization prompt (Please wait, initialization...) I read the file, line by line inserting them into database. Is it good way?</p>