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

Unable to map Interface properties to Table columns anymore

2 Answers 56 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.
Skywalker
Top achievements
Rank 1
Skywalker asked on 19 Mar 2011, 08:11 PM
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 Answers, 1 is accepted

Sort by
0
Skywalker
Top achievements
Rank 1
answered on 19 Mar 2011, 11:58 PM
I'm not sure why, but after recreating the .rlinq file everything seems to work great now!
0
Accepted
Zoran
Telerik team
answered on 22 Mar 2011, 02:02 PM
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
Tags
Design Time (Visual Designer & Tools)
Asked by
Skywalker
Top achievements
Rank 1
Answers by
Skywalker
Top achievements
Rank 1
Zoran
Telerik team
Share this question
or