/ViewDependancy

Interogates a Dacpac and output DGML

Primary LanguageC#GNU General Public License v2.0GPL-2.0

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