igor-tkachev / bltoolkit

Business Logic Toolkit for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MemberMapper with ENumerable Types not working any more

jogibear9988 opened this issue · comments

With your change in SqlValueBase in fc4fdf6 a MemberMapper like this:

  MapField(x => x.AdditionalObjects).MapIgnore(false).MemberMapper(typeof(JsonNetSerialisationMapper)).DbType(System.Data.DbType.String).Nullable();

will not work any more, because my object is IEnumerable and you will Enumerate it!

Try my fix from 363

Sorry for late response.
I see.... this code is needed for #344... I think it can be moved to MappingSchema (like it is done for another convert).
Please, can you provide the test for your case?