forked from OData/odata.net
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Capabilities supports in OData Lib.
- Loading branch information
Showing
9 changed files
with
1,751 additions
and
37 deletions.
There are no files selected for viewing
212 changes: 212 additions & 0 deletions
212
src/Microsoft.OData.Edm/ExtensionMethods/ExtensionMethods.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/Microsoft.OData.Edm/Vocabularies/CapabilitiesNavigationType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
//--------------------------------------------------------------------- | ||
// <copyright file="CapabilitiesNavigationType.cs" company="Microsoft"> | ||
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. | ||
// </copyright> | ||
//--------------------------------------------------------------------- | ||
|
||
namespace Microsoft.OData.Edm.Vocabularies.V1 | ||
{ | ||
public enum CapabilitiesNavigationType | ||
{ | ||
/// <summary> | ||
/// Navigation properties can be recursively navigated. | ||
/// </summary> | ||
Recursive, | ||
|
||
/// <summary> | ||
/// Navigation properties can be navigated to a single level. | ||
/// </summary> | ||
Single, | ||
|
||
/// <summary> | ||
/// Navigation properties are not navigable. | ||
/// </summary> | ||
None | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.