No Entity Model in Data Services Wizard

Thread is closed for posting
5 posts, 0 answers
  1. Sebastian
    Sebastian avatar
    16 posts
    Member since:
    Jun 2010

    Posted 27 May 2011 Link to this post

    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
  2. Sebastian
    Sebastian avatar
    16 posts
    Member since:
    Jun 2010

    Posted 30 May 2011 Link to this post

    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
  3. A.Alexandrov
    Admin
    A.Alexandrov avatar
    25 posts

    Posted 31 May 2011 Link to this post

    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.
  4. Sebastian
    Sebastian avatar
    16 posts
    Member since:
    Jun 2010

    Posted 01 Jun 2011 Link to this post

    I've created a support ticket ' 429970' for this one.

    bye
    Sebastian
  5. Zoran
    Admin
    Zoran avatar
    534 posts

    Posted 06 Jun 2011 Link to this post

    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.
Back to Top