<commit_before># efp

## 01 - hello

    dnvm list
    dnvm use 1.0.0-rc2-16551 -r mono
    dnu restore
    dnvm use 1.0.0-rc2-16551 -r coreclr
    dnx run

+ https://github.com/dotnet/coreclr/blob/master/Documentation/install/get-dotnetcore-dnx-osx.md

## 02 - code first

    dnvm install 1.0.0-rc1-final -r coreclr
    dnvm upgrade
    dnu restore
    dnu build --quiet
    dnx run

+ https://docs.efproject.net/en/latest/platforms/coreclr/getting-started-osx.html
+ http://docs.asp.net/en/latest/dnx/commands.html
+ https://msdn.microsoft.com/en-us/magazine/dn890367.aspx
+ http://stackoverflow.com/questions/29300777/is-there-an-entity-framework-7-database-first-poco-generator
+ http://docs.asp.net/en/latest/dnx/projects.html


## 03 - db first (=Scaffold)

    cp ../02-sqlite/blog.db ./
    dnu install EntityFramework.Sqlite.Design
    rm __EFMigrationsHistory.cs
    rm blogContext.cs
    rm Blog.cs
    rm Post.cs
    dnx ef dbcontext scaffold Filename=$(realpath blog.db) EntityFramework.Sqlite
    dnu build --quiet
    dnx run
    mkdir pub
    dnu publish --no-source --out ./pub

+ http://stackoverflow.com/questions/29300777/is-there-an-entity-framework-7-database-first-poco-generator
+ http://docs.asp.net/en/latest/dnx/projects.html
+ https://github.com/aspnet/Home/issues/590

Example..

    $ dnvm use 1.0.0-rc1-update1 -r coreclr
    $ dnx run
    Starting...

    Read 950 records in 577643 μs
    Assigned expression in 533733 μs
    Scan in 371 μs
    Enumerate next in 15 μs
    Index 5 in 0.22 μs
    Total time was 1111761 μs

## 04 - db first - vanilla

    dnvm use 1.0.0-rc1-update1 -r coreclr
    ./run.sh

## 05 electron

    dnvm use 1.0.0-rc1-update1 -r coreclr
    ./run.sh

+ http://electron.atom.io/docs/v0.37.2/api/ipc-main/

## 06 - cleanup, linting, styling

    dnvm use 1.0.0-rc1-update1 -r coreclr
    make setup
    make run

## 07 - dotnet core + npsql

## 08 - dotnet core + ef command tools

## 08 - db generation + scaffolding<commit_msg>update readmen<commit_after># efp

## 01 - hello

    dnvm list
    dnvm use 1.0.0-rc2-16551 -r mono
    dnu restore
    dnvm use 1.0.0-rc2-16551 -r coreclr
    dnx run

+ https://github.com/dotnet/coreclr/blob/master/Documentation/install/get-dotnetcore-dnx-osx.md

## 02 - code first

    dnvm install 1.0.0-rc1-final -r coreclr
    dnvm upgrade
    dnu restore
    dnu build --quiet
    dnx run

+ https://docs.efproject.net/en/latest/platforms/coreclr/getting-started-osx.html
+ http://docs.asp.net/en/latest/dnx/commands.html
+ https://msdn.microsoft.com/en-us/magazine/dn890367.aspx
+ http://stackoverflow.com/questions/29300777/is-there-an-entity-framework-7-database-first-poco-generator
+ http://docs.asp.net/en/latest/dnx/projects.html


## 03 - db first (=Scaffold)

    cp ../02-sqlite/blog.db ./
    dnu install EntityFramework.Sqlite.Design
    rm __EFMigrationsHistory.cs
    rm blogContext.cs
    rm Blog.cs
    rm Post.cs
    dnx ef dbcontext scaffold Filename=$(realpath blog.db) EntityFramework.Sqlite
    dnu build --quiet
    dnx run
    mkdir pub
    dnu publish --no-source --out ./pub

+ http://stackoverflow.com/questions/29300777/is-there-an-entity-framework-7-database-first-poco-generator
+ http://docs.asp.net/en/latest/dnx/projects.html
+ https://github.com/aspnet/Home/issues/590

Example..

    $ dnvm use 1.0.0-rc1-update1 -r coreclr
    $ dnx run
    Starting...

    Read 950 records in 577643 μs
    Assigned expression in 533733 μs
    Scan in 371 μs
    Enumerate next in 15 μs
    Index 5 in 0.22 μs
    Total time was 1111761 μs

## 04 - db first - vanilla

    dnvm use 1.0.0-rc1-update1 -r coreclr
    ./run.sh

## 05 electron

    dnvm use 1.0.0-rc1-update1 -r coreclr
    ./run.sh

+ http://electron.atom.io/docs/v0.37.2/api/ipc-main/

## 06 - cleanup, linting, styling

    dnvm use 1.0.0-rc1-update1 -r coreclr
    make setup
    make run

## 07 - dotnet core + npsql

## 08 - dotnet core ~~+ ef command tools~~

## 09 - db generation + scaffolding
Third experiment with scaffolding with dotnetcore and efcore (**.sqlite.design) with MIT db example

    sh clean.sh
    sh setup.sh
    dotnet run
{'fraction_non_alphanumeric': 0.12394093439845073, 'fraction_numerical': 0.06003389009924957, 'mean_word_length': 2.537671232876712, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3446190', 'n_tokens_mistral': 1772, 'n_tokens_neox': 1532, 'n_words': 353}