WeenyMapper.Sql.CommandParameter.Equals C# (CSharp) 메소드

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool
        public override bool Equals(object obj)
        {
            var other = obj as CommandParameter;

            if (other == null)
            {
                return false;
            }

            return _columnName == other._columnName &&
                   Name == other.Name &&
                   Equals(Value, other.Value) &&
                   ColumnNameOccurrenceIndex == other.ColumnNameOccurrenceIndex;
        }