/// <summary> /// Adds a TableAlias to the TableAliases property. /// An exception is thrown if there is already a TableAlias with the same FromTable configured. /// </summary> /// <param name="tableAlias"></param> public void AddAlias(TableAlias tableAlias) { TableAliases.Add(tableAlias.FromTable, tableAlias.ToTable); }