Class SyOrganizationContact
This class represents the EntityModel interface to the SyOrganizationContact database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Admissions
Assembly: Cmc.Nexus.Models.dll
Syntax
public class SyOrganizationContact
Constructors
SyOrganizationContact()
Declaration
public SyOrganizationContact()
Properties
City
Gets or sets the City associated with this SyOrganizationContact.
Declaration
public string City { get; set; }
Property Value
Type | Description |
---|---|
System.String | The City. |
Company
Gets or sets the Company associated with this SyOrganizationContact.
Declaration
public string Company { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Company. |
Country
Declaration
public virtual Country Country { get; set; }
Property Value
Type | Description |
---|---|
Country |
CountryId
Gets or sets the CountryId associated with this SyOrganizationContact.
Declaration
public int? CountryId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The CountryId. |
County
Declaration
public virtual County County { get; set; }
Property Value
Type | Description |
---|---|
County |
CountyId
Gets or sets the CountyId associated with this SyOrganizationContact.
Declaration
public int? CountyId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The CountyId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this SyOrganizationContact.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
EmailAddress
Gets or sets the EmailAddress associated with this SyOrganizationContact.
Declaration
public string EmailAddress { get; set; }
Property Value
Type | Description |
---|---|
System.String | The EmailAddress. |
Extension
Gets or sets the Extension associated with this SyOrganizationContact.
Declaration
public string Extension { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Extension. |
FaxNumber
Gets or sets the FaxNumber associated with this SyOrganizationContact.
Declaration
public string FaxNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String | The FaxNumber. |
FirstName
Gets or sets the FirstName associated with this SyOrganizationContact.
Declaration
public string FirstName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The FirstName. |
Id
Gets or sets the Id associated with this SyOrganizationContact.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IdentifierDetails
Gets or sets the IdentifierDetails associated with this SyOrganizationContact.
Declaration
public string IdentifierDetails { get; set; }
Property Value
Type | Description |
---|---|
System.String | The IdentifierDetails. |
IsActive
Gets or sets the IsActive associated with this SyOrganizationContact.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
IsPrimaryContact
Gets or sets the IsPrimaryContact associated with this SyOrganizationContact.
Declaration
public bool IsPrimaryContact { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsPrimaryContact. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this SyOrganizationContact.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this SyOrganizationContact.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
LastName
Gets or sets the LastName associated with this SyOrganizationContact.
Declaration
public string LastName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The LastName. |
Note
Gets or sets the Note associated with this SyOrganizationContact.
Declaration
public string Note { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Note. |
OrganizationContactType
Declaration
public virtual OrganizationContactType OrganizationContactType { get; set; }
Property Value
Type | Description |
---|---|
OrganizationContactType |
OrganizationContactTypeId
Gets or sets the OrganizationContactTypeId associated with this SyOrganizationContact.
Declaration
public int OrganizationContactTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The OrganizationContactTypeId. |
OtherExtension
Gets or sets the OtherExtension associated with this SyOrganizationContact.
Declaration
public string OtherExtension { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OtherExtension. |
OtherPhoneNumber
Gets or sets the OtherPhoneNumber associated with this SyOrganizationContact.
Declaration
public string OtherPhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String | The OtherPhoneNumber. |
Person
Declaration
public virtual Person Person { get; set; }
Property Value
Type | Description |
---|---|
Person |
PersonId
Gets or sets the PersonId associated with this SyOrganizationContact.
Declaration
public int? PersonId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The PersonId. |
PhoneNumber
Gets or sets the PhoneNumber associated with this SyOrganizationContact.
Declaration
public string PhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String | The PhoneNumber. |
PostalCode
Gets or sets the PostalCode associated with this SyOrganizationContact.
Declaration
public string PostalCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The PostalCode. |
State
Gets or sets the State associated with this SyOrganizationContact.
Declaration
public string State { get; set; }
Property Value
Type | Description |
---|---|
System.String | The State. |
StreetAddress
Gets or sets the StreetAddress associated with this SyOrganizationContact.
Declaration
public string StreetAddress { get; set; }
Property Value
Type | Description |
---|---|
System.String | The StreetAddress. |
SyOrganization
Declaration
public virtual SyOrganization SyOrganization { get; set; }
Property Value
Type | Description |
---|---|
SyOrganization |
SyOrganizationId
Gets or sets the SyOrganizationId associated with this SyOrganizationContact.
Declaration
public int SyOrganizationId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The SyOrganizationId. |
Title
Gets or sets the Title associated with this SyOrganizationContact.
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. |