SQLTableInfo 10.2.1.1
dotnet add package SQLTableInfo --version 10.2.1.1
NuGet\Install-Package SQLTableInfo -Version 10.2.1.1
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="SQLTableInfo" Version="10.2.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SQLTableInfo --version 10.2.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SQLTableInfo, 10.2.1.1"
#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.
// Install SQLTableInfo as a Cake Addin #addin nuget:?package=SQLTableInfo&version=10.2.1.1 // Install SQLTableInfo as a Cake Tool #tool nuget:?package=SQLTableInfo&version=10.2.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
PeriodDataTable
Methods:
//Adds new row
public SQLTableInfo.Common.Result Add(SQLTableInfo.Common.PeriodDataTableRow NewItem)
//Clears DataTable
public void Clear()
//Gets DataTable object
public DataTable Get()
//Gets count of rows
public int Count()
Examples:
SQLTableInfo.PeriodData Period = new SQLTableInfo.PeriodData();
int pn = 0;
private void Button_Click(object sender, RoutedEventArgs e)
{
pn += 1;
SQLTableInfo.Common.PeriodDataTableRow NewRow = new SQLTableInfo.Common.PeriodDataTableRow();
NewRow.TimestampUTC = DateTime.UtcNow;
NewRow.TimestampLT = DateTime.Now;
NewRow.Namespace = "N" + pn.ToString();
NewRow.SourceName = "S" + pn.ToString();
NewRow.Classification = "C" + pn.ToString();
NewRow.QuantityName = "QN" + pn.ToString();
NewRow.QuantityTypeName = "QT" + pn.ToString();
NewRow.Unit = "U" + pn.ToString();
NewRow.Value = Convert.ToDouble(pn);
NewRow.Calculated = false;
var res = Period.Add(NewRow);
}
private void Button_Click_1(object sender, RoutedEventArgs e)
{
var res = Period.Get();
var num = res.Rows.Count;
}
private void Button_Click_2(object sender, RoutedEventArgs e)
{
Period.Clear();
}
DiffDataTable
Methods:
//Adds new row
public SQLTableInfo.Common.Result Add(SQLTableInfo.Common.DiffDataTableRow NewItem)
//Clears DataTable
public void Clear()
//Gets DataTable object
public DataTable Get()
//Gets count of rows
public int Count()
Examples:
SQLTableInfo.DiffData Diff = new SQLTableInfo.DiffData();
int dn = 0;
private void Button_Click_3(object sender, RoutedEventArgs e)
{
dn += 1;
SQLTableInfo.Common.DiffDataTableRow NewRow = new SQLTableInfo.Common.DiffDataTableRow();
NewRow.TimestampUTC = DateTime.UtcNow;
NewRow.TimestampLT = DateTime.Now;
NewRow.Namespace = "N" + dn.ToString();
NewRow.SourceName = "S" + dn.ToString();
NewRow.Classification = "C" + dn.ToString();
NewRow.QuantityName = "QN" + dn.ToString();
NewRow.QuantityTypeName = "QT" + dn.ToString();
NewRow.Unit = "U" + dn.ToString();
NewRow.Value = Convert.ToDouble(dn);
NewRow.ChangePercent = Convert.ToDouble(dn+10);
NewRow.TolerancePercentage = Convert.ToDouble(dn+20);
var res = Diff.Add(NewRow);
}
private void Button_Click_4(object sender, RoutedEventArgs e)
{
var res = Diff.Get();
var num = res.Rows.Count;
}
private void Button_Click_5(object sender, RoutedEventArgs e)
{
Diff.Clear();
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
Universal Windows Platform | uap was computed. uap10.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.