EnumFieldMapping and GuidFieldMapping implement MapToNamedField as if the values retrieved from the database would be string but these do not override the MapToDocument and use the base method (which does not convert the values into string). MapToDocument should be overridden which should convert the values into string first.
EnumFieldMapping and GuidFieldMapping implement MapToNamedField as if the values retrieved from the database would be string but these do not override the MapToDocument and use the base method (which does not convert the values into string). MapToDocument should be overridden which should convert the values into string first.