2 instantiations of AtomEntry
System.Data.Services.Client (2)
System\Data\Services\Client\AtomParser.cs (2)
724
property.Entry = new
AtomEntry
();
887
targetEntry = new
AtomEntry
();
77 references to AtomEntry
System.Data.Services.Client (77)
System\Data\Services\Client\AtomContentProperty.cs (1)
89
public
AtomEntry
Entry
System\Data\Services\Client\AtomFeed.cs (1)
60
public IEnumerable<
AtomEntry
> Entries
System\Data\Services\Client\AtomMaterializer.cs (45)
77
Debug.Assert(entry.GetType() == typeof(
AtomEntry
), "entry.GetType() == typeof(AtomEntry)");
79
return AtomMaterializer.ProjectionCheckValueForPathIsNull((
AtomEntry
)entry, expectedType, (ProjectionPath)path);
99
Debug.Assert(entry.GetType() == typeof(
AtomEntry
), "entry.GetType() == typeof(AtomEntry)");
101
return AtomMaterializer.ProjectionSelect((AtomMaterializer)materializer, (
AtomEntry
)entry, expectedType, resultType, (ProjectionPath)path, selector);
108
internal static
AtomEntry
ProjectionGetEntry(object entry, string name)
110
Debug.Assert(entry.GetType() == typeof(
AtomEntry
), "entry.GetType() == typeof(AtomEntry)");
111
return AtomMaterializer.ProjectionGetEntry((
AtomEntry
)entry, name);
131
Debug.Assert(entry.GetType() == typeof(
AtomEntry
), "entry.GetType() == typeof(AtomEntry)");
132
return AtomMaterializer.ProjectionInitializeEntity((AtomMaterializer)materializer, (
AtomEntry
)entry, expectedType, resultType, properties, propertyValues);
148
Debug.Assert(entry.GetType() == typeof(
AtomEntry
), "entry.GetType() == typeof(AtomEntry)");
150
return AtomMaterializer.ProjectionValueForPath((AtomMaterializer)materializer, (
AtomEntry
)entry, expectedType, (ProjectionPath)path);
161
Debug.Assert(entry.GetType() == typeof(
AtomEntry
), "entry.GetType() == typeof(AtomEntry)");
162
return AtomMaterializer.DirectMaterializePlan((AtomMaterializer)materializer, (
AtomEntry
)entry, expectedEntryType);
173
Debug.Assert(entry.GetType() == typeof(
AtomEntry
), "entry.GetType() == typeof(AtomEntry)");
174
return AtomMaterializer.ShallowMaterializePlan((AtomMaterializer)materializer, (
AtomEntry
)entry, expectedEntryType);
320
internal
AtomEntry
CurrentEntry
487
AtomEntry
entry,
550
AtomEntry
entry,
586
foreach (
var
paramEntry in sourceFeed.Entries)
606
internal static
AtomEntry
ProjectionGetEntry(
AtomEntry
entry, string name)
631
AtomEntry
entry,
702
internal static object ProjectionValueForPath(AtomMaterializer materializer,
AtomEntry
entry, Type expectedType, ProjectionPath path)
843
internal static void ProjectionEnsureEntryAvailableOfType(AtomMaterializer materializer,
AtomEntry
entry, Type requiredType)
889
internal static object DirectMaterializePlan(AtomMaterializer materializer,
AtomEntry
entry, Type expectedEntryType)
900
internal static object ShallowMaterializePlan(AtomMaterializer materializer,
AtomEntry
entry, Type expectedEntryType)
1051
private static void CheckEntryToAccessNotNull(
AtomEntry
entry, string name)
1178
IEnumerable<
AtomEntry
> entries)
1184
foreach (
AtomEntry
feedEntry in entries)
1432
private static void ApplyEntityPropertyMappings(
AtomEntry
entry, ClientType entryType)
1461
private static void ApplyEntityPropertyMappings(
AtomEntry
entry, XElement entryElement, EpmTargetPathSegment target)
1543
private static AtomContentProperty GetPropertyOrThrow(
AtomEntry
entry, string propertyName)
1570
private void MergeLists(
AtomEntry
entry, ClientType.ClientProperty property, IEnumerable list, Uri nextLink, ProjectionPlan plan)
1601
private bool TryResolveAsTarget(
AtomEntry
entry)
1628
private bool TryResolveFromContext(
AtomEntry
entry, Type expectedEntryType)
1667
private void ResolveByCreatingWithType(
AtomEntry
entry, Type type)
1687
private void ResolveByCreating(
AtomEntry
entry, Type expectedEntryType)
1704
private bool TryResolveAsCreated(
AtomEntry
entry)
1706
AtomEntry
existingEntry;
1730
private void ResolveOrCreateInstance(
AtomEntry
entry, Type expectedEntryType)
1769
AtomEntry
entry,
1779
foreach (
AtomEntry
feedEntry in feed.Entries)
1798
AtomEntry
entry,
1887
private void Materialize(
AtomEntry
entry, Type expectedEntryType, bool includeLinks)
1907
private void MaterializeResolvedEntry(
AtomEntry
entry, bool includeLinks)
System\Data\Services\Client\AtomMaterializerLog.cs (19)
38
private readonly Dictionary<String,
AtomEntry
> appendOnlyEntries;
41
private readonly Dictionary<String,
AtomEntry
> foundEntriesWithMedia;
44
private readonly Dictionary<String,
AtomEntry
> identityStack;
70
this.appendOnlyEntries = new Dictionary<string,
AtomEntry
>(EqualityComparer<String>.Default);
73
this.foundEntriesWithMedia = new Dictionary<String,
AtomEntry
>(EqualityComparer<String>.Default);
74
this.identityStack = new Dictionary<String,
AtomEntry
>(EqualityComparer<String>.Default);
108
foreach (KeyValuePair<String,
AtomEntry
> entity in this.identityStack)
110
AtomEntry
entry = entity.Value;
135
foreach (
AtomEntry
entry in this.foundEntriesWithMedia.Values)
202
internal void FoundExistingInstance(
AtomEntry
entry)
232
internal void FoundTargetInstance(
AtomEntry
entry)
252
internal bool TryResolve(
AtomEntry
entry, out
AtomEntry
existingEntry)
292
internal void AddedLink(
AtomEntry
source, string propertyName, object target)
314
internal void CreatedInstance(
AtomEntry
entry)
340
internal void RemovedLink(
AtomEntry
source, string propertyName, object target)
360
internal void SetLink(
AtomEntry
source, string propertyName, object target)
387
private static bool ShouldTrackWithContext(
AtomEntry
entry)
416
private void ApplyMediaEntryInformation(
AtomEntry
entry, EntityDescriptor descriptor)
System\Data\Services\Client\AtomParser.cs (10)
69
private
AtomEntry
entry;
118
internal
AtomEntry
CurrentEntry
529
private void ParseCurrentContent(
AtomEntry
targetEntry)
583
private void ParseCurrentLink(
AtomEntry
targetEntry)
660
AtomEntry
nestedEntry = null;
661
List<
AtomEntry
> feedEntries = null;
675
feedEntries = new List<
AtomEntry
>();
720
property.Feed.Entries = Enumerable.Empty<
AtomEntry
>();
731
property.Entry = propertyValue as
AtomEntry
;
873
private void ParseCurrentEntry(out
AtomEntry
targetEntry)
System\Data\Services\Client\ProjectionPlan.cs (1)
75
internal object Run(AtomMaterializer materializer,
AtomEntry
entry, Type expectedType)