This is a migrated thread and some comments may be shown as answers.
ORM Mapping File bug
1 Answer 55 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alfred Ortega
Top achievements
Rank 2
Alfred Ortega asked on 11 Nov 2008, 05:14 PM
VS 2008 w/ SP1 Arc Ed
SQL 2005 Expr
Table Project
ProjectID int identity(1,1) PK
...other fields...

Table Task
TaskID int identity(1,1) PK
ProjectID int [Foreign Key]
... other fields ...

Steps to Reproduce
1) Created C# Class Library
2) Enable OpenAccess on Project
3) Using the Reverse Engineering Wizard check the one to many box in the Task class so that Project now has a property IList<Task> Tasks.
4) Build/Compile all is good.
5) Reopen the reverse engineering Wizard and uncheck the one-to-many box in the Task class so that Project.Tasks no longer exists and regenerate code.
6) The class definition is correct as no IList<Task> is created - but the mapping file still maintains the tasks definition and fails to build.  You have to manually remove the "tasks" element in the mapping file.


1 Answer, 1 is accepted

Sort by
Jan Blessenohl
Telerik team
answered on 15 Nov 2008, 11:20 AM
Hi Alfred Ortega,

We have found and have fixed the problem. The fix will be available in the next patch. Hope you can work with your workaround in the meantime.

Sincerely yours,
Jan Blessenohl
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
General Discussions
Asked by
Alfred Ortega
Top achievements
Rank 2
Answers by
Jan Blessenohl
Telerik team
Share this question