MongOData
MongOData copied to clipboard
Customise the EntityContainer
Hi, is it possible to customise the EntityContainer? For example,
<EntityType Name="scatterless">
<Key>
<PropertyRef Name="db_id"/>
</Key>
<Property Name="db_id" Type="Edm.String" Nullable="false"/>
<Property Name="dataName" Type="Edm.String"/>
<Property Name="dataValue" Type="Collection(Mongo.scatterless__dataValue)" Nullable="false"/>
</EntityType>
<ComplexType Name="scatterless__dataValue">
<Property Name="x" Type="Edm.Double"/>
<Property Name="y" Type="Edm.Double"/>
<Property Name="z" Type="Edm.Double"/>
</ComplexType>
<EntityContainer Name="MongoContext" m:IsDefaultEntityContainer="true">
<EntitySet Name="scatterless" EntityType="Mongo.scatterless"/>
</EntityContainer>
I would like to add the dataValue to be a EntitySet, like
<EntitySet Name="dataValue" EntityType="Mongo.scatterless__dataValue"/>
Would this be possible in the latest version?