Mat,
>I have a subclass of mmDataAccessBase for SqlCE (Compact Edition). I am running into an error when I call the ExecScalar command since SqlCE does not support the CommandTimeout property. Trying to set this property in the base ExecScalar method throws an exception. What is the best way to get around this? Do I need to override the ExecScalar method in my subclass?
It looks like the SqlCE command object supports the CommandTimeout property, it's just that it's always set to zero. I recommend setting the CommandTimeout variable in your SqlCe class to zero (you can set it in the constructor) and see if that helps.
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com