How mat-docs/mat.ocs.sqlrace.examples works
This repository is a cookbook of SQL Race API examples, not the API implementation itself. Its principal workflow is to load or create a session, inspect/query it, and read or write time-series data; additional examples cover session management, live data, derived functions, and analysis. Complete projects demonstrate export, cropping, recording, and dashboards, while Python notebooks and the explorer support analysis. The graph reflects documented capabilities and the shown project calls; individual snippets are largely independent, so no unshown snippet-to-snippet flow is inferred.
Main entry points: BatchExporter/Program.cs Batch Exporter · LiveDashboard/Program.cs Live Dashboard · GettingStarted/Program.cs Core Demo · SessionFactory.cs Session Factory
Components 27
API Snippets
- Session Loading
snippets/csharp/getting-started/02-load-session-from-database.cs - Session Creation
snippets/csharp/getting-started/04-create-session-write-data.cs - Metadata Queries
snippets/csharp/getting-started/05-query-sessions-by-metadata.cs - Sample Reading
snippets/csharp/data-access/bulk-parameter-read.cs - Session Management
snippets/csharp/session-management/session-metadata-crud.cs - Composite Sessions
snippets/csharp/composite-sessions/append-multiple-sessions.cs - Live Data
snippets/csharp/live-data/poll-live-samples.cs - Derived Functions
snippets/csharp/functions/dotnet-function-with-pda.cs - Parameter Configuration
snippets/csharp/configuration/introspect-session-config.cs
Runnable Projects
- Batch Exporter
projects/csharp/BatchExporter/Program.cs - CSV Writer
projects/csharp/BatchExporter/CsvWriter.cs - Session Cropper
projects/csharp/SessionCropper/Program.cs - Live Dashboard
projects/csharp/LiveDashboard/Program.cs - Dashboard Renderer
projects/csharp/LiveDashboard/DashboardRenderer.cs - Recording Examples
projects/csharp/ServerListenerRecorder/Program.cs - Core Demo
projects/csharp/GettingStarted/Program.cs
Shared Core
- Runtime Bootstrap
projects/csharp/SqlRace.Examples.Core/SqlRaceBootstrapper.cs - Connection Resolver
projects/csharp/SqlRace.Examples.Core/ConnectionStringProvider.cs - Session Factory
projects/csharp/SqlRace.Examples.Core/SessionFactory.cs - Parameter Builder
projects/csharp/SqlRace.Examples.Core/ParameterBuilder.cs
Analysis Tools
- Python Examples
snippets/python/data-access/multi_parameter_extract.py - Session Explorer
projects/python/session_explorer/session_explorer.py - Notebook Helpers
notebooks/sqlrace_helpers.py
Other components
- Developer
- SQL Race API
- SQLite / SQL Server
- Telemetry Source
Connections 45
- Developer → Session Loading: loads session
- Developer → Session Creation: creates session
- Developer → Metadata Queries: queries sessions
- Developer → Sample Reading: reads samples
- Developer → Session Management: manages metadata
- Developer → Composite Sessions: combines sessions
- Developer → Live Data: reads live data
- Developer → Derived Functions: defines functions
- Developer → Parameter Configuration: inspects config
- Developer → Batch Exporter: exports data
- Developer → Session Cropper: crops session
projects/csharp/SessionCropper/Program.cs - Developer → Live Dashboard: views live data
projects/csharp/LiveDashboard/Program.cs - Telemetry Source → Recording Examples: supplies telemetry
projects/csharp/ServerListenerRecorder/Program.cs - Developer → Core Demo: runs demo
projects/csharp/GettingStarted/Program.cs - Developer → Python Examples: uses Python
- Developer → Session Explorer: explores sessions
- Developer → Notebook Helpers: analyzes data
- Batch Exporter → CSV Writer: writes CSV
projects/csharp/BatchExporter/Program.cs - Live Dashboard → Dashboard Renderer: renders display
projects/csharp/LiveDashboard/Program.cs - Core Demo → Parameter Builder: builds parameters
projects/csharp/GettingStarted/Program.cs - Recording Examples → Session Factory: creates session
projects/csharp/ServerListenerRecorder/Program.cs - Recording Examples → Parameter Builder: builds parameters
projects/csharp/ServerListenerRecorder/Program.cs - Batch Exporter → Connection Resolver: resolves connection
projects/csharp/BatchExporter/Program.cs - Batch Exporter → Runtime Bootstrap: initializes runtime
projects/csharp/BatchExporter/Program.cs - Live Dashboard → Connection Resolver: resolves connection
projects/csharp/LiveDashboard/Program.cs - Live Dashboard → Runtime Bootstrap: initializes runtime
projects/csharp/LiveDashboard/Program.cs - Session Cropper → Connection Resolver: resolves connection
projects/csharp/SessionCropper/Program.cs - Session Cropper → Runtime Bootstrap: initializes runtime
projects/csharp/SessionCropper/Program.cs - Core Demo → Session Factory: creates session
projects/csharp/GettingStarted/Program.cs - Core Demo → Parameter Builder: builds parameters
projects/csharp/GettingStarted/Program.cs - Session Factory → Connection Resolver: resolves connection
projects/csharp/SqlRace.Examples.Core/SessionFactory.cs - Session Factory → Runtime Bootstrap: initializes runtime
projects/csharp/SqlRace.Examples.Core/SessionFactory.cs - SQL Race API → SQLite / SQL Server: reads and writes
- Session Loading → SQL Race API: loads via
- Session Creation → SQL Race API: writes via
- Metadata Queries → SQL Race API: queries via
- Sample Reading → SQL Race API: reads via
- Session Management → SQL Race API: manages via
- Composite Sessions → SQL Race API: uses API
- Live Data → SQL Race API: uses API
- Derived Functions → SQL Race API: uses API
- Parameter Configuration → SQL Race API: uses API
- Python Examples → SQL Race API: uses API
- Session Explorer → SQL Race API: uses API
- Notebook Helpers → SQL Race API: uses API