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

System.Nullable<System.Guid> Issue

6 Answers 61 Views
Data Access Free Edition
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nathan
Top achievements
Rank 1
Nathan asked on 14 Nov 2011, 05:37 AM
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.

6 Answers, 1 is accepted

Sort by
0
Nathan
Top achievements
Rank 1
answered on 14 Nov 2011, 06:37 AM
This seems to only happen when I remove the prefix tbl from the entities...Any ideas?
0
Nathan
Top achievements
Rank 1
answered on 15 Nov 2011, 11:00 AM
Anyone know if its possible to amend the template so to not write "System" on GUID properties? Thanks
0
Nathan
Top achievements
Rank 1
answered on 15 Nov 2011, 11:00 AM
Anyone know if its possible to amend the template so to not write "System" on GUID properties? Thanks
0
Damyan Bogoev
Telerik team
answered on 15 Nov 2011, 03:24 PM
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. 
0
Nathan
Top achievements
Rank 1
answered on 15 Nov 2011, 03:51 PM
Thanks alot will give that a go working a treat apart from this so thanks!
0
Nathan
Top achievements
Rank 1
answered on 17 Nov 2011, 02:44 PM
All good now thanks.
Tags
Data Access Free Edition
Asked by
Nathan
Top achievements
Rank 1
Answers by
Nathan
Top achievements
Rank 1
Damyan Bogoev
Telerik team
Share this question
or