EdmEntityType.AddKeys Method (array<IEdmStructuralProperty[])
Adds the keyProperties to the key of this entity type.
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Sub AddKeys ( _
ParamArray keyProperties As IEdmStructuralProperty() _
)
'Usage
Dim instance As EdmEntityType
Dim keyProperties As IEdmStructuralProperty()
instance.AddKeys(keyProperties)
public void AddKeys(
params IEdmStructuralProperty[] keyProperties
)
public:
void AddKeys(
... array<IEdmStructuralProperty^>^ keyProperties
)
member AddKeys :
keyProperties:IEdmStructuralProperty[] -> unit
public function AddKeys(
... keyProperties : IEdmStructuralProperty[]
)
Parameters
- keyProperties
Type: array<Microsoft.Data.Edm.IEdmStructuralProperty[]
The key properties.