Multi-Mapping SplitOn spaces between commass
There was a small issue when SplinOn spaces between commas, for example: splitOn: "AddressId, Id". For more info see: http://stackoverflow.com/questions/11042618/dapper-multi-mapping-issue I have modified below line of code: From: var currentSplit = splits[splitIndex]; To: var currentSplit = splits[splitIndex].Trim(); Also added a test called: TestMultiMappingWithSplitOnSpaceBetweenCommas()
Showing
Please register or sign in to comment