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

Inheritance between diagrams.

3 Answers 47 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.
Przemysław
Top achievements
Rank 1
Przemysław asked on 05 Aug 2014, 08:51 AM
How to add iheritance connections between diagrams?
I have 2 diagrams: on the first one I have IBo Interface. When making inheritance connections to entities from the first diagram there is no problem.
But how to add connection to the IBo from entities on the second diagram?

3 Answers, 1 is accepted

Sort by
0
Doroteya
Telerik team
answered on 06 Aug 2014, 08:02 AM
Hello Przemysław,

Thank you for contacting us.

Based on the provided information, I was unable to completely understand the idea you have in mind. Could you tell me which one of the following matches it:
1. You have two .rlinq files, the interface is part of one of them, and you need to implement it in a persistent class from the other one.
2. You have one .rlinq file, which contains two diagrams. The interface is placed on one of them and the class that has to implement it is in the other one.

I am looking forward to your feedback.


Regards,
Doroteya
Telerik
 
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
 
0
Przemysław
Top achievements
Rank 1
answered on 06 Aug 2014, 09:48 AM
Second option.
0
Doroteya
Telerik team
answered on 07 Aug 2014, 01:52 PM
Hi Przemysław,

Thank you for getting back to us.

To achieve the necessary result you can perform the following:
1. Open the .rlinq file in Visual Designer.
2. From Model Object Explorer open the diagram that holds the interface.
3. In Model Object Explorer, expand the diagram that holds the class you need to implement the interface.
4. Drag-and-drop the class next to the interface and add inheritance between them.
5. Save the .rlinq file.

Optional: If you do not want two diagrams to contain one and the same class, you can choose which one of them should not hold it and do the following:
1. In Model Object Explorer, expand the digram that should not have the class in it.
2. Locate the class, right-click on it and select Delete From Diagram.
3. Save the .rlinq file.

Note that after you create the inheritance between the class and the interface (and save the model) deleting the class from one of the diagrams will not break the inheritance.

I hope this helps. If you have additional questions, do not hesitate to get back to us.


Regards,
Doroteya
Telerik
 
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
 
Tags
Design Time (Visual Designer & Tools)
Asked by
Przemysław
Top achievements
Rank 1
Answers by
Doroteya
Telerik team
Przemysław
Top achievements
Rank 1
Share this question
or