private void WriteReferenceChangeContent(System.Xml.XmlWriter writer, ReferenceHistoryEntry entry, string id) { if (entry.Status == SchemaObjectStatus.Normal) { writer.WriteString("与" + HttpUtility.HtmlEncode(entry.Name) + "(" + HttpUtility.HtmlEncode(entry.DisplayName) + ") 建立关系"); } else { writer.WriteString("与" + HttpUtility.HtmlEncode(entry.Name) + "(" + HttpUtility.HtmlEncode(entry.DisplayName) + ") 解除关系"); } }
private void WriteReferenceChangeTitle(System.Xml.XmlWriter writer, ReferenceHistoryEntry entry) { writer.WriteStartAttribute("title"); if (entry.Status == SchemaObjectStatus.Normal) { writer.WriteString("建立关系"); } else { writer.WriteString("解除关系"); } writer.WriteEndAttribute(); }
private void WriteReferenceChangeContent(System.Xml.XmlWriter writer, ReferenceHistoryEntry entry, string id) { if (entry.Status == SchemaObjectStatus.Normal) { writer.WriteString("与" + HttpUtility.HtmlEncode(entry.Name) + "(" + HttpUtility.HtmlEncode(entry.DisplayName) + ") 建立关系"); } else { writer.WriteString("与" + HttpUtility.HtmlEncode(entry.Name) + "(" + HttpUtility.HtmlEncode(entry.DisplayName) + ") 解除关系"); } }
private void WriteReferenceChangeTitle(System.Xml.XmlWriter writer, ReferenceHistoryEntry entry) { writer.WriteStartAttribute("title"); if (entry.Status == SchemaObjectStatus.Normal) { writer.WriteString("建立关系"); } else { writer.WriteString("解除关系"); } writer.WriteEndAttribute(); }