mssqlserver support and other changes

Support for MSSQLSERVER
Add HasCode and Equals on BaseClass
Generate code for selected tables 
Get Decimal_digits (Metadata)....