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

Forward Maping Setting Automatically reset

2 Answers 48 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
devoas
Top achievements
Rank 1
devoas asked on 22 Jun 2010, 02:38 PM
Hello,

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
Telerik.OpenAccess.Depend().


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

Thanks
devoas.


2 Answers, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 23 Jun 2010, 03:35 PM
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" />
</field>

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,
Ady
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
0
devoas
Top achievements
Rank 1
answered on 26 Jun 2010, 04:20 PM
Hi Ady,

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

Thanks for you timely support.
devoas
Tags
Design Time (Visual Designer & Tools)
Asked by
devoas
Top achievements
Rank 1
Answers by
Ady
Telerik team
devoas
Top achievements
Rank 1
Share this question
or