I can't quite pinpoint what is going on. But when I update Dapper.Contrib from 1.50.0 to 1.50.4 I get this exception
System.InvalidOperationException : An enumerable sequence of parameters (arrays, lists, etc) is not allowed in this context
at Dapper.SqlMapper.GetCacheInfo(Identity identity, Object exampleParameters, Boolean addToCache) in ...\dapper\Dapper\SqlMapper.cs:line 1686
When calling await _connection.InsertAsync(listOfEntities);
.
Anyone else getting this?
My Dapper version is 1.50.4. It works with this version combo:
- Dapper v1.50.4
- Dapper.Contrib v1.50.0