Class Organization
This class represents the EntityModel interface to the SyNexusOrganization database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class Organization
Constructors
Organization()
Declaration
public Organization()
Properties
Addresses
Declaration
public virtual ICollection<OrganizationAddress> Addresses { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<OrganizationAddress> |
AgencyBranches
Declaration
public virtual ICollection<AgencyBranch> AgencyBranches { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<AgencyBranch> |
Colleges
Declaration
public virtual ICollection<College> Colleges { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<College> |
Contacts
Declaration
public virtual ICollection<OrganizationContact> Contacts { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<OrganizationContact> |
Employers
Declaration
public virtual ICollection<Employer> Employers { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<Employer> |
HighSchools
Declaration
public virtual ICollection<HighSchool> HighSchools { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<HighSchool> |
Id
Gets or sets the Id associated with this Organization.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this Organization.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
IsDeleted
Gets or sets the IsDeleted associated with this Organization.
Declaration
public bool IsDeleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsDeleted. |
IsSystem
Gets or sets the IsSystem associated with this Organization.
Declaration
public bool IsSystem { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsSystem. |
LendingInstitutions
Declaration
public virtual ICollection<LendingInstitution> LendingInstitutions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<LendingInstitution> |
Name
Gets or sets the Name associated with this Organization.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Name. |
Note
Gets or sets the Note associated with this Organization.
Declaration
public string Note { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Note. |
PhoneNumbers
Declaration
public virtual ICollection<OrganizationPhoneNumber> PhoneNumbers { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<OrganizationPhoneNumber> |
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. |