Automate migration scripts

What's the best way to retrieve a set of migration scripts (stored in version control using SQL Source Control) and then execute them?

Is there a method somewhere to say retrieve a reference to a set of scripts?

I don't want to write code that....

Connect to TFS
Get latest scripts
Identify uncommitted scripts
Executes the scripts

There must be a way of doing this through the API?

Comments

Sign In or Register to comment.