public bool Match(string tableName, string dbName) { bool baseMatch = base.Match(tableName); bool DBMatch = (DBName != null && DBName.Equals(dbName)); return(baseMatch && DBMatch); }
public override bool Equals(object obj) { LoggingIdentity other = obj as LoggingIdentity; if (other != null) { if (DBName != null && DBName.Equals(other.DBName) && ColName != null && ColName.Equals(other.ColName) && BucketID == other.BucketID) { return(true); } } return(false); }