Stonie/Sprocker — Issue #4: Calling a SprocAccessor from an IRowMapper
Author: Stonie
Created: 2012-01-16 23:33:46+00:00
State: open

This is a major wrinkle

```C#
return MapBuilder.MapAllProperties()
.Map(s => s.Type).WithFunc(row => _spotTypeRepository.GetOne(st => st.Code == (string) row["TypeCode"]))
.Build();
````

Basically this won’t work as you expect, the sproc accessors trip over each other. The current solution is to force a second connection. Review and look for a better way.