This is the last one
in this current thread for a while :)
By the end of the last example we had code that would
discover what stored procs were in a SQL Server database and generate a managed wrapper library that
could be extended.
The next step it occured to me was to be
then generate an assembly from this source and
load it into the currently executing program. The MSDN pages I have linked to have some good samples.
I'm adding this one to my toolbox of hammers looking for a nail.