private string resolveMultiPartIdentifier(MultiPartIdentifier identifier)
 {
     if (identifier.Identifiers.Count == 2 &&
         _aliases.ContainsKey(identifier.Identifiers[0].Value))
     {
         return
             (string.Format("{0}.{1}", _aliases[identifier.Identifiers[0].Value], identifier.Identifiers[1].Value));
     }
     return(identifier.AsObjectName());
 }
 private string resolveMultiPartIdentifier(MultiPartIdentifier identifier)
 {
     if (identifier.Identifiers.Count == 2 &&
       _aliases.ContainsKey(identifier.Identifiers[0].Value))
     {
         return
           _aliases[identifier.Identifiers[0].Value] + "." + identifier.Identifiers[1].Value;
     }
     return identifier.AsObjectName();
 }
Exemple #3
0
 private string resolveMultiPartIdentifier(MultiPartIdentifier identifier)
 {
     if (identifier.Identifiers.Count == 2 &&
         _aliases.ContainsKey(identifier.Identifiers[0].Value))
     {
         return
             (_aliases[identifier.Identifiers[0].Value] + "." + identifier.Identifiers[1].Value);
     }
     return(identifier.AsObjectName());
 }
 private static string resolveMultiPartIdentifier(MultiPartIdentifier identifier)
 {
     return(identifier.Identifiers.Count == 2 ? identifier.Identifiers[1].Value : identifier.AsObjectName());
 }