linq2db/linq2db — pull request #55 by akrasov (2013-12-19 18:28:23+00:00)
Title: fix for GetDefaultMappingFromEnumType

changed type.IsNullable() to enumType.IsNullable(). The issue I got was trying to update nullable int table field from class having nullable Enum property. It appears that ConvertBuilder.GetDefaultMappingFromEnumType do not respect original enum type when trying to decide if nullable contrpair should also be nullable. Please review and let me know if it makes sense for you.

Thanks!