ca7ee0933606baa1dff9b9e515d66fbe9a543a6b
API/CodeSamples/FieldAliases.md
| ... | ... | @@ -49,4 +49,16 @@ Public Class CustomAdHocConfig |
| 49 | 49 | HttpContext.Current.Session("ReportingInitialized") = True |
| 50 | 50 | End Sub |
| 51 | 51 | End Class |
| 52 | -``` |
|
| ... | ... | \ No newline at end of file |
| 0 | +``` |
|
| 1 | + |
|
| 2 | +##Fully-qualified column names |
|
| 3 | + |
|
| 4 | +You can use fully-qualified column names to allow columns from different tables and schemas with the same name to be aliased differently if you so desire. To do that, simply use bracket notation to specify the schema and table: |
|
| 5 | + |
|
| 6 | +```csharp |
|
| 7 | +AdHocSettings.FieldAliases.Add("[dbo].[Orders].[ShipCity]", "DepartureCity") |
|
| 8 | +``` |
|
| 9 | + |
|
| 10 | +###Screenshots |
|
| 11 | + |
|
| 12 | + |
|
| ... | ... | \ No newline at end of file |