Skip to content

TheXDS/Triton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

320 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tritón logo CodeFactor codecov Build Triton Publish Triton Issues MIT

Introduction

Tritón is a utility library that facilitates access to Database Management System APIs, particularly Entity Framework Core. It provides services, base classes, dynamic generators, and other miscellaneous tools.

Releases

Tritón is available on NuGet and my private GitHub repository.

Release Link
Latest stable version: Stable version
Latest development version: Development version

Package Manager

Install-Package TheXDS.Triton

.NET CLI

dotnet add package TheXDS.Triton

Paket CLI

paket add TheXDS.Triton

Package Reference

<PackageReference Include="TheXDS.Triton" Version="1.4.0" />

Interactive Window (CSI)

#r "nuget: TheXDS.Triton, 1.4.0"

GitHub Repository

To obtain Tritón packages directly from GitHub, it is necessary to add my private repository. To do this, simply run in a terminal:

nuget sources add -Name "TheXDS GitHub Repo" -Source https://nuget.pkg.github.com/TheXDS/index.json

Build

Tritón requires a C# 10 compatible compiler, due to certain special language features that help reduce code complexity.

Tritón also requires .NET SDK 6.0 to be installed on the system.

Building Tritón

dotnet build ./src/Triton.sln

Binaries will be found in the ./Build folder at the root of the repository.

Running Tests

dotnet test ./src/Triton.sln

Coverage Report

It is possible to obtain a code coverage report locally. To do this, it is necessary to install ReportGenerator, which will read the test execution results and generate a web page with the coverage results.

To install ReportGenerator run:

dotnet tool install -g dotnet-reportgenerator-globaltool

After installing ReportGenerator, you can run the following command:

dotnet test .\src\Triton.sln --collect:"XPlat Code Coverage" --results-directory:.\Build\Tests ; reportgenerator.exe -reports:.\Build\Tests\*\coverage.cobertura.xml -targetdir:.\Build\Coverage\

Coverage results will be stored in ./Build/Coverage

Contribute

ko-fi

If Tritón has been useful to you, or you are interested in donating to encourage the development of the project, feel free to make a donation via PayPal, Ko-fi or get in touch with me directly.

Unfortunately, I cannot offer other donation methods at the moment due to my country (Honduras) not being supported by most platforms.

About

Tritón

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors

Languages