public bool Equals(Meta other)
            {
                var entityEquals      = Entity.Equals(other.Entity);
                var associationEquals = AssociatedEntity.Equals(other.AssociatedEntity);
                var typeEquals        = AssociationType == other.AssociationType;

                if (entityEquals && associationEquals && typeEquals)
                {
                    return(true);
                }
                return(false);
            }
Exemplo n.º 2
0
 protected bool Equals(AssociatedEntity other)
 {
     return(string.Equals(Entity, other.Entity) && string.Equals(Id, other.Id));
 }