Example #1
0
        public bool Match(string tableName, string dbName)
        {
            bool baseMatch = base.Match(tableName);
            bool DBMatch   = (DBName != null && DBName.Equals(dbName));

            return(baseMatch && DBMatch);
        }
Example #2
0
        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);
        }