예제 #1
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.create_)
                {
                    hashcode = (hashcode * 397) + Create_.GetHashCode();
                }
                if (isset.drop_)
                {
                    hashcode = (hashcode * 397) + Drop_.GetHashCode();
                }
                if (isset.select_)
                {
                    hashcode = (hashcode * 397) + Select_.GetHashCode();
                }
                if (isset.insert_)
                {
                    hashcode = (hashcode * 397) + Insert_.GetHashCode();
                }
                if (isset.update_)
                {
                    hashcode = (hashcode * 397) + Update_.GetHashCode();
                }
                if (isset.delete_)
                {
                    hashcode = (hashcode * 397) + Delete_.GetHashCode();
                }
                if (isset.truncate_)
                {
                    hashcode = (hashcode * 397) + Truncate_.GetHashCode();
                }
                if (isset.alter_)
                {
                    hashcode = (hashcode * 397) + Alter_.GetHashCode();
                }
            }
            return(hashcode);
        }
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.create_)
                {
                    hashcode = (hashcode * 397) + Create_.GetHashCode();
                }
                if (isset.delete_)
                {
                    hashcode = (hashcode * 397) + Delete_.GetHashCode();
                }
                if (isset.view_)
                {
                    hashcode = (hashcode * 397) + View_.GetHashCode();
                }
                if (isset.edit_)
                {
                    hashcode = (hashcode * 397) + Edit_.GetHashCode();
                }
            }
            return(hashcode);
        }
예제 #3
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.create_)
                {
                    hashcode = (hashcode * 397) + Create_.GetHashCode();
                }
                if (isset.delete_)
                {
                    hashcode = (hashcode * 397) + Delete_.GetHashCode();
                }
                if (isset.view_sql_editor_)
                {
                    hashcode = (hashcode * 397) + View_sql_editor_.GetHashCode();
                }
                if (isset.access_)
                {
                    hashcode = (hashcode * 397) + Access_.GetHashCode();
                }
            }
            return(hashcode);
        }