gonsalu / ViewDependancy

Interogates a Dacpac and output DGML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ViewDependancy

Interrogates a collection of Dacpacs and outputs a DGML file.

Objects are organised in a Database.schema.object hierarchy / grouping.

Caveats :
Default schema is assumed to be dbo.

Presently all sqlcmd vars are stripped and used as the database name.
ie $(DBNAME) will be assumed to represent the physical database DBNAME

Command Line Options:
DIR: Path to recursively scan for dacpac files
DGML: DGML Output File
XML: Optional path to XML file for adding manual dependencies

Example of XML

<Deps>
 <Depends Source="CSVFeeds.FeedA" SourceType="CSV" Target="Parent.dbo.parent"/>
  <Depends Source="CSVFeeds.FeedB" SourceType="CSV" Target="Child.dbo.Child"/>
</Deps>

Example

About

Interogates a Dacpac and output DGML

License:GNU General Public License v2.0


Languages

Language:C# 100.0%