Jaa


EdmEntityType.AddKeys Method

Definition

Overloads

AddKeys(IEdmStructuralProperty[])

Adds the keyProperties to the key of this entity type.

AddKeys(IEnumerable<IEdmStructuralProperty>)

Adds the keyProperties to the key of this entity type.

AddKeys(IEdmStructuralProperty[])

Adds the keyProperties to the key of this entity type.

public void AddKeys (params Microsoft.OData.Edm.IEdmStructuralProperty[] keyProperties);
member this.AddKeys : Microsoft.OData.Edm.IEdmStructuralProperty[] -> unit
Public Sub AddKeys (ParamArray keyProperties As IEdmStructuralProperty())

Parameters

keyProperties
IEdmStructuralProperty[]

The key properties.

Applies to

AddKeys(IEnumerable<IEdmStructuralProperty>)

Adds the keyProperties to the key of this entity type.

public void AddKeys (System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmStructuralProperty> keyProperties);
member this.AddKeys : seq<Microsoft.OData.Edm.IEdmStructuralProperty> -> unit
Public Sub AddKeys (keyProperties As IEnumerable(Of IEdmStructuralProperty))

Parameters

keyProperties
IEnumerable<IEdmStructuralProperty>

The key properties.

Applies to