System.Nullable<System.Guid> Issue

7 posts, 0 answers
  1. Nathan
    Nathan avatar
    13 posts
    Member since:
    Nov 2011

    Posted 13 Nov 2011 Link to this post

    I get this error

    Error 4 The type name 'Nullable' does not exist in the type 'ORM.System'

    If I remove the System. so it reads Nullable<Guid> all is ok.

    How can I make this build and update without errors?

    Thanks.

  2. Nathan
    Nathan avatar
    13 posts
    Member since:
    Nov 2011

    Posted 14 Nov 2011 Link to this post

    This seems to only happen when I remove the prefix tbl from the entities...Any ideas?
  3. DevCraft banner
  4. Nathan
    Nathan avatar
    13 posts
    Member since:
    Nov 2011

    Posted 15 Nov 2011 Link to this post

    Anyone know if its possible to amend the template so to not write "System" on GUID properties? Thanks
  5. Nathan
    Nathan avatar
    13 posts
    Member since:
    Nov 2011

    Posted 15 Nov 2011 Link to this post

    Anyone know if its possible to amend the template so to not write "System" on GUID properties? Thanks
  6. Damyan Bogoev
    Admin
    Damyan Bogoev avatar
    581 posts

    Posted 15 Nov 2011 Link to this post

    Hi Nathan,

    Firstly I want to apologize for the inconvenience caused. We fixed the problem in our templates. The fix will be part of the next Q3 release of the product.
    Actually you could workaround the wrong behavior by adding the following line in the General.ttinclude template within the InitializeLanguageDependentTypeMap method:
    defaultPresentation.Add("System.Guid", "Guid");

    The template is located under the following path [OpenAccess_Install_Dir]\ dsl2010\CodeGenerationTemplates\CSharp\Includes.
    Hope that helps.

    Best wishes,
    Damyan Bogoev
    the Telerik team
    Want to use Telerik OpenAccess with SQL Azure? Download the trial version today. 
  7. Nathan
    Nathan avatar
    13 posts
    Member since:
    Nov 2011

    Posted 15 Nov 2011 Link to this post

    Thanks alot will give that a go working a treat apart from this so thanks!
  8. Nathan
    Nathan avatar
    13 posts
    Member since:
    Nov 2011

    Posted 17 Nov 2011 Link to this post

    All good now thanks.
Back to Top
DevCraft banner