Class EmployerGroupMember
This class represents the EntityModel interface to the SyEmpGrp database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class EmployerGroupMember
Constructors
EmployerGroupMember()
Declaration
public EmployerGroupMember()
Properties
AddedByUser
Declaration
public virtual Staff AddedByUser { get; set; }
Property Value
| Type | Description |
|---|---|
| Staff |
AddedByUserId
Gets or sets the AddedByUserId associated with this EmployerGroupMember.
Declaration
public int AddedByUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The AddedByUserId. |
CampusGroup
Declaration
public virtual CampusGroup CampusGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| CampusGroup |
CampusGroupId
Gets or sets the CampusGroupId associated with this EmployerGroupMember.
Declaration
public int CampusGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The CampusGroupId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this EmployerGroupMember.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
EffectiveDate
Gets or sets the EffectiveDate associated with this EmployerGroupMember.
Declaration
public DateTime EffectiveDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The EffectiveDate. |
Employer
Declaration
public virtual Employer Employer { get; set; }
Property Value
| Type | Description |
|---|---|
| Employer |
EmployerGroup
Declaration
public virtual EmployerGroup EmployerGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| EmployerGroup |
EmployerGroupId
Gets or sets the EmployerGroupId associated with this EmployerGroupMember.
Declaration
public int EmployerGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The EmployerGroupId. |
EmployerId
Gets or sets the EmployerId associated with this EmployerGroupMember.
Declaration
public int EmployerId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The EmployerId. |
Id
Gets or sets the Id associated with this EmployerGroupMember.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this EmployerGroupMember.
Declaration
public bool IsActive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsActive. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this EmployerGroupMember.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
RemovedByUser
Declaration
public virtual Staff RemovedByUser { get; set; }
Property Value
| Type | Description |
|---|---|
| Staff |
RemovedByUserId
Gets or sets the RemovedByUserId associated with this EmployerGroupMember.
Declaration
public int? RemovedByUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The RemovedByUserId. |
RemovedDate
Gets or sets the RemovedDate associated with this EmployerGroupMember.
Declaration
public DateTime? RemovedDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The RemovedDate. |
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. |