For lazy loading, it seems like the command in generated in Loader.cs, in the following method -
protected virtual IDbCommand PrepareQueryCommand(
SqlString sqlString,
QueryParameters parameters,
bool scroll,
ISessionImplementor session )
the command created from
IDbCommand command = session.Batcher.PrepareQueryCommand( sqlString, parameters.CommandType );
doesn't have the correct CommandTimeout set. It is only set if there is a selection.Timeout and I don't see how that is passed.
Is there a way we can set this?
|