Class OrganizationContact
This class represents the EntityModel interface to the SyNexusOrganizationContact database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class OrganizationContact
Constructors
OrganizationContact()
Declaration
public OrganizationContact()
Properties
Id
Gets or sets the Id associated with this OrganizationContact.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this OrganizationContact.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
IsDeleted
Gets or sets the IsDeleted associated with this OrganizationContact.
Declaration
public bool IsDeleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsDeleted. |
IsPrimary
Gets or sets the IsPrimary associated with this OrganizationContact.
Declaration
public bool IsPrimary { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsPrimary. |
Organization
Declaration
public virtual Organization Organization { get; set; }
Property Value
Type | Description |
---|---|
Organization |
OrganizationContactType
Declaration
public virtual OrganizationContactType OrganizationContactType { get; set; }
Property Value
Type | Description |
---|---|
OrganizationContactType |
OrganizationContactTypeId
Gets or sets the OrganizationContactTypeId associated with this OrganizationContact.
Declaration
public int OrganizationContactTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The OrganizationContactTypeId. |
OrganizationId
Gets or sets the OrganizationId associated with this OrganizationContact.
Declaration
public int OrganizationId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The OrganizationId. |
Person
Declaration
public virtual Person Person { get; set; }
Property Value
Type | Description |
---|---|
Person |
PersonId
Gets or sets the PersonId associated with this OrganizationContact.
Declaration
public int PersonId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The PersonId. |
Title
Gets or sets the Title associated with this OrganizationContact.
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. |