Skip to content

Instantly share code, notes, and snippets.

@wtrocki
Created July 9, 2020 16:39
Show Gist options
  • Save wtrocki/0493510a85d1b65d12f3bfaf48d5629c to your computer and use it in GitHub Desktop.
Save wtrocki/0493510a85d1b65d12f3bfaf48d5629c to your computer and use it in GitHub Desktop.
{
"$Version": "4.0",
"Jetsons.Models": {
"company": {
"$Kind": "EntityType",
"$Key": [
"stockSymbol"
],
"stockSymbol": {},
"name": {
"$Nullable": true
},
"incorporated": {
"$Type": "Edm.DateTimeOffset",
"$Precision": 0
},
"employees": {
"$Kind": "NavigationProperty",
"$Collection": true,
"$Type": "Jetsons.Models.employee",
"$ContainsTarget": true
}
},
"employee": {
"$Kind": "EntityType",
"$Key": [
"id"
],
"id": {
"$Type": "Edm.Int32"
},
"firstName": {
"$Nullable": true
},
"lastName": {
"$Nullable": true
},
"title": {
"$Nullable": true
}
},
"youreFired": [
{
"$Kind": "Action",
"$IsBound": true,
"$Parameter": [
{
"$Name": "_it",
"$Type": "Jetsons.Models.employee"
},
{
"$Name": "reason",
"$Nullable": true
}
]
}
],
"topEmployees": [
{
"$Kind": "Function",
"$IsBound": true,
"$Parameter": [
{
"$Name": "_it",
"$Type": "Jetsons.Models.company"
},
{
"$Name": "startDate",
"$Type": "Edm.Date",
"$Nullable": true
}
],
"$ReturnType": {
"$Collection": true,
"$Type": "Jetsons.Models.employee"
}
}
],
"ResetDataSource": [
{
"$Kind": "Action"
}
],
"Container": {
"$Kind": "EntityContainer",
"competitors": {
"$Collection": true,
"$Type": "Jetsons.Models.company"
},
"company": {
"$Type": "Jetsons.Models.company"
},
"ResetDataSource": {
"$Action": "Jetsons.Models.ResetDataSource"
}
}
},
"$EntityContainer": "Jetsons.Models.Container"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment