NodeBase graph entity for domain objects that participate as SQL Server Graph nodes.
Documented convention:Id is identity.This page describes the public GORM .NET 10 preview's core API. Verify full signatures and constraints against the source and the published package; this hand-written overview is not a complete generated API reference.
Core types and operators below are available in the current source; the exact API contracts are defined by the NuGet assembly. Advanced capabilities remain experimental until their contracts are tested and documented.
The GORM cookbook runs against the exact published 3.1.0-preview.1 package—not a source project. Each example asserts its result and executes in every pull request. Covered here: filtering/order/paging/count, directed traversal, eager navigation loading, two-hop traversal and actual Explain() output.
See the provider compatibility matrix before assuming these in-memory cases are verified on SQL Server. The five SQL Server Testcontainers tests provide a separate, narrower set of live-database evidence.
ACTUAL TEST EVIDENCEVerified vs. not yet testedSee exactly which operations have live SQL Server and public-package verification.
NodeBase graph entity for domain objects that participate as SQL Server Graph nodes.
Documented convention:Id is identity.EdgeBase graph entity for typed directed relationships between nodes.
Relationship types may carry their own properties.GraphSet<TNode>Typed LINQ query surface for a configured node type.
Refer to the current NuGet assembly and source for exact generic constraints.Set<TNode>()context.Set<ServiceNode>()Starts a typed node-root query. Standard LINQ expressions can filter, project, order, page and aggregate before graph-specific operations are applied.
Outgoing<TEdge, TTarget>()context.Set<ServiceNode>()
.Outgoing<DependsOnEdge, ServiceNode>()Moves from the current node query to connected target nodes through an outgoing typed relationship.
Incoming<TEdge, TSource>()context.Set<ServiceNode>()
.Incoming<DependsOnEdge, ServiceNode>()Moves from the current target nodes to connected source nodes through an incoming typed relationship.
Include(...) and ThenInclude(...)context.Set<PersonNode>()
.Include(x => x.Projects)Requests relationship-aware materialization of navigation properties. Use this when the connected object graph is the desired result shape rather than a path-oriented traversal.
WhereId(...) / WhereIds(...)Documented convenience filters for node identity lookups and identity sets.
var service = await context.Set<ServiceNode>()
.WhereId(serviceId)
.SingleAsync();Where(...)Filter node or traversal results.Select(...)Project query results.OrderBy(...)Apply deterministic ordering.Skip(...) / Take(...)Bound or page query results.AggregatesExecute supported aggregate operations through the provider.AsOf(...), Current() and history rangesAsOf(...)Queries graph state at a point in time.
Current()Restricts a temporal-capable graph query to current state.
Range queriesInspect graph history over a period for history, diff and incident scenarios.
ToListAsync()Materialize a sequence.SingleAsync()Require a single result.FirstAsync()Materialize the first result where supported.CountAsync()Execute a count aggregate where supported.Production persistence semantics: graph tables, MATCH translation, temporal behavior and provider-specific database behavior.
Fast deterministic execution for unit tests and BDD scenarios using the same graph model, without claiming provider equivalence.
The GORM source contains Graph Intelligence, Digital Twin, GraphRAG, Helix and ChangeSet capabilities. Their responsibilities are documented, but the precise available APIs must be confirmed against the preview NuGet assembly before usage.
CAPABILITY DOCUMENTATIONExplore the advanced graph runtimeUnderstand the intent, responsibility boundary and publication status of each advanced capability.
The getting-started console sample is compiled and executed against the published NuGet package on every pull request. Automatic full-surface API reference generation and real-translator browser Playground checks remain future milestones; this page links to executable evidence for the core surface.