QueryServiceClient 1.0.9

dotnet add package QueryServiceClient --version 1.0.9
                    
NuGet\Install-Package QueryServiceClient -Version 1.0.9
                    
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="QueryServiceClient" Version="1.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="QueryServiceClient" Version="1.0.9" />
                    
Directory.Packages.props
<PackageReference Include="QueryServiceClient" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add QueryServiceClient --version 1.0.9
                    
#r "nuget: QueryServiceClient, 1.0.9"
                    
#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.
#:package QueryServiceClient@1.0.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=QueryServiceClient&version=1.0.9
                    
Install as a Cake Addin
#tool nuget:?package=QueryServiceClient&version=1.0.9
                    
Install as a Cake Tool

QueryServiceClient

QueryServiceClient is a library for .NET 8 that simplifies database operations by providing a lightweight client for performing CRUD (Create, Read, Update, Delete) operations on mapped entities. It allows developers to interact with MySQL databases using an object-based approach, generating dynamic SQL queries from .NET classes.

Installation

You can install this library via NuGet:

dotnet add package QueryServiceClient --version 1.0.0

Or from the NuGet Package Manager in Visual Studio:

Install-Package QueryServiceClient -Version 1.0.0

Use

Here's a basic example of how to use the library:

var tables = new List<Table> {
    new Table("issues", "Issue")
        .AddField("id", "Id", true, true)
        .AddField("descripcion", "Descripcion")
        .AddField("fecha_alta", "FechaAlta")
        .AddField("estado", "Estado")
        .AddField("fecha_resolucion", "FechaResolucion")
        .AddField("facturable", "Facturable")
        .AddField("proyecto_id", "ProyectoId", false, false, "proyectos")
        .AddField("operacion_id", "OperacionId"),
    new Table("proyectos", "Proyecto")
        .AddField("id", "Id", true, true)
        .AddField("nombre", "Nombre")
        .AddField("entidad_id", "EntidadId", false, false, "entidades")
        .AddField("activo", "Activo"),
    new Table("entidades", "Entidad")
        .AddField("id", "Id", true, true)
        .AddField("nombre", "Nombre")
        .AddField("razon_social", "RazonSocial")
        .AddField("cuit", "Cuit")
        .AddField("ingresos_brutos", "IngresosBrutos")
        .AddField("domicilio", "Domicilio")
        .AddField("localidad", "Localidad")
        .AddField("posicion_iva", "PosicionIva")
        .AddField("mail_cupones", "MailCupones")
        .AddField("es_prospecto", "EsProspecto")
        .AddField("observaciones", "Observaciones")
};

QueryServiceConfig.Configure(
    baseUrl: "http://localhost:5284",
    apiKey: "***",
    defaultConnectionName: "MisCuentas",
    @namespace: "TestClient.Models",
    assemblyName: "TestClient",
    mappings: tables);

Requirements

  • .NET 8.0 or higher

License

This project is licensed under the [MIT License]

Product Compatible and additional computed target framework versions.
.NET 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • 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.9 139 9/10/2025
1.0.7 139 9/10/2025
1.0.6 134 9/10/2025
1.0.4 411 7/21/2025
1.0.3 309 7/21/2025
1.0.2 313 7/20/2025
1.0.1 310 7/20/2025
1.0.0 311 7/20/2025