Class Bank
This class represents the EntityModel interface to the SaBank database table.
Inheritance
Implements
Inherited Members
Namespace: Cmc.Nexus.Models.StudentAccounts
Assembly: Cmc.Nexus.Models.dll
Syntax
public class Bank : IReferenceItem, IIdentifiable
Constructors
Bank()
Declaration
public Bank()
Properties
BankAccounts
Declaration
public virtual ICollection<BankAccount> BankAccounts { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<BankAccount> |
BranchName
Declaration
[Obsolete("Do not use. Property moved to bank account.")]
public string BranchName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Campus
Declaration
public virtual Campus Campus { get; set; }
Property Value
| Type | Description |
|---|---|
| Campus |
CampusId
Gets or sets the CampusId associated with this Bank.
Declaration
public int? CampusId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CampusId. |
City
Gets or sets the City associated with this Bank.
Declaration
public string City { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The City. |
Code
Gets or sets the Code associated with this Bank.
Declaration
public string Code { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Code. |
ContactFirstName
Gets or sets the ContactFirstName associated with this Bank.
Declaration
public string ContactFirstName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ContactFirstName. |
ContactLastName
Gets or sets the ContactLastName associated with this Bank.
Declaration
public string ContactLastName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ContactLastName. |
ContactTitle
Gets or sets the ContactTitle associated with this Bank.
Declaration
public string ContactTitle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ContactTitle. |
CountryId
Gets or sets the CountryId associated with this Bank.
Declaration
public int? CountryId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CountryId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this Bank.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
CurrencyCode
Declaration
[Obsolete("Do not use. Property moved to bank account.")]
public virtual CurrencyCode CurrencyCode { get; set; }
Property Value
| Type | Description |
|---|---|
| CurrencyCode |
CurrencyCodeId
Declaration
[Obsolete("Do not use. Property moved to bank account.")]
public int? CurrencyCodeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
EmailAddress
Gets or sets the EmailAddress associated with this Bank.
Declaration
public string EmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The EmailAddress. |
FaxNumber
Gets or sets the FaxNumber associated with this Bank.
Declaration
public string FaxNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The FaxNumber. |
Iban
Gets or sets the Iban associated with this Bank.
Declaration
public string Iban { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Iban. |
Id
Gets or sets the Id associated with this Bank.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this Bank.
Declaration
public bool IsActive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsActive. |
IsPositivePayUse
Gets or sets the IsPositivePayUse associated with this Bank.
Declaration
public bool IsPositivePayUse { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsPositivePayUse. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this Bank.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this Bank.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
Name
Gets or sets the Name associated with this Bank.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Name. |
PhoneNumber
Gets or sets the PhoneNumber associated with this Bank.
Declaration
public string PhoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PhoneNumber. |
PositivePayClearedChecksFileType
Gets or sets the PositivePayClearedChecksFileType associated with this Bank.
Declaration
public string PositivePayClearedChecksFileType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PositivePayClearedChecksFileType. |
PositivePayIssuedChecksFileType
Gets or sets the PositivePayIssuedChecksFileType associated with this Bank.
Declaration
public string PositivePayIssuedChecksFileType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PositivePayIssuedChecksFileType. |
PostalCode
Gets or sets the PostalCode associated with this Bank.
Declaration
public string PostalCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PostalCode. |
RoutingNumber
Gets or sets the RoutingNumber associated with this Bank.
Declaration
public string RoutingNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The RoutingNumber. |
State
Gets or sets the State associated with this Bank.
Declaration
public string State { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The State. |
StreetAddress
Gets or sets the StreetAddress associated with this Bank.
Declaration
public string StreetAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The StreetAddress. |
SwiftCode
Gets or sets the SwiftCode associated with this Bank.
Declaration
public string SwiftCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The SwiftCode. |
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. |