
This example illustrates how the BPM OData Service generates a name for the anonymous complex type.
<complexType name="customer"> <sequence> <element name="name" type="string"></element> <element name="address"> <complexType> <sequence> <element name="street" type="string"></element> </sequence> </complexType> </element> </sequence> </complexType>
<EntityType Name="customer"> <Key><PropertyRef Name="EDM_Key"/></Key> <Property Name="EDM_Key" Type="Edm.String" Nullable="false"/> <Property Name="name" Type="Edm.String" Nullable="true"/> <NavigationProperty Name="address" Relationship="BPMTaskData.customer_customer::address" FromRole="customer" ToRole="customer::address"/> </EntityType> <!-- address --> <EntityType Name="customer::address"> <Key><PropertyRef Name="EDM_Key"/></Key> <Property Name="EDM_Key" Type="Edm.String" Nullable="false"/> <Property Name="street" Type="Edm.String" Nullable="true"/> </EntityType> <Association Name="customer_customer::address"> <End Type="BPMTaskData.customer" Multiplicity="1" Role="customer"/> <End Type="BPMTaskData.customer::address" Multiplicity="1" Role="customer::address"/> </Association>