/// <summary> /// Override of <see cref="object.GetHashCode"/> method for <see cref="SQLQuery"/>. /// </summary> /// <returns><see cref="int"/> HashCode</returns> public override int GetHashCode() { return(HashCodeGenerator.StartHash().Hash(SQL).Hash(DbTableName).Hash(TObjects).Hash(CommandType).Hash(IsBulk).Hash(BatchSize)); }
public void HashCodeGenerator_Returns_0_For_Null(object TObject, int hashCode) { Assert.Equal(HashCodeGenerator.StartHash().Hash(TObject), hashCode); }