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
                    
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.GQI" 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.GQI" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI" />
                    
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.GQI --version 1.0.2
                    
#r "nuget: Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI, 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.GQI@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.GQI&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.GQI&version=1.0.2
                    
Install as a Cake Tool

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 an ICostAndBillingHelper for the given GQIDMS connection.
  • GqiExtensions.GetCostAndBillingHelper(this OnInitInputArgs) — convenience overload that reads the GQIDMS off the OnInit input arguments.

For unit testing, mock the public ICostAndBillingHelper interface directly (e.g. with Moq).

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

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