public virtual bool Equals(VEmployeeDepartmentHistoryBase toObject) { if (toObject == null) return false; return Equals(this, toObject); }