Skip to content

Instantly share code, notes, and snippets.

@ranhsd
Created September 28, 2017 04:55
Show Gist options
  • Save ranhsd/1f200e83cdfc4dfcae9c654d1e092317 to your computer and use it in GitHub Desktop.
Save ranhsd/1f200e83cdfc4dfcae9c654d1e092317 to your computer and use it in GitHub Desktop.
<?xml version='1.0' encoding='UTF-8'?>
<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="todo">
<EntityType Name="Task">
<Key>
<PropertyRef Name="id"/>
</Key>
<Property Name="id" Type="Edm.String" Nullable="false" MaxLength="10"/>
<Property Name="title" Type="Edm.String" Nullable="false" MaxLength="100"/>
<Property Name="note" Type="Edm.String" MaxLength="250"/>
<Property Name="status" Type="Edm.Int16"/>
</EntityType>
<EntityType Name="SubTask">
<Key>
<PropertyRef Name="id"/>
</Key>
<Property Name="id" Type="Edm.String" Nullable="false" MaxLength="10"/>
<Property Name="taskId" Type="Edm.String" Nullable="false" MaxLength="10"/>
<Property Name="content" Type="Edm.String" Nullable="false" MaxLength="250"/>
<Property Name="status" Type="Edm.Int16"/>
</EntityType>
<EntityContainer Name="EntityContainer_16ED33654DD94D7FA71D8CBCD0F62216">
<EntitySet Name="Task" EntityType="todo.Task"></EntitySet>
<EntitySet Name="SubTask" EntityType="todo.SubTask"></EntitySet>
</EntityContainer>
</Schema>
</edmx:DataServices>
</edmx:Edmx>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment