I'm using entity framework to call my stored procedures. I'm going through the process using the function import wizard as to create function imports and complex types.
The problem I'm having is I would like to find a way to easily refresh all of my complex types.
When there are stored procedure change today, my process is to:
1.) Refresh stored procedures using the EF update wizard.
2.) Go to each function import in the model browser and click edit.
3.) Click the button to update complex type.
4.) Manually repeat this process for all 100+ of my function imports.
This update process is very well explained here: http://blogs.msdn.com/b/nihitk/archive/2010/04/23/ado-net-entity-designer-in-vs-2010-stored-procedure-return-type-shape-sensing.aspx
Does anyone know how this can be automated either via a command line or through some sort of macro. I don't need this to be part of a build process.