Refactored and added DbType-property.