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