/Linq2Shadow

Easy lib to create SQL queries based on IQueryable<T> interface for IDbConnection

Primary LanguageC#MIT LicenseMIT

Logo of the project

Linq2Shadow

Build status Linq2Shadow

Little ORM which provide the LINQ queries to unknown sources(views, tables, stored procedures, table-valued functions) at compilation time 🤘
Documentation here.

Linq2Shadow supports MS SQL only today.

Features

  • Known System.Linq.IQueryable interface
  • Dynamicly typed models(you don't need typed models more)
  • Ready pack of helpers
  • Good documentation

Developing

Software requirements

  • .NET Core SDK 2.2.103
  • MS SQL instance(to run tests)

Building

A quick setup which you needed to build an assembly.

dotnet restore
dotnet build

Running the tests

Few steps to run tests.

dotnet restore
dotnet test

Building the documentation

Tools preparing: Use DocFX as a command-line tool.

Templates directory: <root>/doc_templates
Destination directory: <root>/docs

Build via powershell:

build-doc.ps1

Demo serve via command line:

docfx doc_templates/docfx.json --serve

Licensing

The code in this project is licensed under MIT license.