MeshWeaver.Domain
2.0.3
See the version list below for details.
dotnet add package MeshWeaver.Domain --version 2.0.3
NuGet\Install-Package MeshWeaver.Domain -Version 2.0.3
<PackageReference Include="MeshWeaver.Domain" Version="2.0.3" />
<PackageVersion Include="MeshWeaver.Domain" Version="2.0.3" />
<PackageReference Include="MeshWeaver.Domain" />
paket add MeshWeaver.Domain --version 2.0.3
#r "nuget: MeshWeaver.Domain, 2.0.3"
#addin nuget:?package=MeshWeaver.Domain&version=2.0.3
#tool nuget:?package=MeshWeaver.Domain&version=2.0.3
MeshWeaver.Domain
MeshWeaver.Domain defines the core data types and entities that serve as the foundation for the MeshWeaver data ecosystem. This library provides the domain model definitions that are used by the Data module for data management and processing.
Overview
The library provides:
- Core domain entity definitions
- Data type contracts
- Base classes for extensible data types
- Validation rules and constraints
Usage
Domain types are used throughout the MeshWeaver ecosystem, particularly in the Data module. Here's a basic example:
// Define a domain entity
public record LineOfBusiness(string SystemName, string DisplayName);
// Use in Data module for reference data
services.AddData(data =>
data.AddSource(ds =>
ds.WithType<LineOfBusiness>(t =>
t.WithInitialData(initialData)
)
)
);
Integration
With Data Module
The Domain types are automatically integrated when using the Data module:
services.AddMessageHub(hub => hub
.ConfigureServices(services => services
.AddData() // Automatically registers domain types
)
);
For more detailed examples of how these domain types are used in practice, refer to:
- MeshWeaver.Data - Core data processing
- MeshWeaver.Import - Data import functionality
Related Projects
- MeshWeaver.Data - Uses domain types for data management
- MeshWeaver.Import - Uses domain types for data import
- MeshWeaver.Hierarchies - Uses domain types for hierarchical structures
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net9.0
- No dependencies.
NuGet packages (5)
Showing the top 5 NuGet packages that depend on MeshWeaver.Domain:
Package | Downloads |
---|---|
MeshWeaver.Messaging.Hub
Package Description |
|
MeshWeaver.Data
Package Description |
|
MeshWeaver.Arithmetics
Package Description |
|
MeshWeaver.Application.Styles
Package Description |
|
MeshWeaver.DataCubes
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.1.0 | 266 | 7 days ago |
2.0.3 | 591 | 20 days ago |
2.0.2 | 566 | 20 days ago |
2.0.1 | 224 | 24 days ago |
2.0.0 | 261 | 25 days ago |
2.0.0-preview3 | 205 | 2 months ago |
2.0.0-Preview2 | 250 | 2 months ago |
2.0.0-preview1 | 252 | 3 months ago |
1.0.1 | 283 | 6 months ago |
1.0.0 | 268 | 6 months ago |