示例#1
0
 public bool Equals(DomainEntity other) => other == null ? false : Id.Equals(other.Id);
示例#2
0
 public bool Equals(DomainEntity other) => other != null && Id.Equals(other.Id);