23 references to XmlConstants
System.Data.Services.Design (23)
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (5)
65return GetAccessibilityValue(item, XmlConstants.GetterAccess); 70return GetAccessibilityValue(item, XmlConstants.SetterAccess); 75return GetAccessibilityValue(item, XmlConstants.GetterAccess); 79return GetAccessibilityValue(item, XmlConstants.TypeAccess); 107if (item.MetadataProperties.TryGetValue(Utils.GetFullyQualifiedCodeGenerationAttributeName(XmlConstants.TypeAccess), false, out metadataProperty))
System\Data\EntityModel\Emitters\Utils.cs (1)
307return XmlConstants.CodeGenerationSchemaNamespace + ":" + attribute;
System\Data\EntityModel\EntityClassGenerator.cs (17)
205targetNamespace == XmlConstants.EdmV1dot1Namespace, 350namespaceManager.AddNamespace("m", XmlConstants.DataWebMetadataNamespace); 351namespaceManager.AddNamespace("edmx", XmlConstants.EdmxNamespace); 352namespaceManager.AddNamespace("edmv1", XmlConstants.EdmV1Namespace); 353namespaceManager.AddNamespace("edmv1_1", XmlConstants.EdmV1dot1Namespace); 378XElement fitted = FitElementToSchema(schemaElements[i], schemaNamespace, XmlConstants.EdmV1dot1Namespace); 424return namespaceName == XmlConstants.EdmV1Namespace || namespaceName == XmlConstants.EdmV1dot1Namespace; 462if (root.Name.LocalName == XmlConstants.EdmxElement) 464XElement dataServiceElement = root.Elements().Where(e => e.Name.LocalName == XmlConstants.EdmxDataServicesElement).FirstOrDefault(); 467XNamespace metadataNs = XmlConstants.DataWebMetadataNamespace; 468XAttribute version = dataServiceElement.Attributes(metadataNs + XmlConstants.HttpDataServiceVersion).FirstOrDefault(); 469if (version != null && version.Value != XmlConstants.DataServiceVersion1Dot0 && version.Value != XmlConstants.DataServiceVersion2Dot0) 540XAttribute existingAttribute = e.Attributes().SingleOrDefault(a => a.Name.NamespaceName == XmlConstants.EdmV1dot2Namespace && a.Name.LocalName == attribute.Name.LocalName); 544e.Add(new XAttribute(XNamespace.Get(XmlConstants.EdmV1dot2Namespace) + attribute.Name.LocalName, attribute.Value)); 615return attribute.Name.LocalName == XmlConstants.DataWebOpenTypeAttributeName && attribute.Name.Namespace == XNamespace.None;