Class DataViewStaffGroup
This class represents the EntityModel interface to the DataQueryStaffGroups database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class DataViewStaffGroup
Constructors
DataViewStaffGroup()
Declaration
public DataViewStaffGroup()
Properties
DataViewAccessLevel
Gets or sets the DataViewAccessLevel associated with this DataViewStaffGroup.
Declaration
public int DataViewAccessLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The DataViewAccessLevel. |
DataViewId
Gets or sets the DataViewId associated with this DataViewStaffGroup.
Declaration
public Guid DataViewId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid | The DataViewId. |
EntityState
Declaration
public int EntityState { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Id
Gets or sets the Id associated with this DataViewStaffGroup.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
StaffGroupId
Gets or sets the StaffGroupId associated with this DataViewStaffGroup.
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. |