This question is locked. New answers and comments are not allowed.
As following http://www.telerik.com/help/openaccess-orm/developer-guide-crud-deleting.html, I try to setup a cascading delete, but I cannot see the Navigational Property window.
3 Answers, 1 is accepted
0
Hello Jin,
The Navigational Property window you are looking for is actually the Properties window of Visual Studio. Here you can find additional information about it.
In addition, following the logic of OpenAccess, in the Visual Designer each class is separated in three parts:
- Properties
- Implementation
- Navigation
So the properties under Navigation are called navigational properties and in order to display the Properties window for one of them, all you have to do is to select it and press the F4 button.
I hope that helps. Let us know if the described actions do not open the Properties window so that we can troubleshoot any issues that might be there.
Greetings,
Doroteya
the Telerik team
The Navigational Property window you are looking for is actually the Properties window of Visual Studio. Here you can find additional information about it.
In addition, following the logic of OpenAccess, in the Visual Designer each class is separated in three parts:
- Properties
- Implementation
- Navigation
So the properties under Navigation are called navigational properties and in order to display the Properties window for one of them, all you have to do is to select it and press the F4 button.
I hope that helps. Let us know if the described actions do not open the Properties window so that we can troubleshoot any issues that might be there.
Greetings,
Doroteya
the Telerik team
Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!
0
Jin
Top achievements
Rank 1
answered on 27 Aug 2012, 03:14 AM
Hi Doroteya,
If you created two entity class with “Add New Domain Class" menu in VS instead of "Update From Database", and want to create the relation between the two entity class, the Navigational Property window will not be displayed as your description.
If you created two entity class with “Add New Domain Class" menu in VS instead of "Update From Database", and want to create the relation between the two entity class, the Navigational Property window will not be displayed as your description.
0
Hi Jin,
In OpenAccess the relationship between two persistent classes is called association and the place where you create or edit it is Association Editor. To start it easily, right-click on Visual Designer and select Add > Add New Association...
There you need to specify the following:
1) An association name
2) A source class
3) A target class
4) A source class property
Once you click OK you will see these two changes:
1) Foreach of the two persistent classes a navigational property will be generated (placed in the Navigation section of the class)
2) The two persistent classes will appear connected by a line
According to the scenario you implement, OpenAccess allows you to create one-to-many associations, many-to-many associations, one-to-one associations (with vertical inheritance too) and constraints in a round-trip scenario.
When you specify the type of the association, you can go back to setting up the cascading delete.
I hope that helps.
Greetings,
Doroteya
the Telerik team
In OpenAccess the relationship between two persistent classes is called association and the place where you create or edit it is Association Editor. To start it easily, right-click on Visual Designer and select Add > Add New Association...
There you need to specify the following:
1) An association name
2) A source class
3) A target class
4) A source class property
Once you click OK you will see these two changes:
1) Foreach of the two persistent classes a navigational property will be generated (placed in the Navigation section of the class)
2) The two persistent classes will appear connected by a line
According to the scenario you implement, OpenAccess allows you to create one-to-many associations, many-to-many associations, one-to-one associations (with vertical inheritance too) and constraints in a round-trip scenario.
When you specify the type of the association, you can go back to setting up the cascading delete.
I hope that helps.
Greetings,
Doroteya
the Telerik team
Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!