Exemplo n.º 1
0
 internal bool EqualsByName(SqlIdentifier identifier)
 {
     return(string.Compare(identifier.Name, this.Name, StringComparison.InvariantCultureIgnoreCase) == 0 ||
            string.Compare(identifier.Prefix, this.PrefixAndName, StringComparison.InvariantCultureIgnoreCase) == 0 ||
            string.Compare(identifier.Definition, this.Definition, StringComparison.InvariantCultureIgnoreCase) == 0 ||
            string.Compare(identifier.ToString(), this.ToString(), StringComparison.InvariantCultureIgnoreCase) == 0);
 }