KayordKit 0.1.6

dotnet add package KayordKit --version 0.1.6                
NuGet\Install-Package KayordKit -Version 0.1.6                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KayordKit" Version="0.1.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KayordKit --version 0.1.6                
#r "nuget: KayordKit, 0.1.6"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install KayordKit as a Cake Addin
#addin nuget:?package=KayordKit&version=0.1.6

// Install KayordKit as a Cake Tool
#tool nuget:?package=KayordKit&version=0.1.6                

Kayord

Wazzup

EF Core Migration

# Create Migration
dotnet ef migrations add Initial --project src/Kayord.Data --startup-project src/Kayord.Api --output-dir Migrations
# Update
dotnet ef database update --project src/Kayord.Data --startup-project src/Kayord.Api
# Run
dotnet run --project src/Kayord.Api


# Test
dotnet test -l "console;verbosity=detailed"

#Scaffold
#dotnet ef dbcontext scaffold "Name=ConnectionStrings:DefaultConnection" Npgsql.EntityFrameworkCore.PostgreSQL
dotnet ef dbcontext list --project src/Kayord.Api

dotnet ef dbcontext scaffold -s src/Kayord.Api -p src/Kayord.Data -o DAL/Kayord "Name=ConnectionStrings:DefaultConnection" Npgsql.EntityFrameworkCore.PostgreSQL --no-pluralize -f --no-onconfiguring --no-build


### Test DB Setup
docker run \
    --add-host host.docker.internal:host-gateway \
    --env PGPASSWORD=bbHRro5Ju2L9cw \
    -v ./temp/world.sql:/app/world.sql \
    -it postgres \
    psql -h host.docker.internal -U kayord kayord -f /app/world.sql
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.6 218 2/12/2024
0.1.5 128 2/12/2024
0.1.3 229 11/27/2023
0.1.2 126 11/27/2023
0.1.1 129 11/22/2023
0.1.0 125 11/22/2023
0.0.5 127 11/15/2023
0.0.4 121 11/15/2023
0.0.3 120 11/13/2023
0.0.2 119 11/13/2023