Class GroupUser
Represents the many-to-many relationship between groups and users.
Inherited Members
Namespace: OEMS.Core.Domain.Klassen
Assembly: OEMS.Core.dll
Syntax
public class GroupUser
Properties
Group
Gets or sets the navigation property to the associated group.
Declaration
[ForeignKey("GroupId")]
public virtual Group Group { get; set; }
Property Value
Type | Description |
---|---|
Group | The group entity that the user belongs to. |
GroupId
Gets or sets the identifier of the group.
Declaration
[Key]
[Column(Order = 0)]
public Guid GroupId { get; set; }
Property Value
Type | Description |
---|---|
Guid | The GUID of the group in this user-group relationship. |
User
Gets or sets the navigation property to the associated user.
Declaration
[ForeignKey("UserId")]
public virtual User User { get; set; }
Property Value
Type | Description |
---|---|
User | The user entity that is a member of the group. |
UserId
Gets or sets the identifier of the user.
Declaration
[Key]
[Column(Order = 1)]
public Guid UserId { get; set; }
Property Value
Type | Description |
---|---|
Guid | The GUID of the user in this user-group relationship. |