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

Forward-mapping vs Reverse-mapping

1 Answer 176 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.
Iftekhar Ivaan
Top achievements
Rank 1
Iftekhar Ivaan asked on 18 Aug 2009, 04:00 AM
Hi,
I would like to use OpenAccess. I have a question about which one is best to do. I do not have any existing database. What should I use. Forward-mapping  or Reverse-mapping  .

and why?

What is the best to use.

Thanks

1 Answer, 1 is accepted

Sort by
0
PetarP
Telerik team
answered on 18 Aug 2009, 12:22 PM
Hello Iftekhar Ivaan,

The choice between forward and reverse mapping is not based on the end product (as it is the same from both approaches) bur rather on what you, as a customer, are used to. If you would prefer to construct your database from already available classes in your project without the need to bother with SQL database modeling than forward mapping is for you. If you however have an existing database and want to have classes that represent your database 1:1 than you definitely should pick reverse mapping. I believe that you will find a lot of useful information in this blog post. Please do not hesitate to contact us if you have any further difficulties.

Regards,
Petar
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Iftekhar Ivaan
Top achievements
Rank 1
Answers by
PetarP
Telerik team
Share this question
or