SamSaffron/dapper-dot-net — pull request #38 by RichCzyzewski (2012-06-21 15:24:38+00:00)
Title: Updated DynamicParameters to allow inheritance of the AddParameters

When using TVPs in Sql Server I'm usually passing in additional non TVP parameters to the proc. By making the DynamicParameters.AddParameters functionality inheritable, when DynamicParameters is subclassed adding handling for your TVP type, you can reuse the existing parameter.

The DynamicParameterWithIntTVP w/ the TestTVPWithAdditionalParams method show example usage.