Forward-mapping vs Reverse-mapping

Thread is closed for posting
2 posts, 0 answers
  1. Iftekhar Ivaan
    Iftekhar Ivaan avatar
    17 posts
    Member since:
    Apr 2006

    Posted 17 Aug 2009 Link to this post

    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
  2. PetarP
    Admin
    PetarP avatar
    754 posts

    Posted 18 Aug 2009 Link to this post

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