Coder Social home page Coder Social logo

jobbr-storage-mssql's Introduction

Jobbr MSSql Storage Provider Develop build status

This is a storage adapter implementation for the Jobbr .NET JobServer to store job related information on MS SQL Servers. The Jobbr main repository can be found on JobbrIO/jobbr-server.

Master build status NuGet-Stable Develop build status NuGet Pre-Release

Installation

First of all you'll need a working jobserver by using the usual builder as shown in the demos (jobbrIO/jobbr-demo). In addition to that you'll need to install the NuGet Package for this extension.

NuGet

Install-Package Jobbr.Storage.MsSql

Configuration

Since you already have a configured server, the registration of the MsSQL Storage Provider is quite easy. Actually you only need a working Database-Connection (A list of typical ConnectionStrings can be found on https://www.connectionstrings.com/sql-server/

using Jobbr.Storage.MsSql;

/* ... */

var builder = new JobbrBuilder();

builder.AddMsSqlStorage(config =>
{
    // Your connection string
    config.ConnectionString = @"Server=.\SQLEXPRESS;Integrated Security=true;InitialCatalog=JobbrDemoTest;";

    // Configure your SqlDialect (2017 is set by default)
    configuration.DialectProvider = new SqlServer2017OrmLiteDialectProvider();

    // Create tables (is set by default to true)
    configuration.CreateTablesIfNotExists = true;
});

server.Start();

Database-Schema

By default, the extension tries to create the tables if they are not present. You can disable this behaviour (see example above) and create the tables manually using the script located on source/Jobbr.Storage.MsSql/CreateTables.sql.

Diagram

License

This software is licenced under GPLv3. See LICENSE, and the related licences of 3rd party libraries below.

Acknowledgements

This extension is built using the following great open source projects

Credits

This application was built by the following awesome developers:

  • Michael Schnyder
  • Oliver Zürcher

jobbr-storage-mssql's People

Contributors

linkdotnet avatar michaelschnyder avatar olibanjoli avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.