Share via


ExtensionMethods.IsKey(IEdmProperty) Method

Definition

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.

Applies to