This is a migrated thread and some comments may be shown as answers.

Bad Data Types in vb.Net

1 Answer 62 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Keith Heilveil
Top achievements
Rank 1
Keith Heilveil asked on 03 Dec 2008, 03:12 AM
When using reverse mapping, I am seeing definitions in the generated class files such as

Private

 

Dim _dateHired As DateTime?

 


Since DateTime? isn't a valid vb.net type, I get errors. I also get errors for Boolean, Short, Long, and Integer (question marks after all of them).

I've seen this both as a web application, a web project, and a stand alone dll, All using vb.net.

Any suggestions?

1 Answer, 1 is accepted

Sort by
0
Jan Blessenohl
Telerik team
answered on 03 Dec 2008, 06:32 PM
Hello Keith Heilveil,

Sorry about that, seems to be a bug with vb in vs2005, in vs2008 it is working. It is a mistake in our reverse mapping template files.

We will fix that, but as workaround you can remove all
#if($isNullable) ... #end
from the reverse engineering template files. You can look into the programmer's guide to find the right files.

Regards,
Jan Blessenohl
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Getting Started
Asked by
Keith Heilveil
Top achievements
Rank 1
Answers by
Jan Blessenohl
Telerik team
Share this question
or