Muokkaa

Jaa


EdmScalarPropertyAttribute.EntityKeyProperty Property

Definition

Gets or sets the value that indicates whether the property is part of the entity key.

public:
 property bool EntityKeyProperty { bool get(); void set(bool value); };
public bool EntityKeyProperty { get; set; }
member this.EntityKeyProperty : bool with get, set
Public Property EntityKeyProperty As Boolean

Property Value

The value that indicates whether the property is part of the entity key.

Remarks

Because an entity key can contain more than one property, the EntityKeyProperty can be set to true for more than one property of an entity type.

The IsNullable and EntityKeyProperty properties cannot both be true because key members cannot be null.

Applies to