Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / OpenAccess ORM > OpenAccess ORM Free Edition > System.Nullable<System.Guid> Issue

Not answered System.Nullable<System.Guid> Issue

Feed from this thread
  • Nathan avatar

    Posted on Nov 13, 2011 (permalink)

    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.

    Reply

  • Nathan avatar

    Posted on Nov 14, 2011 (permalink)

    This seems to only happen when I remove the prefix tbl from the entities...Any ideas?

    Reply

  • Nathan avatar

    Posted on Nov 15, 2011 (permalink)

    Anyone know if its possible to amend the template so to not write "System" on GUID properties? Thanks

    Reply

  • Nathan avatar

    Posted on Nov 15, 2011 (permalink)

    Anyone know if its possible to amend the template so to not write "System" on GUID properties? Thanks

    Reply

  • Damyan Bogoev Damyan Bogoev admin's avatar

    Posted on Nov 15, 2011 (permalink)

    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. 

    Reply

  • Nathan avatar

    Posted on Nov 15, 2011 (permalink)

    Thanks alot will give that a go working a treat apart from this so thanks!

    Reply

  • Nathan avatar

    Posted on Nov 17, 2011 (permalink)

    All good now thanks.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / OpenAccess ORM > OpenAccess ORM Free Edition > System.Nullable<System.Guid> Issue