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); } } }
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); } } }