ForgeFusion.Core.Data.Products 1.1.1-beta

This is a prerelease version of ForgeFusion.Core.Data.Products.
dotnet add package ForgeFusion.Core.Data.Products --version 1.1.1-beta
                    
NuGet\Install-Package ForgeFusion.Core.Data.Products -Version 1.1.1-beta
                    
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="ForgeFusion.Core.Data.Products" Version="1.1.1-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ForgeFusion.Core.Data.Products" Version="1.1.1-beta" />
                    
Directory.Packages.props
<PackageReference Include="ForgeFusion.Core.Data.Products" />
                    
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 ForgeFusion.Core.Data.Products --version 1.1.1-beta
                    
#r "nuget: ForgeFusion.Core.Data.Products, 1.1.1-beta"
                    
#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 ForgeFusion.Core.Data.Products@1.1.1-beta
                    
#: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=ForgeFusion.Core.Data.Products&version=1.1.1-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=ForgeFusion.Core.Data.Products&version=1.1.1-beta&prerelease
                    
Install as a Cake Tool

ForgeFusion Products Library

Overview

The ForgeFusion.Core.Data.Products library provides a comprehensive set of models and logic for managing product catalogs, variants, offers, and discounts within the ForgeFusion ecosystem. It is a core part of the Datastores layer and is designed to support complex product management, pricing, and promotional scenarios.


✨ Features

  • Product Catalog Models: Core entities for products, product variants, and catalogues.
  • Offer and Discount Management: Models for offers, discounts, and pricing strategies.
  • Variant Support: Support for product variants, themes, and attributes.
  • Integration with Traders and Accounts: Direct references to trader entities (e.g., merchants, suppliers) and account/tenant entities for seamless business logic integration.
  • Extensible Base Types: All product entities inherit from common base types, supporting features like soft deletion, auditing, and multi-tenancy.
  • Serialization and Data Annotations: Uses attributes for JSON serialization and data validation, ensuring robust API and data layer integration.

Key Entities

  • Product: Represents a core product in the catalog.
  • ProductVariant: Represents a specific variant of a product (e.g., size, color).
  • Catalogue: Represents a collection of products offered by a merchant or supplier.
  • BaseOfferModel: Represents an offer or discount applied to products or catalogues.

Example Relationships

  • A Product can have multiple ProductVariants.
  • A Catalogue can contain multiple Products and be associated with a merchant or supplier.
  • Offers can be applied to products, variants, or entire catalogues.

Integration

  • Depends on:
    • ForgeFusion.Core.Data.Common (base models, interfaces)
    • ForgeFusion.Entities.Core.Account (tenant, user references)
    • ForgeFusion.Core.Data.Entities.Traders (merchant, supplier references)
  • Used by:
    • Inventory, Financials, Storage, and other domain libraries for product-related logic.

Installation

Install via NuGet: dotnet add package ForgeFusion.Core.Data.Products

Guidance for Contributors

  • Add new product types, variants, or offer models by extending the base product entities.
  • Use data annotations and JSON attributes for all new models.
  • Integrate with traders and accounts for end-to-end business scenarios.

Example Usage

var product = new Product {
    Name = "Premium Coffee",
    Variants = new List<ProductVariant> { /* ... */ }
};

For more details, see the ForgeFusion documentation or explore the source code for entity definitions and relationships.

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.  net10.0 was computed.  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.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on ForgeFusion.Core.Data.Products:

Package Downloads
ForgeFusion.Core.Data.Entities.Traders

Provides a robust and secure data abstraction layer for .NET applications. Part of the ForgeFusion Community app framework.

ForgeFusion.Core.Data.Transactions

Provides a robust and secure data abstraction layer for .NET applications. Part of the ForgeFusion Community app framework.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.1-beta 150 6/29/2025
1.1.0-beta 150 4/26/2025