Class StudentAgencyBranch
This class represents the EntityModel interface to the SyStudentAgency database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class StudentAgencyBranch
Constructors
StudentAgencyBranch()
Declaration
public StudentAgencyBranch()
Properties
AgencyBranch
Declaration
public virtual AgencyBranch AgencyBranch { get; set; }
Property Value
| Type | Description |
|---|---|
| AgencyBranch |
AgencyBranchId
Gets or sets the AgencyBranchId associated with this StudentAgencyBranch.
Declaration
public int AgencyBranchId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The AgencyBranchId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this StudentAgencyBranch.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
EndDate
Gets or sets the EndDate associated with this StudentAgencyBranch.
Declaration
public DateTime? EndDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The EndDate. |
ExtendedProperties
Extended Properties
Declaration
public ICollection<StudentAgencyBranchExtendedProperty> ExtendedProperties { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<StudentAgencyBranchExtendedProperty> |
Id
Gets or sets the Id associated with this StudentAgencyBranch.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsExcludedCrmIntegration
Gets or sets the IsExcludedCrmIntegration associated with this StudentAgencyBranch.
Declaration
public bool IsExcludedCrmIntegration { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsExcludedCrmIntegration. |
IsPrimaryBillingAffiliate
Gets or sets the IsPrimaryBillingAffiliate associated with this StudentAgencyBranch.
Declaration
public bool IsPrimaryBillingAffiliate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsPrimaryBillingAffiliate. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this StudentAgencyBranch.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this StudentAgencyBranch.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
Location
Gets or sets the Location associated with this StudentAgencyBranch.
Declaration
public string Location { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Location. |
Note
Gets or sets the Note associated with this StudentAgencyBranch.
Declaration
public string Note { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Note. |
StartDate
Gets or sets the StartDate associated with this StudentAgencyBranch.
Declaration
public DateTime? StartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The StartDate. |
Student
Declaration
public virtual Student Student { get; set; }
Property Value
| Type | Description |
|---|---|
| Student |
StudentFunction
Gets or sets the StudentFunction associated with this StudentAgencyBranch.
Declaration
public string StudentFunction { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The StudentFunction. |
StudentId
Gets or sets the StudentId associated with this StudentAgencyBranch.
Declaration
public int StudentId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The StudentId. |
Title
Gets or sets the Title associated with this StudentAgencyBranch.
Declaration
public string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Title. |
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. |