EdmScalarPropertyAttribute.EntityKeyProperty Property
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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om