Class SecurityMenuAuthorization
This class represents the EntityModel interface to the SySecurity database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class SecurityMenuAuthorization
Constructors
SecurityMenuAuthorization()
Declaration
public SecurityMenuAuthorization()
Properties
AccessLevel
Gets or sets the AccessLevel associated with this SecurityMenuAuthorization.
Declaration
public int AccessLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The AccessLevel. |
Id
Gets or sets the Id associated with this SecurityMenuAuthorization.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
MenuOption
Gets or sets the MenuOption associated with this SecurityMenuAuthorization.
Declaration
public string MenuOption { get; set; }
Property Value
Type | Description |
---|---|
System.String | The MenuOption. |
StaffGroup
Declaration
public virtual StaffGroup StaffGroup { get; set; }
Property Value
Type | Description |
---|---|
StaffGroup |
StaffGroupId
Gets or sets the StaffGroupId associated with this SecurityMenuAuthorization.
Declaration
public int StaffGroupId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The StaffGroupId. |
Methods
GeneratedInitializer()
This is the auto-generated initializer that knows how to deal with any relationship initialization for auto-generated relationships.
Declaration
public void GeneratedInitializer()
SetupFluentMappings(DbModelBuilder)
Any type of relationship that can't be inferred from the entity annotations must be done by hand using the Fluent api. Handle those relationships here.
Declaration
public static void SetupFluentMappings(DbModelBuilder modelBuilder)
Parameters
Type | Name | Description |
---|---|---|
System.Data.Entity.DbModelBuilder | modelBuilder | The DbModelBuilder that has all of the model entities. |