예제 #1
0
 /// <summary>
 /// 获取哈希码。
 /// </summary>
 /// <returns>返回 32 位整数。</returns>
 public override int GetHashCode()
 => TableName.CompatibleGetHashCode() ^ EntityId.CompatibleGetHashCode() ^ State.GetHashCode();
예제 #2
0
 /// <summary>
 /// 获取哈希码。
 /// </summary>
 /// <returns>返回 32 位整数。</returns>
 public override int GetHashCode()
 => Schema.CompatibleGetHashCode() ^ TableName.CompatibleGetHashCode();