Documentation

Biml API Reference
AstTableNode.PreferredKey Property
BimlStudio 2017

Gets the preferred key for this table to be used in lookups and other operations. This is the primary key or identity if present. Otherwise, it is based on the key with the minimum number of bytes to compare across all columns referenced by the key.
Assembly:
Biml (in Biml.dll)
Language Element:
.NET API Metadata
Code Type:
Default Value:
Required:
False
Virtual:
False
Types Containing This Property
  Parent Type Summary
AstDimensionNode
Dimension objects include all of the capabilities of regular tables and additionally correspond directly to a Dimension in SQL Server Analysis Services (SSAS).
AstFactNode
Fact table objects include all of the capabilities of regular tables and additionally correspond directly to a Measure Group in SQL Server Analysis Services (SSAS).
AstTableCloneNode
TableClone enables you to create a copy of an existing table, allowing you to add your own additional columns, indexes, and keys in order to support staging mechanisms, temp-tables, etc.
AstTableNode
Table objects correspond directly to regular tables in the SQL Server product. They support all of the same features and present all of the same limitations.