Sankhya 3.0.320
See the version list below for details.
dotnet add package Sankhya --version 3.0.320
NuGet\Install-Package Sankhya -Version 3.0.320
<PackageReference Include="Sankhya" Version="3.0.320" />
paket add Sankhya --version 3.0.320
#r "nuget: Sankhya, 3.0.320"
// Install Sankhya as a Cake Addin #addin nuget:?package=Sankhya&version=3.0.320 // Install Sankhya as a Cake Tool #tool nuget:?package=Sankhya&version=3.0.320
Sankhya SDK
📊⚙️ Sankhya .NET SDK.
CI/CD
Build status | Last commit | Tests | Coverage | Code Smells | LoC |
---|---|---|---|---|---|
Code Quality
Installation
Github Releases
Download the latest zip file from the Release page.
Nuget package manager
Package | Version | Downloads |
---|---|---|
Sankhya |
Features
This SDK implements many of Sankhya's web services. Some of them are called Know Services. If the service you are looking for is not set in the SDK, you can implement the service request/response on your own (and use it on your code or submit a pull request to this repository).
There are also some Request Wrappers that allow you to make some requests in an easy way.
Known Services
Sankhya Wrapper
The last mile operations are done on this wrappers. All HTTP request/responses, login/logout, serialization, download/upload operations are defined on this class.
Avoid usage of this class directly from you implementation. Only call methods of this class if you are extending the usage of the SDK or even implementing a new feature for the SDK, otherwise, prefer using one of the request wrappers, or the Sankhya Context class.
Usage
Service registration (IoC / DI)
This SDK is based on CrispyWaffle toolkit, so you can use it's Service Locator feature to register it.
Assuming you are using Crispy Waffle, you can register the Sankhya wrapper in the Bootstrapper.cs file this way:
var connectionSankhya = new Connection(); //Fill in your details
ServiceLocator.Register(() => new SankhyaContext(connectionSankhya), LifeStyle.Singleton);
Later, when you need to access the Sankhya Context in you code, you can just pass it as constructor's argument or retrieve it from Service Locator
Constructor argument
public class MyClass {
private readonly SankhyaContext _sankhyaContext;
public MyClass(SankhyaContext sankyaContext) {
_sankhyaContext = sankhyaContext ?? throw new ArgumentNullException(nameof(sankhyaContext));
}
}
Retrieving manually
var sankhyaContext = ServiceLocator.Resolve<SankhyaContext>();
Know Services Wrapper
The KnowServicesRequestWrapper
is a static class that can be used anywhere, since SankhyaContext is registered through ServiceLocator.
Session management
You can use this to get all active sessions in Sankhya and kill one by one:
var sessions = KnowServicesRequestWrapper.GetSessions();
foreach (var session in sessions) {
KnowServicesRequestWrapper.KillSession(session.Id);
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- CrispyWaffle (>= 5.0.232)
- CrispyWaffle.Configuration (>= 5.0.232)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
.NETStandard 2.1
- CrispyWaffle (>= 5.0.232)
- CrispyWaffle.Configuration (>= 5.0.232)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
net6.0
- CrispyWaffle (>= 5.0.232)
- CrispyWaffle.Configuration (>= 5.0.232)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
net7.0
- CrispyWaffle (>= 5.0.232)
- CrispyWaffle.Configuration (>= 5.0.232)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
net8.0
- CrispyWaffle (>= 5.0.232)
- CrispyWaffle.Configuration (>= 5.0.232)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
- System.Text.RegularExpressions (>= 4.3.1)
- System.Threading.Tasks.Extensions (>= 4.5.4)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Sankhya:
Package | Downloads |
---|---|
EditoraInovacao.Sankhya.Entities
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.740 | 36 | 8/28/2024 |
3.0.734 | 35 | 8/28/2024 |
3.0.731 | 38 | 8/28/2024 |
3.0.722 | 32 | 8/27/2024 |
3.0.719 | 31 | 8/27/2024 |
3.0.707 | 45 | 8/27/2024 |
3.0.702 | 59 | 8/27/2024 |
3.0.694 | 67 | 8/26/2024 |
3.0.686 | 63 | 8/26/2024 |
3.0.680 | 165 | 8/26/2024 |
3.0.672 | 55 | 8/26/2024 |
3.0.656 | 73 | 8/24/2024 |
3.0.648 | 65 | 8/24/2024 |
3.0.640 | 563 | 8/19/2024 |
3.0.637 | 62 | 8/19/2024 |
3.0.634 | 60 | 8/19/2024 |
3.0.629 | 67 | 8/19/2024 |
3.0.620 | 72 | 8/12/2024 |
3.0.617 | 58 | 8/12/2024 |
3.0.612 | 57 | 8/12/2024 |
3.0.609 | 45 | 8/5/2024 |
3.0.606 | 30 | 8/5/2024 |
3.0.601 | 79 | 7/29/2024 |
3.0.598 | 61 | 7/29/2024 |
3.0.589 | 71 | 7/22/2024 |
3.0.586 | 67 | 7/22/2024 |
3.0.567 | 115 | 7/22/2024 |
3.0.564 | 67 | 7/20/2024 |
3.0.563 | 68 | 7/20/2024 |
3.0.559 | 70 | 7/20/2024 |
3.0.549 | 59 | 7/17/2024 |
3.0.545 | 55 | 7/17/2024 |
3.0.542 | 59 | 7/17/2024 |
3.0.539 | 58 | 7/16/2024 |
3.0.535 | 82 | 7/15/2024 |
3.0.530 | 65 | 7/15/2024 |
3.0.523 | 63 | 7/15/2024 |
3.0.514 | 58 | 7/12/2024 |
3.0.511 | 55 | 7/12/2024 |
3.0.506 | 58 | 7/12/2024 |
3.0.503 | 58 | 7/12/2024 |
3.0.500 | 42 | 7/12/2024 |
3.0.477 | 74 | 7/8/2024 |
3.0.470 | 108 | 7/3/2024 |
3.0.467 | 92 | 7/1/2024 |
3.0.464 | 81 | 7/1/2024 |
3.0.459 | 106 | 6/24/2024 |
3.0.456 | 99 | 6/17/2024 |
3.0.453 | 83 | 6/17/2024 |
3.0.448 | 100 | 6/10/2024 |
3.0.445 | 88 | 6/3/2024 |
3.0.442 | 75 | 6/3/2024 |
3.0.437 | 75 | 5/27/2024 |
3.0.434 | 98 | 5/27/2024 |
3.0.429 | 80 | 5/27/2024 |
3.0.422 | 80 | 5/27/2024 |
3.0.413 | 83 | 5/27/2024 |
3.0.402 | 101 | 5/20/2024 |
3.0.399 | 86 | 5/19/2024 |
3.0.393 | 66 | 5/13/2024 |
3.0.390 | 118 | 5/6/2024 |
3.0.387 | 95 | 4/30/2024 |
3.0.384 | 85 | 4/30/2024 |
3.0.380 | 97 | 4/30/2024 |
3.0.373 | 93 | 4/30/2024 |
3.0.364 | 95 | 4/30/2024 |
3.0.361 | 98 | 4/29/2024 |
3.0.348 | 85 | 4/22/2024 |
3.0.345 | 74 | 4/22/2024 |
3.0.340 | 110 | 4/22/2024 |
3.0.337 | 88 | 4/22/2024 |
3.0.328 | 108 | 4/15/2024 |
3.0.325 | 90 | 4/15/2024 |
3.0.320 | 86 | 4/15/2024 |
3.0.313 | 85 | 4/15/2024 |
3.0.304 | 115 | 4/8/2024 |
3.0.301 | 83 | 4/8/2024 |
3.0.296 | 83 | 4/8/2024 |
3.0.289 | 116 | 4/1/2024 |
3.0.286 | 82 | 4/1/2024 |
3.0.281 | 135 | 3/25/2024 |
3.0.278 | 87 | 3/25/2024 |
3.0.273 | 118 | 3/18/2024 |
3.0.270 | 107 | 3/18/2024 |
3.0.265 | 108 | 3/11/2024 |
3.0.262 | 96 | 3/11/2024 |
3.0.257 | 143 | 3/4/2024 |
3.0.254 | 108 | 2/26/2024 |
3.0.251 | 107 | 2/26/2024 |
3.0.246 | 92 | 2/26/2024 |
3.0.239 | 101 | 2/19/2024 |
3.0.236 | 80 | 2/19/2024 |
3.0.231 | 84 | 2/19/2024 |
3.0.224 | 88 | 2/19/2024 |
3.0.215 | 98 | 2/14/2024 |
3.0.210 | 106 | 2/12/2024 |
3.0.207 | 114 | 2/12/2024 |
3.0.204 | 98 | 2/12/2024 |
3.0.197 | 113 | 2/7/2024 |
3.0.188 | 88 | 2/6/2024 |
3.0.184 | 94 | 2/5/2024 |
3.0.178 | 95 | 1/30/2024 |
3.0.175 | 85 | 1/30/2024 |
3.0.170 | 82 | 1/29/2024 |
3.0.163 | 83 | 1/29/2024 |
3.0.156 | 99 | 1/29/2024 |
3.0.142 | 88 | 1/24/2024 |
3.0.139 | 87 | 1/24/2024 |
3.0.136 | 85 | 1/23/2024 |
3.0.129 | 83 | 1/23/2024 |
3.0.124 | 83 | 1/23/2024 |
3.0.117 | 87 | 1/22/2024 |
3.0.114 | 84 | 1/22/2024 |
3.0.107 | 113 | 1/22/2024 |
3.0.102 | 87 | 1/22/2024 |
3.0.97 | 87 | 1/22/2024 |
3.0.86 | 106 | 1/16/2024 |
3.0.83 | 101 | 1/16/2024 |
3.0.71 | 109 | 1/15/2024 |
3.0.62 | 122 | 1/8/2024 |
3.0.59 | 153 | 1/1/2024 |
3.0.56 | 129 | 12/25/2023 |
3.0.53 | 115 | 12/25/2023 |
3.0.48 | 106 | 12/25/2023 |
3.0.41 | 102 | 12/25/2023 |
3.0.32 | 835 | 12/18/2023 |
3.0.5 | 135 | 12/17/2023 |
2.0.773 | 122 | 12/14/2023 |
2.0.767 | 124 | 12/11/2023 |
2.0.764 | 96 | 12/11/2023 |
2.0.759 | 113 | 12/11/2023 |
2.0.752 | 137 | 12/11/2023 |
2.0.743 | 103 | 12/11/2023 |
2.0.732 | 117 | 12/11/2023 |
2.0.729 | 116 | 12/6/2023 |
2.0.724 | 148 | 12/4/2023 |
2.0.721 | 112 | 12/4/2023 |
2.0.716 | 117 | 12/4/2023 |
2.0.709 | 107 | 12/4/2023 |
2.0.698 | 107 | 11/27/2023 |
2.0.695 | 87 | 11/27/2023 |
2.0.690 | 835 | 11/21/2023 |
2.0.686 | 96 | 11/21/2023 |
2.0.681 | 98 | 11/20/2023 |
2.0.674 | 110 | 11/20/2023 |
2.0.665 | 198 | 11/14/2023 |
2.0.658 | 110 | 11/14/2023 |
2.0.653 | 81 | 11/14/2023 |
2.0.650 | 103 | 11/14/2023 |
2.0.643 | 103 | 11/14/2023 |
2.0.636 | 86 | 11/14/2023 |
2.0.623 | 84 | 11/13/2023 |
2.0.614 | 131 | 11/9/2023 |
2.0.606 | 107 | 11/6/2023 |
2.0.601 | 164 | 10/30/2023 |
2.0.598 | 112 | 10/30/2023 |
2.0.595 | 111 | 10/30/2023 |
2.0.590 | 132 | 10/26/2023 |
2.0.586 | 123 | 10/23/2023 |
2.0.583 | 109 | 10/23/2023 |
2.0.578 | 145 | 10/17/2023 |
2.0.575 | 121 | 10/17/2023 |
2.0.570 | 110 | 10/17/2023 |
2.0.563 | 115 | 10/16/2023 |
2.0.554 | 96 | 10/16/2023 |
2.0.543 | 124 | 10/16/2023 |
2.0.530 | 131 | 10/10/2023 |
2.0.526 | 99 | 10/10/2023 |
2.0.519 | 140 | 10/8/2023 |
2.0.512 | 96 | 10/8/2023 |
2.0.495 | 122 | 10/8/2023 |
2.0.486 | 124 | 10/8/2023 |
2.0.450 | 121 | 10/2/2023 |
2.0.447 | 119 | 10/2/2023 |
2.0.442 | 149 | 9/25/2023 |
2.0.439 | 122 | 9/25/2023 |
2.0.434 | 120 | 9/23/2023 |
2.0.431 | 99 | 9/19/2023 |
2.0.428 | 104 | 9/19/2023 |
2.0.419 | 154 | 9/16/2023 |
2.0.416 | 161 | 9/13/2023 |
2.0.413 | 118 | 9/12/2023 |
2.0.408 | 124 | 9/12/2023 |
2.0.401 | 117 | 9/12/2023 |
2.0.392 | 146 | 9/6/2023 |
2.0.387 | 247 | 9/4/2023 |
2.0.384 | 233 | 8/28/2023 |
2.0.381 | 127 | 8/28/2023 |
2.0.376 | 188 | 8/24/2023 |
2.0.373 | 361 | 8/14/2023 |
2.0.344 | 223 | 8/9/2023 |
2.0.337 | 154 | 8/9/2023 |
2.0.332 | 149 | 8/9/2023 |
2.0.325 | 335 | 7/29/2023 |
2.0.322 | 157 | 7/29/2023 |
2.0.315 | 121 | 7/29/2023 |
2.0.311 | 220 | 7/24/2023 |
2.0.308 | 150 | 7/24/2023 |
2.0.302 | 215 | 7/17/2023 |
2.0.299 | 141 | 7/17/2023 |
2.0.284 | 150 | 7/12/2023 |
2.0.272 | 251 | 7/10/2023 |
2.0.265 | 170 | 7/10/2023 |
2.0.256 | 264 | 7/3/2023 |
2.0.253 | 153 | 7/3/2023 |
2.0.248 | 163 | 7/3/2023 |
2.0.241 | 309 | 6/19/2023 |
2.0.238 | 150 | 6/19/2023 |
2.0.233 | 307 | 6/15/2023 |
2.0.230 | 197 | 6/15/2023 |
2.0.225 | 194 | 6/15/2023 |
2.0.218 | 243 | 6/6/2023 |
2.0.215 | 222 | 6/5/2023 |
2.0.210 | 151 | 6/5/2023 |
2.0.203 | 159 | 6/5/2023 |
2.0.191 | 469 | 5/22/2023 |
2.0.188 | 164 | 5/22/2023 |
2.0.183 | 272 | 5/15/2023 |
2.0.180 | 209 | 5/15/2023 |
2.0.175 | 278 | 5/8/2023 |
2.0.168 | 160 | 5/8/2023 |
2.0.163 | 396 | 5/4/2023 |
2.0.160 | 175 | 5/3/2023 |
2.0.155 | 413 | 4/10/2023 |
2.0.152 | 209 | 4/10/2023 |
2.0.147 | 201 | 4/9/2023 |
2.0.141 | 211 | 4/4/2023 |
2.0.136 | 367 | 4/3/2023 |
2.0.133 | 231 | 4/3/2023 |
2.0.128 | 321 | 3/27/2023 |
2.0.125 | 220 | 3/27/2023 |
2.0.122 | 267 | 3/27/2023 |
2.0.119 | 210 | 3/27/2023 |
2.0.111 | 245 | 3/26/2023 |
2.0.108 | 265 | 3/22/2023 |
2.0.103 | 252 | 3/21/2023 |
2.0.98 | 233 | 3/21/2023 |
2.0.91 | 348 | 3/5/2023 |
2.0.86 | 240 | 3/5/2023 |
2.0.82 | 248 | 3/5/2023 |
2.0.76 | 264 | 3/3/2023 |
2.0.75 | 245 | 3/3/2023 |
2.0.65 | 267 | 2/28/2023 |
2.0.62 | 317 | 1/30/2023 |
2.0.59 | 412 | 1/23/2023 |
2.0.56 | 278 | 1/23/2023 |
2.0.53 | 287 | 1/19/2023 |
2.0.52 | 297 | 1/17/2023 |
2.0.51 | 582 | 1/16/2023 |
2.0.50 | 322 | 1/16/2023 |
2.0.47 | 304 | 1/16/2023 |
2.0.40 | 311 | 1/16/2023 |
2.0.35 | 305 | 1/16/2023 |
2.0.29 | 302 | 1/16/2023 |
2.0.26 | 316 | 1/16/2023 |
2.0.20 | 335 | 1/16/2023 |
1.0.2 | 1,511 | 9/22/2019 |