Enterprise Library Data block

Has anyone tried to do a prepared statement with parameters with the new block? Unless I missed something I don't see any example.

Update:

The unit tests show this but I have uncovered another issue.The tests for Oracle show adding parameters with the parameter token in the name of the parameter. The database object has a protected property ParamertToken. How generic can my code be if I have to hard code the token when I create the parameters? Even worse, in my sql! I would like to get at this property so I can build the parameter name or sql with the token on the fly. Any ideas?

 

No Comments