![]() |
VOOZH | about |
This guide explains everything you need to work with the CData ADO.NET Provider for Paylocity. You will learn how to install the provider, set up a connection to your Paylocity data, and run simple commands in your .NET applications using familiar ADO.NET patterns.
Whether you are building desktop apps, web apps, or background services, the provider enables secure, high-performance connectivity to live Paylocity data without needing to manage API details manually.
Licensing behavior varies depending on whether you are developing with the .NET Framework or .NET Standard. Use the steps below to activate the provider in your environment.
On Windows using the .NET Framework, no extra action is required. The installer or NuGet package automatically installs your development license.
For .NET Standard platforms like .NET Core, Mono, or Xamarin, you must install a license manually before using the provider.
The toolkit includes an install-license utility in the
lib/netstandard2.0folder for applying trial or full licenses.
To install a trial license:
dotnet ./install-license.dll
To activate a full product license:
dotnet ./install-license.dll
After running the tool, your development machine is licensed and ready to use the provider in .NET applications.
When deploying applications, specify the Runtime Key (RTK) in your connection string to enable redistribution.
| Property | Description |
|---|---|
| RTK | Your Runtime Key used for deployed ADO.NET applications. |
Can I use my license on multiple machines?
Yes, depending on your subscription tier. If unsure, review your order confirmation or contact [email protected].
I lost my license key. How do I retrieve it?
Email [email protected] with your order number.
Can I transfer my license to another machine?
Submit a License Transfer Request:
https://www.cdata.com/lic/transfer/
Once approved, an activation is added to your product key and the previous installation becomes invalid.
For more licensing support, visit portal.cdata.com or email [email protected].
Once installed, the next step is to configure a connection to Paylocity. Connections are created using ADO.NET connection strings in your .NET application's code or configuration file.
Set the following to establish a connection to Paylocity:
This property is required for executing Insert and Update statements, and it is not required if the feature is disabled.
Paylocity will decrypt the AES key using RSA decryption.
It is an optional property if the IV value not provided, The driver will generate a key internally.
You must use OAuth to authenticate with Paylocity. OAuth requires the authenticating user to interact with Paylocity using the browser. For more information, refer to the OAuth section in the Help documentation.
The Pay Entry API is completely separate from the rest of the Paylocity API. It uses a separate Client ID and Secret, and must be explicitly requested from Paylocity for access to be granted for an account. The Pay Entry API allows you to automatically submit payroll information for individual employees, and little else. Due to the extremely limited nature of what is offered by the Pay Entry API, we have elected not to give it a separate schema, but it may be enabled via the UsePayEntryAPI connection property.
Please be aware that when setting UsePayEntryAPI to true, you may only use the CreatePayEntryImportBatch & MergePayEntryImportBatchgtable stored procedures, the
InputTimeEntry table, and the OAuth stored procedures. Attempts to use other features of the product will result in an error. You must also store your OAuthAccessToken
separately, which often means setting a different OAuthSettingsLocation when using this connection property.
๐ Add Connection
Solution: Verify OAuth settings, client IDs, secrets, or token permissions for your Paylocity. Contact [email protected] for assistance.
Solution: Check firewall, proxy, and VPN configurations. Contact [email protected] for required port information.
Solution: Confirm you selected the correct schema or database when querying Paylocity.
Now that you have installed, licensed, and configured the ADO.NET provider, here are scenarios you can use to explore our ADO.NET tools:
| ADO.NET Providers | Article Title |
|---|---|
| LINQPad | Working with Paylocity in LINQPad |
| Microsoft SSAS | Build an OLAP Cube in SSAS from Paylocity |
| TIBCO Spotfire | Visualize Paylocity in TIBCO Spotfire through ADO.NET |
| .NET Charts | DataBind Charts to Paylocity |
| DevExpress | DataBind Paylocity to the DevExpress Data Grid |
| EF - Code First | Access Paylocity with Entity Framework 6 |
| EF - LINQ | LINQ to Paylocity |
| EF - MVC | Build MVC Applications with Connectivity to Paylocity |
| PowerBuilder | Connect to Paylocity from PowerBuilder |
If you need assistance at any point:
Be prepared to securely upload the log file upon request when reaching out to [email protected] for troubleshooting analysis.
For questions not covered in this FAQ, contact [email protected].
Download a free trial of the Paylocity Data Provider to get started:
Download NowLearn more:
๐ Paylocity IconRapidly create and deploy powerful .NET applications that integrate with Paylocity.