EzDbCodeGen 1.1.20
See the version list below for details.
Requires NuGet 3.3.0 or higher.
dotnet add package EzDbCodeGen --version 1.1.20
NuGet\Install-Package EzDbCodeGen -Version 1.1.20
<PackageReference Include="EzDbCodeGen" Version="1.1.20" />
paket add EzDbCodeGen --version 1.1.20
#r "nuget: EzDbCodeGen, 1.1.20"
// Install EzDbCodeGen as a Cake Addin #addin nuget:?package=EzDbCodeGen&version=1.1.20 // Install EzDbCodeGen as a Cake Tool #tool nuget:?package=EzDbCodeGen&version=1.1.20
ez-db-codegen-core
Easy code generation based on a database schema given by EZDbSchema. The template language this application uses is HandleBars.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. This nuget package will dump the published cli package for code generation and a powershell script to run it. The nuget package will dump everything you need for code generation into the project you have selected under the EzDbCodeGen folder.
Please note I owe you so much more documenation on this!! more to come! 😃
Prerequisites
- [DotNetCore] (https://www.microsoft.com/net/learn/get-started) - You will get everything you need except the sdk! please download the latest version of this before trying to run the powershell script
- [Visual Studio 2017] (https://visualstudio.microsoft.com/) - You will get everything you need except the sdk! please download the latest version of this before trying to run the powershell script
- You will need MSSQL with some database installed. If you need a sample database, feel free to look for the World Wide Importers samples.
Using this project:
Lets go through a test run of how to use this before we get into the nitty gritty:
From NuGet (or use the nuget package manager)
- Install-Package EzDbCodeGen - it will create a folder in EzDbCodeGen.NuGet.TestTarget called EzDbCodeGen
- Update the connection string in ezdbcodegen.ps1 with the database you wish to create your templates on
- right click on ezdbcodegen.ps1 and select "Open with PowerShell ISE" (because for whatever reason, the direct executer just hangs for me)
- Click the green right arrow to run the script. You should see a powershell window come up with the script running, EzDbCodeGen/Generated should have the results of both of the templates execution
Deployment
This project was design to be hosted and distributed with nuget.com.
Built With
- .net core - The framework used
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Ricky Vega - Initial work - Noctusoft
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
Many thanks to the following projects that have helped in this project
- EzDBSchema
- McMaster.Extensions.CommandLineUtils
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 2.0
- EzDbSchema (>= 1.0.9)
- Handlebars.Net (>= 1.9.5)
- Json.Comparer.Core (>= 0.6.9)
- Newtonsoft.Json (>= 11.0.2)
- Pluralize.NET (>= 0.1.84)
-
.NETCoreApp 2.1
- EzDbSchema (>= 1.0.9)
- Handlebars.Net (>= 1.9.5)
- Json.Comparer.Core (>= 0.6.9)
- Newtonsoft.Json (>= 11.0.2)
- Pluralize.NET (>= 0.1.84)
-
.NETFramework 4.6.1
- EzDbSchema (>= 1.0.9)
- Handlebars.Net (>= 1.9.5)
- Json.Comparer.Core (>= 0.6.9)
- Newtonsoft.Json (>= 11.0.2)
- Pluralize.NET (>= 0.1.84)
-
.NETStandard 2.0
- EzDbSchema (>= 1.0.9)
- Handlebars.Net (>= 1.9.5)
- Json.Comparer.Core (>= 0.6.9)
- Newtonsoft.Json (>= 11.0.2)
- Pluralize.NET (>= 0.1.84)
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 |
---|---|---|
1.2.18 | 3,087 | 5/13/2020 |
1.1.87 | 1,159 | 12/26/2019 |
1.1.82 | 1,067 | 12/23/2019 |
1.1.77 | 1,076 | 12/21/2019 |
1.1.51 | 1,164 | 8/30/2019 |
1.1.46 | 1,329 | 6/6/2019 |
1.1.34 | 1,166 | 6/6/2019 |
1.1.24 | 1,279 | 2/22/2019 |
1.1.22 | 1,590 | 9/28/2018 |
1.1.20 | 1,381 | 9/19/2018 |
1.1.10 | 1,455 | 8/24/2018 |
1.1.9 | 1,423 | 8/21/2018 |
1.1.5 | 1,355 | 8/1/2018 |
1.1.3 | 1,403 | 7/30/2018 |
1.1.2 | 1,389 | 7/27/2018 |
1.1.0 | 1,394 | 7/20/2018 |
Fixed Relation Group Count bug
Fixed issue when schema objects have spaces.
Additional Config Filter Fixes.
Upgraded all Nuget Packages