open project questions

2 posts, 1 answers
  1. Hans
    Hans avatar
    49 posts
    Member since:
    Jul 2010

    Posted 10 Aug 2010 Link to this post

    Hi !

    I have some questions .
    In Forward Mappings the table created  in DB has fields in alphabetical order.I want that fields to be created in the order that are in the class. How I can do this ?

    I played a little bit with a class library project . I created a class forward mapping, update the database, everything work fine.But after I delete this class, I created another one , in Forward mapping window still shows the old class that was deleted. I found some records of this old class in App.Config, I delete the nodes but still the class is shown in Forward mapping window
    Where all this data are stored ?

    And if I rename a class how It can automatically be renamed in all mappings? BEcause after that I have errors in Forward Mapping window. If I click on a field I have "System.Runtime.InteropServices.ComException occured."

    Best regards,
  2. Answer
    Damyan Bogoev
    Damyan Bogoev avatar
    581 posts

    Posted 12 Aug 2010 Link to this post

    Hi Hans,

    1. Unfortunately you cannot control the order in which the columns are created in the database.
    2. When you run the Forward Mapping wizard please click on the Reload button to clear all the cached data in the wizard. In case of reverse mapping scenario data for the persistent classes is placed in the reversemapping.config file as well. 
    3. When you rename a class, you should also rename it in the app.config file if there is an entry for it. When you finish with the renaming you should rebuild the project.
    Hope that helps.

    Best wishes,
    Damyan Bogoev
    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
Back to Top