Mutter.Tools.SqlServer.DiagramManager 0.0.2

dotnet tool install --global Mutter.Tools.SqlServer.DiagramManager --version 0.0.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Mutter.Tools.SqlServer.DiagramManager --version 0.0.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Mutter.Tools.SqlServer.DiagramManager&version=0.0.2
                    
nuke :add-package Mutter.Tools.SqlServer.DiagramManager --version 0.0.2
                    

SqlServer Diagram Manager

This tool exports and imports diagrams from SqlServer databases.

Build & Publish

Building project DiagramManager.csproj will create a nuget package in the nugets folder, e.g. Mutter.Tools.SqlServer.DiagramManager.<version>.nupkg. This package can be published to a nuget feed.

cd projects/DiagramManager
dotnet build

cd ../../
nuget push nugets/Mutter.Tools.SqlServer.DiagramManager.<version>.nupkg

Install from local path

dotnet tool install --global --add-source ./nugets Mutter.Tools.SqlServer.DiagramManager

Uninstall

dotnet tool uninstall Mutter.Tools.SqlServer.DiagramManager

Update

dotnet tool update Mutter.Tools.SqlServer.DiagramManager

Usage

Parameters: -m, --Mode (required): Mode of the operation (export or import) -f, --Folder (required): Folder where the diagram will be exported or imported -n, --DiagramName (optional): Name of the diagram to export or import -db, --ConnectionString (required): Connection string to the database

manage-sql-diagrams -m export|import -f <directory> -db <connectionString> [-n <DiagramName>]

Export

Either all or a specific diagram can be exported. The tool will create a file with the diagram in the directory specified with -f parameter.

manage-sql-diagrams
  -m export
  -f c:\Temp\Diagram
  [-n <DiagramName>]
  -db "Server=(localdb)\mssqllocaldb;Database=MyDb;Integrated Security=true;TrustServerCertificate=true"

Import

Either all or a specific diagram can be imported. The tool will create a file with the diagram in the directory specified with -f parameter.

manage-sql-diagrams
  -m import
  -f c:\Temp\Diagram
  [-n <DiagramName>]
  -db "Server=(localdb)\mssqllocaldb;Database=MyDb;Integrated Security=true;TrustServerCertificate=true"
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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.0.2 248 5/25/2024