Example #1
0
 public void QueryCollectionOfEntitiesFromDeepLevelNavigation()
 {
     foreach (var mimeType in mimeTypes)
     {
         var entry  = this.QueryEntry("VipCustomer/Company/Employees(3)/Company/VipCustomer", mimeType, "Customer");
         var entry1 = this.QueryEntry("VipCustomer", mimeType, "Customer");
         if (!mimeType.Contains(MimeTypes.ODataParameterNoMetadata))
         {
             ODataValueAssertEqualHelper.AssertODataPropertiesEqual(entry.Properties, entry1.Properties);
         }
     }
 }
Example #2
0
 public void QuerySingletonFromSingletonNavigation2()
 {
     foreach (var mimeType in mimeTypes)
     {
         var entry  = this.QueryEntry("VipCustomer/Company", mimeType, "Company");
         var entry1 = this.QueryEntry("Company", mimeType, "Company");
         if (!mimeType.Contains(MimeTypes.ODataParameterNoMetadata))
         {
             ODataValueAssertEqualHelper.AssertODataPropertiesEqual(entry.Properties, entry1.Properties);
         }
     }
 }