0

Resolved

0001 Database Capability (Phase 1) - 26 Create Service Methods - Manage Related Entities (Mike)

description

AddNavigationProperty AddNewRelatedEntity ParentEntityID, RelatedEntityName, PropertyName, Multiplicity UpdateRelatedEntity ParentEntityID, RelatedEntityID, PropertyName, Multiplicity UpdateMultiplicity RelatedEntityID, Multiplicity (enum value passed to server as integer) RemoveRelatedEntity

Reproduction Steps:

1 - Right click on entitytype
2 - select add navigation property
3 - click new navigation property
4 - add navigation property name
5 - select multiplicity
6 - click submit( wait for a while the insert operation will take time )
7 - verify that the node is added with reverse connection to the original node.for example if you add node b as navigation property under node Anode A(entity type) node B(navigation property)it should also have node a as navigation property under node Bnode B(entity type) node A(navigation property)
8 - when you expand navigation property you should get all children's of that node.for examplenode A(entity type) node b(navigation porperty) node b(enity type) and all children of node b
9 - Right click on entitytype
10 - select add navigation property
11 - click existing entity
12 - in drop down you should get all entity type, verify that none are missing.
13 - select multiplicity
14 - submit
15 - verify if you add node b as navigation property under node Anode A(entity type) node B(navigation property)it should also have node a as navigation property under node Bnode B(entity type) node A(navigation property)--change multiplicity
16 - right click on navigation property
17 - select change multiplicity
18 - select multiplicity
19 - submit
20 - as per ken you need to verify this multiplicity in SQL database we will let you know when to do this.-- rename navigation property
21 - right click on navigation property
22 - type new name
23 - verify if name is renamed

Related requirements: See TFS Item# 565

comments

wrote Nov 28, 2012 at 2:39 AM

Associated with changeset 20269.

wrote Nov 30, 2012 at 10:48 PM

wrote Nov 30, 2012 at 10:50 PM

wrote Feb 13, 2013 at 10:51 PM

wrote May 1, 2013 at 12:25 AM

wrote May 1, 2013 at 12:26 AM

wrote May 16, 2013 at 9:30 AM

wrote May 16, 2013 at 9:30 AM

wrote Jun 14, 2013 at 6:53 AM