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