Deveel.Data.TableContainerBase.ContainsTable C# (CSharp) Method

ContainsTable() public method

public ContainsTable ( ObjectName name ) : bool
name ObjectName
return bool
        public bool ContainsTable(ObjectName name)
        {
            // This set can not contain the table that is backing it, so we always
            // return false for that.  This check stops an annoying recursive
            // situation for table name resolution.
            if (name.Equals(TableName))
                return false;

            return FindByName(name) != -1;
        }