EdmEntityType.AddKeys 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.
Overloads
AddKeys(IEdmStructuralProperty[]) |
Adds the |
AddKeys(IEnumerable<IEdmStructuralProperty>) |
Adds the |
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.