public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteUpdateStatement dst = obj as SQLiteUpdateStatement; if (dst == null) { return(false); } if (_conf != dst._conf || _table != dst._table) { return(false); } if (!RefCompare.Compare(_whereExpr, dst._whereExpr)) { return(false); } if (!RefCompare.CompareList <SQLiteUpdateItem>(_setlist, dst._setlist)) { return(false); } return(base.Equals(obj)); }
public override bool Equals(object obj) { if (obj == null) { return(false); } SQLitePrimaryKeyTableConstraint dst = obj as SQLitePrimaryKeyTableConstraint; if (dst == null) { return(false); } if (this._autoincrement != dst._autoincrement) { return(false); } if (this._conf != dst._conf) { return(false); } if (!RefCompare.CompareList <SQLiteIndexedColumn>(_columns, dst._columns)) { return(false); } return(base.Equals(obj)); }
public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteInExpression dst = obj as SQLiteInExpression; if (dst == null) { return(false); } if (_isIn != dst._isIn) { return(false); } if (!RefCompare.CompareMany(_expr, dst._expr, _select, dst._select, _table, dst._table)) { return(false); } if (!RefCompare.CompareList <SQLiteExpression>(_exprlist, dst._exprlist)) { return(false); } return(base.Equals(obj)); }
public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteCreateIndexStatement dst = obj as SQLiteCreateIndexStatement; if (dst == null) { return(false); } if (_isUnique != dst._isUnique || _ifNotExists != dst._ifNotExists || _onTable != dst._onTable) { return(false); } if (!RefCompare.CompareList <SQLiteIndexedColumn>(_columns, dst._columns)) { return(false); } return(base.Equals(obj)); }
public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteCreateTriggerStatement dst = obj as SQLiteCreateTriggerStatement; if (dst == null) { return(false); } if (this._isTemp != dst._isTemp || this._ifNotExists != dst._ifNotExists || this._triggerTime != dst._triggerTime || this._foreachClause != dst._foreachClause) { return(false); } if (!RefCompare.CompareMany(_triggerEventClause, dst._triggerEventClause, _table, dst._table, _whenExpr, dst._whenExpr)) { return(false); } if (!RefCompare.CompareList <SQLiteStatement>(_slist, dst._slist)) { return(false); } return(base.Equals(obj)); }
public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteFromTable dst = obj as SQLiteFromTable; if (dst == null) { return(false); } if (_asName != dst._asName) { return(false); } if (!RefCompare.CompareMany(_table, dst._table, _itable, dst._itable, _indexed, dst._indexed, _onExpr, dst._onExpr)) { return(false); } if (!RefCompare.CompareList <string>(_usingOpt, dst._usingOpt)) { return(false); } return(true); }
public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteReferencesColumnConstraint dst = obj as SQLiteReferencesColumnConstraint; if (dst == null) { return(false); } if (_foreignTable != dst._foreignTable) { return(false); } if (!RefCompare.CompareList <SQLiteIndexedColumn>(_columns, dst._columns)) { return(false); } if (!RefCompare.CompareList <SQLiteReferenceHandler>(_handlers, dst._handlers)) { return(false); } return(base.Equals(obj)); }
public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteColumnStatement dst = obj as SQLiteColumnStatement; if (dst == null) { return(false); } if (!RefCompare.Compare(_type, dst._type)) { return(false); } if (!RefCompare.CompareList <SQLiteColumnConstraint>(_conslist, dst._conslist)) { return(false); } return(base.Equals(obj)); }
public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteInsertStatement dst = obj as SQLiteInsertStatement; if (dst == null) { return(false); } if (_table != dst._table) { return(false); } if (!RefCompare.CompareMany(_prefix, dst._prefix, _select, dst._select)) { return(false); } if (!RefCompare.CompareList <string>(_columns, dst._columns)) { return(false); } if (!RefCompare.CompareList <SQLiteExpression>(_values, dst._values)) { return(false); } return(base.Equals(obj)); }
public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteCaseExpression dst = obj as SQLiteCaseExpression; if (dst == null) { return(false); } if (!RefCompare.CompareMany(_caseOperand, dst._caseOperand, _caseElse, dst._caseElse)) { return(false); } if (!RefCompare.CompareList <SQLiteCaseItem>(_caseItems, dst._caseItems)) { return(false); } return(base.Equals(obj)); }
public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteFunctionExpression dst = obj as SQLiteFunctionExpression; if (dst == null) { return(false); } if (_id != dst._id || _distinct != dst._distinct) { return(false); } if (!RefCompare.CompareList <SQLiteExpression>(_exprlist, dst._exprlist)) { return(false); } return(base.Equals(obj)); }
public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteCreateTableStatement dst = obj as SQLiteCreateTableStatement; if (dst == null) { return(false); } if (dst.IfNotExists != this.IfNotExists) { return(false); } if (!RefCompare.CompareList <SQLiteColumnStatement>(_columns, dst._columns)) { return(false); } if (!RefCompare.CompareList <SQLiteTableConstraint>(_constraints, dst._constraints)) { return(false); } return(base.Equals(obj)); }
public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteFromClause dst = obj as SQLiteFromClause; if (dst == null) { return(false); } if (!RefCompare.CompareList <object>(_tables, dst._tables)) { return(false); } return(true); }
public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteSingleSelectStatement dst = obj as SQLiteSingleSelectStatement; if (dst == null) { return(false); } if (_distinct != dst._distinct) { return(false); } if (!RefCompare.CompareMany(_from, dst._from, _whereExpr, dst._whereExpr, _having, dst._having, _limit, dst._limit)) { return(false); } if (!RefCompare.CompareList <SQLiteSelectColumn>(_columns, dst._columns)) { return(false); } if (!RefCompare.CompareList <SQLiteExpression>(_groupBy, dst._groupBy)) { return(false); } if (!RefCompare.CompareList <SQLiteSortItem>(_orderBy, dst._orderBy)) { return(false); } return(base.Equals(obj)); }
public override bool Equals(object obj) { if (obj == null) { return(false); } SQLiteTriggerEventClause dst = obj as SQLiteTriggerEventClause; if (dst == null) { return(false); } if (!RefCompare.CompareList <string>(_columns, dst._columns)) { return(false); } if (_triggerEvent != dst._triggerEvent) { return(false); } return(true); }