Partilhar via


Entity.Id Property

Definition

Gets or sets the ID of the record represented by this entity instance.

public:
 virtual property Guid Id { Guid get(); void set(Guid value); };
[System.Runtime.Serialization.DataMember]
public virtual Guid Id { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.Id : Guid with get, set
Public Overridable Property Id As Guid

Property Value

The ID of the record (entity instance).

Attributes

Applies to