5 writes to Value
System.Data.Services.Design (2)
System\Data\EntityModel\EntityClassGenerator.cs (2)
524
attribute.
Value
= newNamespaceName;
548
existingAttribute.
Value
= attribute.Value;
System.Xml.Linq (3)
System\Xml\Linq\XComponentModel.cs (1)
389
attribute.
Value
= value as string;
System\Xml\Linq\XLinq.cs (2)
4355
a.
Value
= GetStringValue(value);
6699
Value
= XContainer.GetStringValue(value);
36 references to Value
System.Data.Services.Client (1)
System\Data\Services\Client\AtomMaterializer.cs (1)
1500
SetValueOnPath(entry.DataValues, item.EpmInfo.Attribute.SourcePath, attribute.
Value
, null);
System.Data.Services.Design (12)
System\Data\EntityModel\EntityClassGenerator.cs (7)
469
if (version != null && version.
Value
!= XmlConstants.DataServiceVersion1Dot0 && version.
Value
!= XmlConstants.DataServiceVersion2Dot0)
471
throw new InvalidOperationException(Strings.InvalidMetadataDataServiceVersion(version.
Value
));
522
if (attribute.
Value
== oldNamespaceName)
544
e.Add(new XAttribute(XNamespace.Get(XmlConstants.EdmV1dot2Namespace) + attribute.Name.LocalName, attribute.
Value
));
548
existingAttribute.Value = attribute.
Value
;
553
e.Add(new XAttribute(newNamespace.GetName(attribute.Name.LocalName), attribute.
Value
));
System\Data\Services\Design\Xml\XNodeSchemaApplier.cs (5)
306
namespaceManager.AddNamespace(localName, attribute.
Value
);
333
namespaceManager.AddNamespace(localName, attribute.
Value
);
340
xsiType = attribute.
Value
;
344
xsiNil = attribute.
Value
;
360
validator.ValidateAttribute(attribute.Name.LocalName, attribute.Name.NamespaceName, attribute.
Value
, null);
System.Xml.Linq (23)
System\Xml\Linq\XComponentModel.cs (1)
383
return attribute.
Value
;
System\Xml\Linq\XLinq.cs (16)
3810
if (a.
Value
== namespaceName) {
5044
if (a.IsNamespaceDeclaration && a.Name.LocalName == prefix) return a.
Value
;
5204
resolver.AddFirst(a.Name.NamespaceName.Length == 0 ? string.Empty : a.Name.LocalName, XNamespace.Get(a.
Value
));
5218
resolver.Add(a.Name.NamespaceName.Length == 0 ? string.Empty : a.Name.LocalName, XNamespace.Get(a.
Value
));
5245
writer.WriteAttributeString(GetPrefixOfNamespace(ns, false), localName, namespaceName.Length == 0 && localName == "xmlns" ? XNamespace.xmlnsPrefixNamespace : namespaceName, a.
Value
);
6692
/// representation and assigned to the <see cref="
Value
"/> property.
7419
writer.WriteAttributeString(GetPrefixOfNamespace(ns, false), localName, namespaceName.Length == 0 && localName == "xmlns" ? XNamespace.xmlnsPrefixNamespace : namespaceName, a.
Value
);
7440
resolver.Add(a.Name.NamespaceName.Length == 0 ? string.Empty : a.Name.LocalName, XNamespace.Get(a.
Value
));
8349
return ((XAttribute)o).
Value
;
8378
return a.
Value
;
8398
switch (a.
Value
.Trim(new char[] {' ', '\t', '\n', '\r'})) {
8438
return a.
Value
;
8480
return a.
Value
;
8504
return a.
Value
;
9157
if (a.
Value
== candidateAttribute.
Value
) {
System\Xml\Linq\XNodeNavigator.cs (1)
246
return ((XAttribute)o).
Value
;
System\Xml\Linq\XNodeValidator.cs (5)
156
namespaceManager.AddNamespace(localName, a.
Value
);
176
namespaceManager.AddNamespace(localName, a.
Value
);
181
xsiType = a.
Value
;
184
xsiNil = a.
Value
;
206
validator.ValidateAttribute(a.Name.LocalName, a.Name.NamespaceName, a.
Value
, si);