Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common 1.0.2

Prefix Reserved
dotnet add package Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common --version 1.0.2
                    
NuGet\Install-Package Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common -Version 1.0.2
                    
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="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common" />
                    
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 Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common --version 1.0.2
                    
#r "nuget: Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common, 1.0.2"
                    
#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 Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common@1.0.2
                    
#: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=Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common&version=1.0.2
                    
Install as a Cake Tool

Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common

Project Type: NuGet Project

Size: XL

Summary

Provides the core models and repositories for reading and writing DataMiner Cost & Billing DOM data — rate cards (cost and billing), contracts, contract-rate card assignments, billable items, billable events, groups, nodes, items, value units, app data, and errors. Every repository implements the shared IRepository<T> contract, exposing Read(), Read(Guid), Count(), Delete(Guid), ReadPaged(), Create, Update, and bulk equivalents through the ICostAndBillingHelper entry point. It is consumed indirectly by the Automation, GQI, and Protocol packages, and is typically not referenced directly by solution developers.

Getting Started

Prerequisites: A running DataMiner 10.6.4+ system with the SDM Registration package installed. The Cost & Billing Solution itself is installed together with this library, so there is no separate installation step for it.

The ICostAndBillingHelper exposes a repository per entity (rate cards, contracts, billable items, etc.). Every repository implements the shared IRepository<T> contract, giving you Read(), Read(Guid), Count(), Delete(Guid), ReadPaged(), Create, Update and bulk equivalents out of the box.

Read all cost ratecards:

ICostAndBillingHelper helper = connection.GetCostAndBillingHelper();

List<CostRatecard> ratecards = helper.CostRatecard.Read().ToList();

Read a single ratecard by identifier:

CostRatecard ratecard = helper.CostRatecard.Read(Guid.Parse("ratecard-id"));

Create and update entities:

var ratecard = new CostRatecard
{
    Name = "My Ratecard",
};

helper.CostRatecard.Create(ratecard);

ratecard.Name = "My Updated Ratecard";
helper.CostRatecard.Update(ratecard);

Delete an entity:

helper.CostRatecard.Delete(Guid.Parse("ratecard-id"));

Assembly

Assembly Name: Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common

Public API

  • ICostAndBillingHelper — the main entry point, exposing one repository per entity: CostRatecard, BillRatecard, ValueUnit, Contract, AppData, Item, Group, ContractRatecardAssignment, BillableEvent, Node, BillableItem, and Error, plus IsInstalled() to verify that the Cost & Billing Solution is registered on the DataMiner System.
  • ConnectionExtensions.GetCostAndBillingHelper(this IConnection) — creates an ICostAndBillingHelper for a given IConnection. For unit testing, mock the public ICostAndBillingHelper interface directly (e.g. with Moq).
  • Repository interfaces (Repositories/), one per entity — ICostRatecardRepository, IBillRatecardRepository, IValueUnitRepository, IContractRepository, IAppDataRepository, IItemRepository, IGroupRepository, IContractRatecardAssignmentRepository, IBillableEventRepository, INodeRepository, IBillableItemRepository, IErrorRepository — all extending the shared IRepository<T> contract (Read(), Read(Guid), Count(), Delete(Guid), ReadPaged(), Create, Update, and bulk equivalents).
  • Models (Models/) — the entity classes returned/consumed by the repositories, e.g. CostRatecard, BillRatecard, Rate, RateUnit, Contract, BillingType, BillableEvent, BillableItem, ValueUnit, Group, Item, Node, AppData, ContractRatecardAssignment, Error, plus their associated status/state enums (e.g. BillableEventStatus, GroupStates, ItemStates, GeneralState).
  • CostRatecardExposers / BillRatecardExposers (Exposers/) — field exposers used to build DOM filters/queries against ratecard fields.
Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common:

Package Downloads
Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation

This project allows SLAutomation to use the Cost And Billing Dev Pack.

Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI

This project allows GQIDMS to use the Cost And Billing Dev Pack.

Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Protocol

NuGet Package for Protocols to interact with Cost and Billing

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 170 9/2/2026
1.0.1 138 9/1/2026
1.0.1-prerelease5 114 8/31/2026