Cohesive.Relations
0.1.0-alpha.3
This is a prerelease version of Cohesive.Relations.
dotnet add package Cohesive.Relations --version 0.1.0-alpha.3
NuGet\Install-Package Cohesive.Relations -Version 0.1.0-alpha.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cohesive.Relations" Version="0.1.0-alpha.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cohesive.Relations" Version="0.1.0-alpha.3" />
<PackageReference Include="Cohesive.Relations" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Cohesive.Relations --version 0.1.0-alpha.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cohesive.Relations, 0.1.0-alpha.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Cohesive.Relations@0.1.0-alpha.3
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Cohesive.Relations&version=0.1.0-alpha.3&prerelease
#tool nuget:?package=Cohesive.Relations&version=0.1.0-alpha.3&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Cohesive.Relations
Semantic relation, projection, mapping, hydration, query, and aggregation primitives.
Install
dotnet add package Cohesive.Relations
Use When
- You need relation definitions that can map, join, group, and materialize observations.
- You want object-to-observation mapping and observation-to-object projection without binding to a specific storage engine.
- You need query and aggregation plans that can be interpreted in-memory or compiled by storage adapters.
Example
using Cohesive.Relations.Authoring;
var relation = Relation<LoadSearchDocument>
.From<Load>()
.Join<Carrier>(static (load, carrier) => load.CarrierId == carrier.Id)
.Select(static (load, carrier) => new LoadSearchDocument
{
LoadId = load.Id,
CarrierName = carrier.LegalName,
Amount = load.TotalAmount,
CarrierSafetyScore = carrier.SafetyScore
});
Related Packages
Cohesive.Relations.Contractsfor generated relation contract surfaces.Cohesive.Storagefor repository adapters over observations.Cohesive.Adapters.CosmosandCohesive.Adapters.Elasticfor concrete query compilers.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Cohesive (>= 0.1.0-alpha.3)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Cohesive.Relations:
| Package | Downloads |
|---|---|
|
Cohesive.Transitions
Cohesive semantic system definition and orchestration building blocks. |
|
|
Cohesive.Processes
Cohesive semantic system definition and orchestration building blocks. |
|
|
Cohesive.Storage
Cohesive semantic system definition and orchestration building blocks. |
|
|
Cohesive.Adapters.Elastic
Cohesive semantic system definition and orchestration building blocks. |
|
|
Cohesive.Host
Cohesive semantic system definition and orchestration building blocks. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.3 | 46 | 7/8/2026 |
| 0.1.0-alpha.2 | 71 | 7/7/2026 |