public bool Equals(EntityModel other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Guid.Equals(other.Guid) && EntityTypeGuid.Equals(other.EntityTypeGuid) && string.Equals(Name, other.Name));
 }
 public bool Equals(CalculationModel other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Guid.Equals(other.Guid) && EntityTypeGuid.Equals(other.EntityTypeGuid) && string.Equals(Name, other.Name) && string.Equals(Unit, other.Unit) && string.Equals(RootExpression, other.RootExpression));
 }