Visual Designer

14 posts, 1 answers
  1. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 19 Jul 2010 Link to this post

    Given that I have an app and a Data Model created using forward mapping in a previous version of OA, can I use the Visual Designer to manage my model now I have the latest version of OA?

    -- 
    Stuart
  2. Answer
    Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 19 Jul 2010 Link to this post

    Hello Stuart Hemming,
    You should stay with the way you are working. We will come up with a migration wizard for forward projects later. If you are missing the menus, please have a look here.

    Kind regards,
    Jan Blessenohl
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 19 Jul 2010 Link to this post

    Hello Jan,

    Thanks, I think :-) I never get to play with the nice toys!

    If you are missing the menus, please have a look here.
    Ta, I'd already found that.

    -- 
    Stuart
  5. Christian
    Christian avatar
    81 posts
    Member since:
    Aug 2008

    Posted 08 Nov 2010 Link to this post

    Hi,
    the new version includes the wizard to change over the old projects? We have a larger model and would like to switch to the designer. Regards Christian
  6. Zoran
    Admin
    Zoran avatar
    534 posts

    Posted 11 Nov 2010 Link to this post

    Hi Christian,

     It is possible to use the OpenAccess "Upgrade to Domain Model" tool for the purpose but only if your model was built using the "Reverse Mapping Wizard". If there are any Parts of your model definition that were done with the "Forward Mapping Wizard", I would not recommend you to use the conversion tool as you might end up with some loss of settings that you have manually done before. Anyway, I do not expect that you will have to many problems by just deleting your previous model and importing the model from database into the rlinq designer from scratch. 

    Regards,
    Zoran
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Christian
    Christian avatar
    81 posts
    Member since:
    Aug 2008

    Posted 12 Nov 2010 Link to this post

    Hi Zoran,
    this is not a good proposal and a big disappointment. We have many methods in our model and in the get and set parts logic is included, so the conversion is complicated. When I perform such a complex transition, I could also take the EF4 and I'm closer to Microsoft. I do not understand why it is possible to offer a converter for Linq 2 SQL, but not for their own "old" Foward projects. We urgently need the converter, so that we can use the round-tripping. The converter should have to read the attributes and the mapping and than convert to the new form.
    Best regards Christian
  8. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 12 Nov 2010 Link to this post

    I can't help but agree with Christian about this. I was attracted to the ORM because of the forward mapping capabilities, but I can't help fell more than a little abandoned by not the direction of the product but the lack of continuity for those of us who employed this model before it fell out of fashion.

    -- 
    Stuart
  9. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 12 Nov 2010 Link to this post

    Hey Guys,
      I've done this upgrade manually a couple times, and it's really not that bad...

    You really just need to identify which objects have custom methods, then in your new domain model project create a new partial class based on that entity and paste in the code.  Really, if you can it's SO worth the effort...the domain model API is so slick.

    However I do agree that it would be nice to see a release polish existing missing features rather than burn dev time making an SDK demo app and a Linq2Sql converter.  I still encounter "X not supported" exceptions at runtime.

    Steve
  10. Zoran
    Admin
    Zoran avatar
    534 posts

    Posted 17 Nov 2010 Link to this post

    Hi Stuard and Christian,

    Thanks a lot for your feedback. We have considered this opportunity and it is now part of our backlog to extend our Upgrade Tool from older projects so that it can read the complete mapping - forward, reverse or mixed. We will release an internal build this week, but my personal expectations are to have these features on the tool for the first Service Pack for the Q3 2010 release.
     
    All the best,
    Zoran
    the Telerik team
    See What's New in Telerik OpenAccess ORM in Q3 2010!
    Monday, November 15, 11 am Eastern Time: Register here>>
    Monday, November 15, 10 pm Eastern Time: Register here>>
  11. Christian
    Christian avatar
    81 posts
    Member since:
    Aug 2008

    Posted 27 Nov 2010 Link to this post

    Hi,
    I have read the instructions for q3 sp1. My question: Does the SP1 include the announced wizard to migrate from a classic forward model in order to use the designer mode?

    Kind regards
    Christian
  12. Zoran
    Admin
    Zoran avatar
    534 posts

    Posted 29 Nov 2010 Link to this post

    Hi Christian,

     Please excuse me for the misunderstanding that has is probably brought by my latest post in this forum thread. The Service Pack that we just released is actually the internal build that we planned and I mention in my latest post. A Service Pack 1 was planned for later this year. However because of the numerous fixes that we did, we decided to tag this release a Service Pack instead of an internal build. As you probably guess, this is not the release containing the desired functionality, it will be available later this year or in the beginning of the next.

    Best wishes,
    Zoran
    the Telerik team
    Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
  13. Christian
    Christian avatar
    81 posts
    Member since:
    Aug 2008

    Posted 13 Dec 2010 Link to this post

    Hi Zoran,
    the current schedule contains no information about the next step, or the exact date of publication. When the wizard for 'old' forward projects will be available?
    Kind regards
    Christian
  14. Zoran
    Admin
    Zoran avatar
    534 posts

    Posted 15 Dec 2010 Link to this post

    Hi Christian,

     Actually I have not given you an exact time frame because the migration of the older forward mapping projects is something that is not completely defined on our side, I must admit. We will definitely provide a way for the customers to move their projects to the Visual Designer approach but, doing an automatic upgrade is a risky approach due to the fact that clients writing forward mapping are usually writing their own logic in their persistent classes and there is a possibility for this logic to be gone after we uprade the project and generate the classes ourselves. We are thinking about a feature of the designer that would allow you to include your won classes in the designer without us touching those classes and not generating any code for them so that your code would stay the same as it was before. However that is a feature we have not yet developed and I believe that the only real time frame is Q1 2011 release. 
    I really apologize for the inconveniences this might be causing you, but this is a really delicate step and we thrive towards doing it in the safest way for our clients. 

    Also, in the meantime, maybe you could have a look into the fluent mapping API which is another way for you to map your classes using custom code. However if, you are a fan of the designer and would like to do more drag&drop, this is not the approach you should go for.

    All the best,
    Zoran
    the Telerik team
    Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
  15. Zoran
    Admin
    Zoran avatar
    534 posts

    Posted 21 Mar 2011 Link to this post

    Hi All,

     I would just like to update you guys, that the new Upgrade Wizard is part of the Q1 2011 product. With this version we are able to convert old forward mapping models with the new Fluent Mapping representation of the metadata. So we are not using the designer with Forward Mapping as it always generates code and we would not like to touch the user-defined classes as it is usually with Forward Mapped projects. That is why we took the Fluent Mapping approach. I hope you find it useful to utilize the new API in your existing projects.

    Best wishes,
    Zoran
    the Telerik team
Back to Top
DevCraft banner