You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think having a configuration setting would be the least intrusive change, although it would affect all commands, but you could temporarily set then reset it.
Actually, there was a Map extension method for IDbCommand in v5, but the API was simplified in v6 and most extension methods didn't make the cut.
Hello,
Excellent library. Running into a Command Timeout situation when using Map:
db.Map<SomeObject>(sql).ToArray();
I know there is the
db.CreateCommand(sql);
but then you lose the nice and simple POCOMapping you offer.Any plans to allow settings to be pushed into the internal call to CreateCommand (or another solution):
return (IEnumerable<TResult>) new MappingEnumerable<TResult>(this.CreateCommand(query), mapper, this.Configuration.Log);
Thanks.
The text was updated successfully, but these errors were encountered: