EntityTypeConfiguration.RemoveKey Method
Removes the property from the entity keys collection.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Overridable Sub RemoveKey ( _
keyProperty As PrimitivePropertyConfiguration _
)
'Usage
Dim instance As EntityTypeConfiguration
Dim keyProperty As PrimitivePropertyConfiguration
instance.RemoveKey(keyProperty)
public virtual void RemoveKey(
PrimitivePropertyConfiguration keyProperty
)
public:
virtual void RemoveKey(
PrimitivePropertyConfiguration^ keyProperty
)
abstract RemoveKey :
keyProperty:PrimitivePropertyConfiguration -> unit
override RemoveKey :
keyProperty:PrimitivePropertyConfiguration -> unit
public function RemoveKey(
keyProperty : PrimitivePropertyConfiguration
)
Parameters
- keyProperty
Type: System.Web.Http.OData.Builder.PrimitivePropertyConfiguration
The key to be removed.