Created
July 9, 2020 16:39
-
-
Save wtrocki/0493510a85d1b65d12f3bfaf48d5629c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$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