public bool Equals(BaseMongoDocument <TId> other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Id.Equals(other.Id));
 }
示例#2
0
 protected bool Equals(BaseMongoDocument other)
 {
     return(Id.Equals(other.Id));
 }