Code Monkey home page Code Monkey logo

contoso-data-generator's Introduction

Contoso Data Generator

A custom Contoso sample database generator

Content

  • DatabaseGenerator project
  • Scripts to build the custom Contoso database importing constant and generated files
  • CSV Files with the constant data

DatabaseGenerator

This project generates the orders tables as csv files to be imported into the custom Contoso database.

It's a C# project for .NET Core 3.1, included into the DatabaseGenerator.sln Visual Studio solution.

DatabaseGenerator C# project Folders

  • DatabaseGenerator: the project folder
  • data_folder: the folder with simple configuration files for debugging purpose

Scripts

Powershell scripts that

  • runs the DatabaseGenerator
  • creates the new custom contoso databse
  • import the constant and generated data into the new databae
  • exports the generated database to a compressed file

Scripts folders

  • Scripts and subfolders: the PowerShell scripts and SQL scripts run by it
  • Contoso Main and subfolders: the CSV containing the constant data as csv files
  • DataseteSqlbi: configuration files used to run DatabaseGenerator

Quick Run

To quickly test the tool, verify the pre-requisites and run the QuickRun.ps1 script in the script folder

Pre-requisite to run the tool

Running QuickRun.ps1

QuickRun.ps1 takes one optional parameter

  • SqlDataFilesFolder (default C:\TEMP): the folder to contain the generated files. The user of the SQL Server service must have access to this folder with the rights to read, write and create files.

QuickRun.ps1 runs GenerateDatabases.ps1 script. For further details, please refert to the documentation into the Scripts folder

contoso-data-generator's People

Contributors

sergiomurru 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.