This is a beautiful thing!  I did not know this was a possibility!  So
this will create the command object fill the parameters and leave the
execution to me?  I would only use this for inserts and updates so I
don't really care about the resultMap portion, but this is the exact
anser to my post months ago about needing to execute code before and
after the command is executed.  What version of code do I need to use
this functionality?

> Do you have cases where you just need the underlying statement:
>
>  IMappedStatement mappedStatement =
>   sqlMapper.GetMappedStatement("Select");
>
> Then you can execute that statement on your own?
>
>  // populate IDbCommand and its parameter collection
>  IDbCommand command = mappedStatement.GenerateCommand();
>
> Wouldn't you be missing out on the resultMap engine if you do things
> that way?

Reply via email to