Skip to content

Commit 33faa27

Browse files
Update coreTypes.md
Rename `bankAccountInformation` to `bankAccountDetail`
1 parent 50ab124 commit 33faa27

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

graph/articles/coreTypes.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Do one of the following:
4545

4646
Define the new entity type:
4747
```xml
48-
<EntityType name="bankAccountInformation">
48+
<EntityType name="bankAccountDetail">
4949
<Property Name="accountNumber" Type="Edm.string"/>
5050
<Property Name="routingNumber" Type="Edm.string"/>
5151
</EntityType>
@@ -54,37 +54,37 @@ Define the new entity type:
5454
Add a contained navigation from user to the new entity type:
5555
```xml
5656
<EntityType name="user">
57-
<NavigationProperty Name="bankAccountInformation" Type="bankAccountInformation" ContainsTarget="true"/>
57+
<NavigationProperty Name="bankAccountDetail" Type="bankAccountDetail" ContainsTarget="true"/>
5858
</EntityType>
5959
```
6060

6161
#### Option 2: Contain the new type in an entity set elsewhere, and add a navigation property to the new type on the existing type.
6262

6363
Define the new entity type:
6464
```xml
65-
<EntityType name="bankAccountInformation">
65+
<EntityType name="bankAccountDetail">
6666
<Property Name="accountNumber" Type="Edm.string"/>
6767
<Property Name="routingNumber" Type="Edm.string"/>
6868
</EntityType>
6969
```
7070

7171
Contain the new entity type in an entity set or singleton:
7272
```xml
73-
<EntitySet Name="bankAccountInformations" EntityType="bankAccountInformation">
73+
<EntitySet Name="bankAccountDetails" EntityType="bankAccountDetail">
7474
```
7575

7676
Add a navigation from user to the new type:
7777
```xml
7878
<EntityType name="user">
79-
<NavigationProperty Name="bankAccountInformation" Type="bankAccountInformation" />
79+
<NavigationProperty Name="bankAccountDetail" Type="bankAccountDetail" />
8080
</EntityType>
8181
```
8282

8383
#### Option 3: Contain the new type in an entity set elsewhere, and add a navigation property to the existing type on the new type.
8484

8585
Define the new entity type, with a navigation to the user:
8686
```xml
87-
<EntityType name="bankAccountInformation">
87+
<EntityType name="bankAccountDetail">
8888
<Property Name="accountNumber" Type="Edm.string"/>
8989
<Property Name="routingNumber" Type="Edm.string"/>
9090
<NavigationProperty Name="user" Type="microsoft.graph.user" />

0 commit comments

Comments
 (0)