DynamicQueryEngine/SpannerSpecificCreator.cs
/// <summary>
/// Routine which creates a valid alias string for the raw alias passed in. For example, the alias will be surrounded by "[]" on sqlserver. 
/// Used by the RelationCollection to produce a valid alias for joins.
/// </summary>
/// <param name="rawAlias">the raw alias to make valid</param>
/// <returns>valid alias string to use.</returns>
Routine which creates a valid alias string for the raw alias passed in. For example, the alias will be surrounded by "[]" on sqlserver.
Used by the RelationCollection to produce a valid alias for joins.
Routine which creates a valid alias string for the raw alias passed in . For example the alias will be surrounded by " [] " on sqlserver . Used by the RelationCollection to produce a valid alias for joins .
public override string CreateValidAlias(string rawAlias)
        {
			if(string.IsNullOrEmpty(rawAlias))
			{
				return rawAlias;
			}
			if(rawAlias[0] == '`')
			{
				return rawAlias;
			}
			return string.Concat("`", rawAlias, "`");
		}
public override string CreateValidAlias ( string rawAlias ) { if ( string . IsNullOrEmpty ( rawAlias ) ) { return rawAlias ; } if ( rawAlias [ 0 ] == ' ' ) { return rawAlias ; } return string . Concat ( " " , rawAlias , " " ) ; }
Routine which creates a valid alias string for the raw alias passed in.
Routine which creates a valid alias string for the raw alias passed in .
valid alias string to use.
valid alias string to use .
rawAlias
string
the raw alias to make valid
the raw alias to make valid