WeenyMapper.Sql.CommandParameter.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return 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;
        }