How can i set an Session.DBCommand.CommandTimeOut NHibernate default value with Castle ActiveRecord?
this config line don't work.
<activerecord >
<config>
<add key="command_timeout" value="60"/>
</config>
</activerecord>
edit: i need some code that changes the CommandTimeOut value when the command is created, what about reflection to set dynamically the value? or PostSharp? someone knows how to?
Inside the Fluent Initialise Method you must pass a couple of parameters as so,
Notice the "180" after each property, this will set the command timeout to be 3 minutes
edit: just noticed you want to do this on a record by record basic, whoops!