Unknown native SQL type 'geometry' while attempting database import


Update: The exception "Unknown native SQL type 'geometry' " is caused when datatype hierarchyid is used.
The exception reports 'geometry' because "public enum SqlNativeTypes" uses the same value of 240 for hierarchyid, geometry and geography.

Support needed for native SQL type 'geometry'
While attempting to import a SQL database that has a table with a column of type 'geometry' the import process abruptly stops with no messages. The problem was found by downloading the source code and running in debug mode.