public override ISchemaBase Clone(ISchemaBase parent) { Synonym item = new Synonym(parent); item.Id = this.Id; item.Name = this.Name; item.Owner = this.Owner; item.Value = this.Value; item.Guid = this.Guid; return(item); }
/// <summary> /// Compara dos Synonyms y devuelve true si son iguales, caso contrario, devuelve false. /// </summary> public static Boolean Compare(Synonym origin, Synonym destination) { if (destination == null) { throw new ArgumentNullException("destination"); } if (origin == null) { throw new ArgumentNullException("origin"); } if (!origin.Value.Equals(destination.Value)) { return(false); } return(true); }