SQL Server, Migrations, Repo pattern