internal override void WriteNavigationOnDeleteActionElement(EdmOnDeleteAction operationAction) { this.xmlWriter.WriteStartElement(CsdlConstants.Element_OnDelete); this.WriteRequiredAttribute(CsdlConstants.Attribute_Action, operationAction.ToString(), EdmValueWriter.StringAsXml); this.WriteEndElement(); }
internal void WriteOperationActionElement(string elementName, EdmOnDeleteAction operationAction) { this.xmlWriter.WriteStartElement(elementName); this.WriteRequiredAttribute(CsdlConstants.Attribute_Action, operationAction.ToString(), EdmValueWriter.StringAsXml); this.WriteEndElement(); }
internal void WriteOperationActionElement(string elementName, EdmOnDeleteAction operationAction) { this.xmlWriter.WriteStartElement(elementName); this.WriteRequiredAttribute <string>("Action", operationAction.ToString(), new Func <string, string>(EdmValueWriter.StringAsXml)); this.WriteEndElement(); }