예제 #1
0
 /// <summary>
 /// Entity가 Transient라면 Identity가 둘다 default(IdT) 값을 가지므로,
 /// 두 entity가 Business 적으로 같은지 파악한다. 이것은 GetHashCode()로 구분한다.
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 private bool HasSameBusinessSignature(IDataEntity <TId> other)
 {
     return((ReferenceEquals(other, null) == false) && GetHashCode().Equals(other.GetHashCode()));
 }