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
<PackageReference Include="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common" Version="1.0.2" />
<PackageVersion Include="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common" Version="1.0.2" />
<PackageReference Include="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common" />
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"
#:package Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common@1.0.2
#addin nuget:?package=Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common&version=1.0.2
#tool nuget:?package=Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common&version=1.0.2
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, andError, plusIsInstalled()to verify that the Cost & Billing Solution is registered on the DataMiner System.ConnectionExtensions.GetCostAndBillingHelper(this IConnection)— creates anICostAndBillingHelperfor a givenIConnection. For unit testing, mock the publicICostAndBillingHelperinterface 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 sharedIRepository<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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- Newtonsoft.Json (>= 13.0.4)
- Skyline.DataMiner.SDM (>= 1.0.1)
- Skyline.DataMiner.SDM.Registration.Common (>= 2.0.5)
- Skyline.DataMiner.Utils.DOM (>= 10.5.2.8)
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 |