Architecting and designing : UML 2.0 Lite : Object/relational integration : Type mappings between programming languages and data types : Visual Basic type mapping to from data element types
  
Visual Basic type mapping to from data element types
From class model to logical (ER) data model
Source type
Target type
VB type
Data element type
Boolean
bit
Byte
tiny integer
Integer
small integer
Long
long binary
Single
float
Double
double precision
String
long var character
default
long var character
From logical (ER) data model to class diagram
Source type
Target type
Data element type
Type package
Type
bit
VB Types
Boolean
tiny integer
VB Types
Byte
small integer
VB Types
Integer
integer
VB Types
Integer
long binary
VB Types
Long
decimal
VB Types
Integer
number
VB Types
Double
float
VB Types
Single
real
VB Types
Single
double precision
VB Types
Double
money
VB Types
Single
character
VB Types
String
character varying
VB Types
String
long character
VB Types
String
long text
VB Types
String
long var character
VB Types
String
default
VB Types
String
See also
Type mappings between programming languages and data types