Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI
1.0.2
Prefix Reserved
dotnet add package Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI --version 1.0.2
NuGet\Install-Package Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI -Version 1.0.2
<PackageReference Include="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI" Version="1.0.2" />
<PackageVersion Include="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI" Version="1.0.2" />
<PackageReference Include="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI" />
paket add Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI --version 1.0.2
#r "nuget: Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI, 1.0.2"
#:package Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI@1.0.2
#addin nuget:?package=Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI&version=1.0.2
#tool nuget:?package=Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI&version=1.0.2
Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI
Project Type: NuGet Project
Size: XS
Summary
Provides GqiExtensions.GetCostAndBillingHelper extension methods for GQIDMS and OnInitInputArgs, giving GQI ad hoc data sources a one-line way to obtain an ICostAndBillingHelper and interact with the Cost & Billing repositories (rate cards, contracts, billable items, and more) from their OnInit lifecycle method.
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.
Use the GetCostAndBillingHelper extension method on the GQIDMS instance, or directly on the OnInitInputArgs provided in your GQI data source, to get an ICostAndBillingHelper and interact with the Cost & Billing repositories.
Read all cost rate cards from OnInit:
public class MyDataSource : IGQIDataSource, IGQIOnInit
{
private ICostAndBillingHelper _helper;
public OnInitOutputArgs OnInit(OnInitInputArgs args)
{
_helper = args.GetCostAndBillingHelper();
return new OnInitOutputArgs();
}
}
Read all cost rate cards using the GQIDMS:
ICostAndBillingHelper helper = dms.GetCostAndBillingHelper();
List<CostRatecard> ratecards = helper.CostRatecard.Read().ToList();
Read a single value unit by identifier:
ValueUnit valueUnit = helper.ValueUnit.Read(Guid.Parse("value-unit-id"));
For more details, refer to the full documentation.
Assembly
Assembly Name: Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI
Public API
GqiExtensions.GetCostAndBillingHelper(this GQIDMS)— creates anICostAndBillingHelperfor the givenGQIDMSconnection.GqiExtensions.GetCostAndBillingHelper(this OnInitInputArgs)— convenience overload that reads theGQIDMSoff theOnInitinput arguments.
For unit testing, mock the public ICostAndBillingHelper interface directly (e.g. with Moq).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- Skyline.DataMiner.Dev.Common (>= 10.6.0.1)
- Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Common (>= 1.0.2)
- Skyline.DataMiner.Files.SLAnalyticsTypes (>= 10.6.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.2 | 121 | 9/2/2026 |
| 1.0.1 | 106 | 9/1/2026 |
| 1.0.1-prerelease5 | 92 | 8/31/2026 |