コード例 #1
0
 /// <summary>Provides support for getting payload entries during projections.</summary>
 /// <param name="entry">Entry to get sub-entry from.</param>
 /// <param name="name">Name of sub-entry.</param>
 /// <returns>The sub-entry (never null).</returns>
 internal static object ProjectionGetEntry(object entry, string name)
 {
     Debug.Assert(entry.GetType() == typeof(ODataEntry), "entry.GetType() == typeof(ODataEntry)");
     return(ODataEntityMaterializer.ProjectionGetEntry(MaterializerEntry.GetEntry((ODataEntry)entry), name));
 }
コード例 #2
0
 internal static object ProjectionGetEntry(object entry, string name)
 {
     return(ODataEntityMaterializer.ProjectionGetEntry(MaterializerEntry.GetEntry((ODataEntry)entry), name));
 }