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

No Entity Model in Data Services Wizard

4 Answers 125 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sebastian
Top achievements
Rank 1
Sebastian asked on 27 May 2011, 02:18 PM
Hi,

just tried the tutorial in 'http://www.telerik.com/help/openaccess-orm/getting-started-root-getting-started-with-dsw.html'. The difference is the database backend which is MySQL 5.1 and using the Model-First-Approach.
Creation of the model is correct and the database schema is created successfully.

If it comes to 'Using Data Services Wizard - Select Data Services' in the tutorial opening the Data Services Wizard does not present any classes from the Entity Diagrams RLINQ.

Please find some screenshots in the attached ZIP files.


Kind regards
Sebastian

4 Answers, 1 is accepted

Sort by
0
Sebastian
Top achievements
Rank 1
answered on 30 May 2011, 02:24 PM
This one is really weird.

Today i get the following error message


The error report contains a message of

<ObjectPropertyInfo>
        <Type>System.String</Type>
        <Name>Message</Name>
        <Value>No metadata has been registered for class ScrumNet.Model.Comment. (This usually indicates, that either this class is not declared persistent or it is declared persistent but not enhanced. The class was loaded from file:///C:/Users/snwiem/AppData/Local/Temp/Temp/ScrumNet.Model.dll.)</Value>
        <Items />
      </ObjectPropertyInfo>


Can anyone help please ? Project constraints force me to solve this until Wed.

Kind regards,
Sebastian
0
A.Alexandrov
Telerik team
answered on 31 May 2011, 05:02 PM
Hello Sebastian,

About the 1st problem - you do not see any entities because we filter entities that are mapped to views. This is because you CUD operations cannot be made against a view. If this is not your case, please send us your rlinq file, so we can investigate what is happening.

About the 2nd problem - please ensure that the project containing your .rlinq file has the following line at the bottom when you open it with a text editor:

  <Import Condition="Exists('$(MSBuildExtensionsPath)\OpenAccess.targets')" Project="$(MSBuildExtensionsPath)\OpenAccess.targets" />
</Project>
The problem is that the generated assembly from the project is not enhanced by the OpenAccess Enhancer. You can find more information here and here.

If you have any additional concerns or questions, please do not hesitate to contact us.

Greetings,
A.Alexandrov
the Telerik team
Q1’11 SP1 of Telerik OpenAccess is available for download; also available is the Q2'11 Roadmap for Telerik OpenAccess ORM.
0
Sebastian
Top achievements
Rank 1
answered on 01 Jun 2011, 07:21 AM
I've created a support ticket ' 429970' for this one.

bye
Sebastian
0
Zoran
Telerik team
answered on 06 Jun 2011, 01:32 PM
Hello Sebastian,

 I believe we can close this forum for the moment as well as your ticket. I am happy that you are able to continue your work with OpenAccess for the moment and if you do find a pattern which precisely can describe how this issue can be reproduced, please do update this forum thread.

Kind regards,
Zoran
the Telerik team
Q1’11 SP1 of Telerik OpenAccess is available for download; also available is the Q2'11 Roadmap for Telerik OpenAccess ORM.
Tags
General Discussions
Asked by
Sebastian
Top achievements
Rank 1
Answers by
Sebastian
Top achievements
Rank 1
A.Alexandrov
Telerik team
Zoran
Telerik team
Share this question
or