Skip to main content

4 docs tagged with "script"

View all tags

Fast Targeted Table Import (BimlStudio Preview)

BimlStudio preview script that imports one or more named tables from a given database, walks every schema looking for the match, writes the resulting Biml under the database's 'Tables' directory, adds the file to the live project, sets the schema to the database default, then calls a follow-up script to add UsedByCycle tags.

Find Tables missing metadata columns

Validation BimlScript that walks 'RootNode.Tables' and reports any table missing the project's required audit/metadata columns, with optional reporting of passing tables, so the check can run automatically before each build.

Finish Table Import Script

BimlStudio script that finishes a freshly imported Table: resets the schema to the database's default, renames the Biml file to local convention, moves it to the database's Tables directory, and calls a follow-up script to add UsedByCycle tags.

Programmatically Add a File to a BimlStudio Project

Calls 'ProjectManager.GetInstance().Project.AddNewPathToModel' via 'Dispatcher.Invoke' (because the operation runs on the UI thread) so a BimlScript can attach an existing file on disk to the current BimlStudio project.