Class WlmContract
This class represents the EntityModel interface to the AdWlmContract database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Academics
Assembly: Cmc.Nexus.Models.dll
Syntax
public class WlmContract
Constructors
WlmContract()
Declaration
public WlmContract()
Properties
ContractFileName
Gets or sets the ContractFileName associated with this WlmContract.
Declaration
public string ContractFileName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ContractFileName. |
CreatedByUserId
Gets or sets the CreatedByUserId associated with this WlmContract.
Declaration
public int CreatedByUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The CreatedByUserId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this WlmContract.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
Id
Gets or sets the Id associated with this WlmContract.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this WlmContract.
Declaration
public bool IsActive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsActive. |
IsContractReopened
Gets or sets the IsContractReopened associated with this WlmContract.
Declaration
public bool IsContractReopened { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsContractReopened. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this WlmContract.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this WlmContract.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
Note
Gets or sets the Note associated with this WlmContract.
Declaration
public string Note { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Note. |
Staff
Declaration
public virtual Staff Staff { get; set; }
Property Value
| Type | Description |
|---|---|
| Staff |
StaffId
Gets or sets the StaffId associated with this WlmContract.
Declaration
public int StaffId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The StaffId. |
Status
Gets or sets the Status associated with this WlmContract.
Declaration
public string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Status. |
Term
Declaration
public virtual Term Term { get; set; }
Property Value
| Type | Description |
|---|---|
| Term |
TermId
Gets or sets the TermId associated with this WlmContract.
Declaration
public int? TermId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The TermId. |
WlmContractTemplate
Declaration
public virtual WlmContractTemplate WlmContractTemplate { get; set; }
Property Value
| Type | Description |
|---|---|
| WlmContractTemplate |
WlmContractTemplateId
Gets or sets the WlmContractTemplateId associated with this WlmContract.
Declaration
public int WlmContractTemplateId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The WlmContractTemplateId. |
WlmStaffPositionAssignment
Declaration
public virtual WlmStaffPositionAssignment WlmStaffPositionAssignment { get; set; }
Property Value
| Type | Description |
|---|---|
| WlmStaffPositionAssignment |
WlmStaffPositionAssignmentId
Gets or sets the WlmStaffPositionAssignmentId associated with this WlmContract.
Declaration
public int WlmStaffPositionAssignmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The WlmStaffPositionAssignmentId. |
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. |