MeshWeaver.Domain 2.0.3

There is a newer version of this package available.
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
                    
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="MeshWeaver.Domain" Version="2.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MeshWeaver.Domain" Version="2.0.3" />
                    
Directory.Packages.props
<PackageReference Include="MeshWeaver.Domain" />
                    
Project file
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 MeshWeaver.Domain --version 2.0.3
                    
#r "nuget: MeshWeaver.Domain, 2.0.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.
#addin nuget:?package=MeshWeaver.Domain&version=2.0.3
                    
Install MeshWeaver.Domain as a Cake Addin
#tool nuget:?package=MeshWeaver.Domain&version=2.0.3
                    
Install MeshWeaver.Domain as a Cake Tool

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 - Uses domain types for data management
  • MeshWeaver.Import - Uses domain types for data import
  • MeshWeaver.Hierarchies - Uses domain types for hierarchical structures
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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