Find a person's projects
context.Set<PersonNode>()
.Where(x => x.Id == personId)
.Outgoing<WorksOnEdge, ProjectNode>()Run example →Each example opens directly in the GORM playground. Change the query, inspect the graph anatomy and compare the resulting SQL Server Graph shape.
The browser Playground offers editable, illustrative SQL shapes. For actual GORM translation and execution, run the NuGet-only cookbook. It executes real GORM queries and validates the results on every pull request. See database test coverage.
context.Set<PersonNode>()
.Where(x => x.Id == personId)
.Outgoing<WorksOnEdge, ProjectNode>()Run example →context.Set<ServiceNode>()
.Where(x => x.Id == databaseId)
.Incoming<DependsOnEdge, ServiceNode>()Run example →context.Set<ServiceNode>()
.Where(x => x.Id == gatewayId)
.Outgoing<RoutesToEdge, ServiceNode>()
.Outgoing<DependsOnEdge, DatabaseNode>()Run example →context.Set<ServiceNode>()
.Where(x => x.State == ServiceState.Active)
.OrderBy(x => x.Name)
.Skip(20)
.Take(25)Run example →context.Set<ServiceNode>()
.AsOf(incidentStartedAt)
.Where(x => x.Name == serviceName)Run example →context.Set<PersonNode>()
.Include(x => x.Projects)
.SingleAsync(x => x.Id == personId)Run example →The playground can now preserve the complete editor query in the URL. Start with a preset, modify it, press Share query, and the copied link reopens the exact query instead of only the original preset.