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