ExtensionMethods.IsKey(IEdmProperty) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified property is a key for its contained type.
public static bool IsKey (this Microsoft.OData.Edm.IEdmProperty property);
static member IsKey : Microsoft.OData.Edm.IEdmProperty -> bool
<Extension()>
Public Function IsKey (property As IEdmProperty) As Boolean
Parameters
- property
- IEdmProperty
The property that may be a key.
Returns
True, if the property is a key, False if the property is not a key.