Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool
예제 #1
0
        public override bool Equals(Object obj)
        {
            if (obj == null || !(obj is SurrogateKey))
            {
                return(false);
            }
            SurrogateKey other = (SurrogateKey)obj;

            if (m_type == other.m_type && m_context.Equals(other.m_context))
            {
                return(true);
            }
            return(false);
        }