Skip to content

Commit

Permalink
updates the dotnetcore version to 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltan-david committed Oct 30, 2021
1 parent 95fc5e8 commit f0a93f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,24 @@ Draw a database diagram of your MS SQL database in dbdiagram.io.

## The repository

* DbDiagramIo.MsSql: Library to export an MS SQL database schema into script that dbdiagram.io understands.
* DbDiagramIo.MsSql: Library to export MS SQL database schema into a script that dbdiagram.io understands.
* Example.DotNetCore: .NET Core example application that actually creates the dbdiagram.io script by using the library.
* Example.DotNet461: .NET 4.6.1 example application.

## Try it

* `cd src` and open the `.sln` file with Visual Studio
* set the connection string in `Example.DotNetCore\Program.cs` to point to your database
* build solution with Visual Studio
* run the application by `dotnet Example.DotNetCore.dll`
* build the solution using Visual Studio
* run the application using `dotnet Example.DotNetCore.dll`
* copy&paste the application's output to https://dbdiagram.io/d
* see your database's diagram

## Create your own application

Use the DbDiagramIo.MsSql library in your code and create a better MS SQL => dbdiagram.io export tool.

### Add nuget package
### Add the nuget package

```
dotnet add package DbDiagramIo.MsSql
Expand Down Expand Up @@ -50,7 +51,7 @@ foreach (ForeignKeyDto fk in foreignKeys)

## Why

SQL Server Management Studio 18 no longer support diagrams. dbdiagram.io is a free tool to draw DB diagrams, however currently it does not have an "import from ms sql" feature. This project provided a quick & dirty way for me to generate DB diagrams for my MS SQL databases.
SQL Server Management Studio 18 no longer supports diagrams. dbdiagram.io is a free tool to draw DB diagrams, however currently it does not have an "import from ms sql" feature. This project provided a quick & dirty way for me to generate DB diagrams for my MS SQL databases.

## License

Expand Down
2 changes: 1 addition & 1 deletion src/Example.DotNetCore/Example.DotNetCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit f0a93f0

Please sign in to comment.