Forward Maping Setting Automatically reset

3 posts, 0 answers
  1. devoas
    devoas avatar
    69 posts
    Member since:
    Dec 2009

    Posted 22 Jun 2010 Link to this post


    Currently we are using Q3-2009, and find an issue in Forward Maping..  that we lost some setting after running Reverse Mapping Merge Wizard. 

    Mainly we are using Reverse Maping but for certain setting have to go to Forward maping specially Cascade delete.
    We have a table which contains Records from different tables and database level casce can only apply on one Table so for the rest we use forward Maping : Cascade Delete. This work fine till we go any changes in Database and run Reverse Maping : Merge Wizard....  Even the changes done in another tables, but the setting done from Forward Maping (Cascase) Lost....
    and following code not found the generated classes

    Kindly advise how to prevent these kind of Settings to be lost..


  2. Ady
    Ady avatar
    588 posts

    Posted 23 Jun 2010 Link to this post

    Hi devoas,

     We are aware of this problem. We are currently concentrating our efforts on providing Forward mapping capabilities via the domain model designer and this problem will not be there.
    As a workaround for you I would suggest that you specify the following mapping for your field, in the app.config file
    <field name="fieldname">
     <extension key="dependent" value="true" />

    Also if you specify a FetchGroup using the 'FetchField' attribute you can instruct the Forward mapping wizard to write the mapping to the xml file instead of adding attributes in code. This can be done via the 'Telerik->OpenAccess->Options' dialog.

    Sincerely yours,
    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. devoas
    devoas avatar
    69 posts
    Member since:
    Dec 2009

    Posted 26 Jun 2010 Link to this post

    Hi Ady,

    Thanks alot and the adding the dependent mapping in app.config is working perfect.

    Thanks for you timely support.
Back to Top