Unable to map Interface properties to Table columns anymore

3 posts, 1 answers
  1. Skywalker
    Skywalker avatar
    67 posts
    Member since:
    Sep 2007

    Posted 19 Mar 2011 Link to this post

    First of all let me say that I really love the enhancements in the Designer. The dialogs and wizards are much more clean and overall it feels more stable. Also the associations editor and property reordering are really nice.

    However, I'm suddenly having problems mapping interface properties to my table.
    For example, I have a User class that implements an IEntity interface.
    The PK (Id: Int32 property) is defined on the interface, but I can't map that property to the Id column of the User class: the dropdownlist simply doesn't display the Id property.
    I'm probably doing something wrong, but I can't seem to find the solution.

    Please find attached a screenshot demonstrating the issue. I have also prepared a sample project which can be downloaded here.
    For now I will just have to manually implement the interface on the partial classes,

    Greetz,
    Sipke
  2. Skywalker
    Skywalker avatar
    67 posts
    Member since:
    Sep 2007

    Posted 19 Mar 2011 Link to this post

    I'm not sure why, but after recreating the .rlinq file everything seems to work great now!
  3. DevCraft banner
  4. Answer
    Zoran
    Admin
    Zoran avatar
    534 posts

    Posted 22 Mar 2011 Link to this post

    Hello Skywalker,

     We are glad to know that your issue was resolved. In the new version of the designer we had problems with interfaces that were created in existing .rlinq files. Those issues have been fixed and no such problems should be visible in the internal build that we are about to put online this week.

    All the best,
    Zoran
    the Telerik team
Back to Top