Share via


EntityTypeConfiguration.Keys Property

Gets the collection of keys for this entity type.

Namespace:  System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property Keys As IEnumerable(Of PrimitivePropertyConfiguration)
    Get
'Usage
Dim instance As EntityTypeConfiguration 
Dim value As IEnumerable(Of PrimitivePropertyConfiguration)

value = instance.Keys
public virtual IEnumerable<PrimitivePropertyConfiguration> Keys { get; }
public:
virtual property IEnumerable<PrimitivePropertyConfiguration^>^ Keys {
    IEnumerable<PrimitivePropertyConfiguration^>^ get ();
}
abstract Keys : IEnumerable<PrimitivePropertyConfiguration>
override Keys : IEnumerable<PrimitivePropertyConfiguration>
function get Keys () : IEnumerable<PrimitivePropertyConfiguration>

Property Value

Type: System.Collections.Generic.IEnumerable<PrimitivePropertyConfiguration>
The collection of keys for this entity type.

See Also

Reference

EntityTypeConfiguration Class

System.Web.Http.OData.Builder Namespace