Class CampusPrimaryCurrencyCode
This class represents the EntityModel interface to the SaPrimaryCurrencyMap database table.
Inheritance
System.Object
CampusPrimaryCurrencyCode
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class CampusPrimaryCurrencyCode
Constructors
CampusPrimaryCurrencyCode()
Declaration
public CampusPrimaryCurrencyCode()
Properties
Campus
Declaration
public virtual Campus Campus { get; set; }
Property Value
| Type | Description |
|---|---|
| Campus |
CampusId
Gets or sets the CampusId associated with this CampusPrimaryCurrencyCode.
Declaration
public int CampusId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The CampusId. |
Id
Gets or sets the Id associated with this CampusPrimaryCurrencyCode.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
PrimaryCurrencyCode
Declaration
public virtual PrimaryCurrencyCode PrimaryCurrencyCode { get; set; }
Property Value
| Type | Description |
|---|---|
| PrimaryCurrencyCode |
PrimaryCurrencyCodeId
Gets or sets the PrimaryCurrencyCodeId associated with this CampusPrimaryCurrencyCode.
Declaration
public int PrimaryCurrencyCodeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The PrimaryCurrencyCodeId. |
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. |