Bad Data Types in vb.Net

Thread is closed for posting
2 posts, 0 answers
  1. Keith Heilveil
    Keith Heilveil avatar
    29 posts
    Member since:
    May 2005

    Posted 02 Dec 2008 Link to this post

    When using reverse mapping, I am seeing definitions in the generated class files such as



    Dim _dateHired As DateTime?


    Since DateTime? isn't a valid 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

    Any suggestions?
  2. Jan Blessenohl
    Jan Blessenohl avatar
    707 posts

    Posted 03 Dec 2008 Link to this post

    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.

    Jan Blessenohl
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top