28 references to SourcePath
System.Data.Services (18)
System\Data\Services\Epm\EpmContentDeSerializerBase.cs (1)
94
return propertiesApplied.Lookup(targetSegment.EpmInfo.Attribute.
SourcePath
);
System\Data\Services\Epm\EpmContentSerializer.cs (1)
150
foreach (var segment in epmInfo.Attribute.
SourcePath
.Split('/'))
System\Data\Services\Epm\EpmSourceTree.cs (2)
68
String sourceName = epmInfo.Attribute.
SourcePath
;
105
throw new InvalidOperationException(Strings.EpmSourceTree_DuplicateEpmAttrsWithSameSourceName(epmInfo.Attribute.
SourcePath
, epmInfo.DefiningType.Name));
System\Data\Services\Epm\EpmTargetTree.cs (2)
121
throw new ArgumentException(Strings.EpmTargetTree_DuplicateEpmAttrsWithSameTargetName(EpmTargetTree.GetPropertyNameFromEpmInfo(currentSegment.EpmInfo), currentSegment.EpmInfo.DefiningType.Name, currentSegment.EpmInfo.Attribute.
SourcePath
, epmInfo.Attribute.
SourcePath
));
System\Data\Services\Providers\EntityPropertyMappingInfo.cs (2)
89
Debug.Assert(!string.IsNullOrEmpty(attribute.
SourcePath
), "Invalid source path");
90
this.segmentedSourcePath = attribute.
SourcePath
.Split('/');
System\Data\Services\Providers\ResourceType.cs (4)
749
currentSegment.EpmInfo.Attribute.
SourcePath
.Split('/'),
1162
int indexOfSeparator = epmAttr.
SourcePath
.IndexOf('/');
1163
String propertyToLookFor = indexOfSeparator == -1 ? epmAttr.
SourcePath
: epmAttr.
SourcePath
.Substring(0, indexOfSeparator);
System\Data\Services\Serializers\MetadataSerializer.cs (6)
425
removePrefix ? attr.
SourcePath
.Substring(attr.
SourcePath
.IndexOf('/') + 1) : attr.
SourcePath
);
504
var currentEpmInfos = type.OwnEpmInfo.Where(e => e.
SourcePath
.Split('/').First() == resourceProperty.Name);
520
var currentEpmInfos = type.OwnEpmInfo.Where(e => e.
SourcePath
.Split('/').First() == resourceProperty.Name);
521
WriteEpmProperties(xmlWriter, currentEpmInfos, currentEpmInfos.Any(ei => ei.
SourcePath
== resourceProperty.Name), true);
System.Data.Services.Client (8)
parent\Server\System\Data\Services\Epm\EpmSourceTree.cs (2)
68
String sourceName = epmInfo.Attribute.
SourcePath
;
110
throw new InvalidOperationException(Strings.EpmSourceTree_DuplicateEpmAttrsWithSameSourceName(epmInfo.Attribute.
SourcePath
, epmInfo.DefiningType.Name));
parent\Server\System\Data\Services\Epm\EpmTargetTree.cs (2)
121
throw new ArgumentException(Strings.EpmTargetTree_DuplicateEpmAttrsWithSameTargetName(EpmTargetTree.GetPropertyNameFromEpmInfo(currentSegment.EpmInfo), currentSegment.EpmInfo.DefiningType.Name, currentSegment.EpmInfo.Attribute.
SourcePath
, epmInfo.Attribute.
SourcePath
));
parent\Server\System\Data\Services\Providers\EntityPropertyMappingInfo.cs (2)
89
Debug.Assert(!string.IsNullOrEmpty(attribute.
SourcePath
), "Invalid source path");
90
this.segmentedSourcePath = attribute.
SourcePath
.Split('/');
System\Data\Services\Client\AtomMaterializer.cs (2)
1483
string path = segment.EpmInfo.Attribute.
SourcePath
;
1500
SetValueOnPath(entry.DataValues, item.EpmInfo.Attribute.
SourcePath
, attribute.Value, null);
System.Data.Services.Design (2)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (2)
500
AddAttributeArguments(attribute, new object[] { epmAttr.
SourcePath
, syndicationItem, contentKind, epmAttr.KeepInContent });
509
AddAttributeArguments(attribute, new object[] { epmAttr.
SourcePath
, epmAttr.TargetPath, epmAttr.TargetNamespacePrefix, epmAttr.TargetNamespaceUri, epmAttr.KeepInContent });