Primo.Database.SqlServer.Core
1.0.2
dotnet add package Primo.Database.SqlServer.Core --version 1.0.2
NuGet\Install-Package Primo.Database.SqlServer.Core -Version 1.0.2
<PackageReference Include="Primo.Database.SqlServer.Core" Version="1.0.2" />
<PackageVersion Include="Primo.Database.SqlServer.Core" Version="1.0.2" />
<PackageReference Include="Primo.Database.SqlServer.Core" />
paket add Primo.Database.SqlServer.Core --version 1.0.2
#r "nuget: Primo.Database.SqlServer.Core, 1.0.2"
#:package Primo.Database.SqlServer.Core@1.0.2
#addin nuget:?package=Primo.Database.SqlServer.Core&version=1.0.2
#tool nuget:?package=Primo.Database.SqlServer.Core&version=1.0.2
About
The package contains elements of interaction with MS SQL Server database for designing (both UI and coded) automation programs in Primo RPA studio, and then executing them by the Primo RPA robot.
How to Use
In Primo RPA studio, create a project that will be executed by Primo RPA robot. Install this package via the ".Dependencies → Manage Dependencies" menu; the "Detabase → SQL Server" node with package elements will appear in Elements tree .
There are four elements in the package: "Connect (SQL Server)", "Execute Query (SQL Server)", "Insert (SQL Server)", "Disconnect DB (SAP HANA)". "Connect (SQL Server)" is the main one, because it is not possible to interact with any DB without connecting. It is highly recommended to use the "Disconnect DB (SQL Server)" element after interacting with the database to free up external resources.
In pure code projects use the "Connect (SQL Server)" element as follows:
//wf: [LTools.Common.Model.WorkflowData] parent algorithm link
//db - Connection string: [String] Database connection string (SERVER=<hostname>:<port>; DATABASE=<database name>; UID=<username>;PWD=<password>)
Primo.Database.SqlServer.DatabaseApp app = Primo.Database.SqlServer.DatabaseApp.Init(wf, db);
Pure code for "Insert (SQL Server)" element:
//app - [Primo.Database.SqlServer.DatabaseApp] DB application
//query - Table: [String] Table name
//data - Data: [System.Data.DataTable] Data to insert
//timeOut - Time-out: [Int32] Query time-out
//res - Records: [Int32] Affected records
int res = app.Insert(query, data, [timeOut]);
Key Features
- User-friendly, intuitive interface
- High performance
- Supports .NET 8+
Main Types
- Primo.Database.SqlServer.DatabaseInst
- Primo.Database.SqlServer.DatabaseApp
- Primo.Database.SqlServer.Elements.WFConnectDatabase
- Primo.Database.SqlServer.Elements.WFExecuteQuery
- Primo.Database.SqlServer.Elements.WFInsert
- Primo.Database.SqlServer.Elements.WFDisconnectDatabase
Feedback
Bug reports and contributions are welcome at Primo RPA chat
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
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.
Version | Downloads | Last Updated |
---|---|---|
1.0.2 | 164 | 4/9/2025 |