YaakovD
unread,Oct 30, 2011, 12:53:12 PM10/30/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Business Logic Toolkit for .NET
I inherited from MappingSchema and overriden ConvertParameterValue().
I then set an instance of the overriden class to the MappingSchema
property of an instance of DbManager.
When calling dbManager.SetCommand() with a custom command, and an
array of parameters, the passed parameters aren't processed by the
mapping schema.
Specifically, they aren't converted according to my
ConvertParameterValue implementation.
I create the parameters by calling DbManager.Parameter().
How to make the conversion happen?
Thanks,
Yaakov