コード例 #1
0
 protected virtual bool Equals(DataElement other)
 {
     return(string.Equals(elementName, other.elementName) && Equals(elementValue, other.elementValue));
 }
コード例 #2
0
        protected override bool Equals(DataElement other)
        {
            var otherParameter = (Parameter)other;

            return(base.Equals(other) && SqlDbType == otherParameter.SqlDbType && Size == otherParameter.Size && string.Equals(TypeName, otherParameter.TypeName));
        }