Class UserRole
Many-to-Many EF Model joining UserInfo and AppRole tables.
Inheritance
System.Object
UserRole
Namespace: LymeTemplateApi.Models
Assembly: LymeTemplateApi.Models.dll
Syntax
public class UserRole : object
Properties
AppRole
EF Navigation Property
Declaration
public Role AppRole { get; set; }
Property Value
| Type | Description |
|---|---|
| Role |
AppRoleId
Part of composite key, foreign key to AppRole table.
Declaration
public int AppRoleId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
UserInfo
EF Navigation Property
Declaration
public UserInfo UserInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| UserInfo |
UserInfoId
Part of composite key, foreign key to UserInfo table.
Declaration
public int UserInfoId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |