DbManager.SetCommand

17 views
Skip to first unread message

YaakovD

unread,
Oct 30, 2011, 12:53:12 PM10/30/11
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
Reply all
Reply to author
Forward
0 new messages