title: Entity Framework with Federated Service implementation
body: <p>im not sure what im looking for, and everything that i've seen so far looks like it will work till I really dive into it. I just need some pointers from the brains here. Im working an ASP.NET MVC EF5 SQL2012 project. We have a model set that isn't code first (The entities were built using the designer) and as of right now, everything is working just fine. But, we have this setup script... (Convoluted as i've ever seen) and i need to get it into something more automated. Right now, the setup script pre-populates the tables with data. look ups, reference, etc. I'm looking for a way to automate this further, without having to run this script, and even more so. To generate the database and tables automatically. Every article i've read seems to do the trick (Migrations, seeding, etc.) but the one thing they don't take into consideration, we federate services. So the actual EDMX is on a WCF Dataservice 5.6. I have access to the models and what not but the WCF service exposes an DataServiceContext which doesn't have a seed on it. Am i looking at the right stuff here? or is the only option here to have this confounded setup script (All C# Driven). This website has been detrimental to this: <a href="http://www.entityframeworktutorial.net/code-first/seed-database-in-code-first.aspx" rel="nofollow noreferrer">http://www.entityframeworktutorial.net/code-first/seed-database-in-code-first.aspx</a> as well as this: <a href="https://stackoverflow.com/questions/9873873/auto-create-database-tables-from-objects-entity-framework">Auto Create Database Tables from Objects, Entity Framework</a> but i don't see how i can use these over WCF 5.6. </p>