HarperDb_Net_Client 1.1.0
The package has been updated to a later version which can be accessed on
HarperDB.NET.Client/1.1.0
dotnet add package HarperDb_Net_Client --version 1.1.0
NuGet\Install-Package HarperDb_Net_Client -Version 1.1.0
<PackageReference Include="HarperDb_Net_Client" Version="1.1.0" />
paket add HarperDb_Net_Client --version 1.1.0
#r "nuget: HarperDb_Net_Client, 1.1.0"
// Install HarperDb_Net_Client as a Cake Addin
#addin nuget:?package=HarperDb_Net_Client&version=1.1.0
// Install HarperDb_Net_Client as a Cake Tool
#tool nuget:?package=HarperDb_Net_Client&version=1.1.0
Source Code: https://github.com/rajat-srivas/HarperDbClient_DotNetCore
HarperDbClient_DotNetCore
<h3> A Dot Net Core console app which allows performing CRUD operations to the Harper DB 🚀 🚀 <h3>
Add the package or the project to your existing solution
This exposes the HarperClient class
This has two constructors ⇒ One with Table & One without a table name
In case you already have the table, use the ctor with the table name, else use the one with basic configuration and create the table using the method exposed
Schema and other configuration can be passed to this constructor via the HarperDbConfiguration object in the constructor
These are the operations supported as of now
- CreateSchema
- CreateTable
- CreateRecord
- CreateBulkRecord
- GetById
- ExecuteQuery
- UpdateRecord
Following are the methods supporting the above operations
* IRestResponse CreateRecord<T>(T itemToCreate) * IRestResponse CreateBulkRecord<T>(string csvFilePath * IRestResponse GetById(string id) * IRestResponse ExecuteQuery(string sqlQuery) * IRestResponse UpdateRecord<T>(T itemToUpdate) * IRestResponse CreateSchema(string schema) * IRestResponse CreateTable(string table, string schema, string hashAttribute = "id")
Use the HarperDbResponse.cs to cast the response into JSON in your application
- JsonConvert.DeserializeObject<HarperNetClient.models.Content>(response.Content).Message;
Note: As of 17 June 2021, this is the first version. Some bugs might be expected. Feel free to report or help. I Will try and update more operations and configure the app for more scalability
You can refer to the repo for a sample client app ⇒ https://github.com/rajat-srivas/HarperDB_Crud_With_DotNetCoreClient
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. 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 | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Microsoft.Extensions.DependencyInjection (>= 5.0.1)
- Newtonsoft.Json (>= 13.0.1)
- RestSharp (>= 106.11.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.