select 'public '+ case t.name when 'varchar' then 'string' when 'smallint' then 'Int16' when 'int' then 'Int32' when 'datetime' then 'DateTime' when 'numeric' then 'double' else 'string' end +' ' +cl.name+' {get;set;}', t.name, cl.max_length, cl.prec…