Skip to content

Instantly share code, notes, and snippets.

@tdmitch
Last active July 12, 2017 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdmitch/5ef156aebae6e4e8bf3b9184047f2f82 to your computer and use it in GitHub Desktop.
Save tdmitch/5ef156aebae6e4e8bf3b9184047f2f82 to your computer and use it in GitHub Desktop.
<!-- Get all tables in the Sales schema -->
<# var importResult = RootNode.Connections["AdventureWorks"].GetDatabaseSchema(new List<string>{"Sales"}, null, ImportOptions.ExcludePrimaryKey|ImportOptions.ExcludeCheckConstraint|ImportOptions.ExcludeForeignKey|ImportOptions.ExcludeColumnDefault|ImportOptions.ExcludeViews|ImportOptions.ExcludeIdentity|ImportOptions.ExcludeIndex);#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment