Class CollectionAccountDataChange
This class represents the EntityModel interface to the syAudit_SaCollections database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.StudentAccounts
Assembly: Cmc.Nexus.Models.dll
Syntax
public class CollectionAccountDataChange
Constructors
CollectionAccountDataChange()
Declaration
public CollectionAccountDataChange()
Properties
CollectionAccount
Declaration
public virtual CollectionAccount CollectionAccount { get; set; }
Property Value
| Type | Description |
|---|---|
| CollectionAccount |
CollectionAccountId
Gets or sets the CollectionAccountId associated with this CollectionAccountDataChange.
Declaration
public int CollectionAccountId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The CollectionAccountId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this CollectionAccountDataChange.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
Id
Gets or sets the Id associated with this CollectionAccountDataChange.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this CollectionAccountDataChange.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUser
Declaration
public virtual Staff LastModifiedUser { get; set; }
Property Value
| Type | Description |
|---|---|
| Staff |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this CollectionAccountDataChange.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
NewValue
Gets or sets the NewValue associated with this CollectionAccountDataChange.
Declaration
public string NewValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The NewValue. |
Note
Gets or sets the Note associated with this CollectionAccountDataChange.
Declaration
public string Note { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Note. |
OldValue
Gets or sets the OldValue associated with this CollectionAccountDataChange.
Declaration
public string OldValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The OldValue. |
PropertyName
Gets or sets the PropertyName associated with this CollectionAccountDataChange.
Declaration
public string PropertyName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PropertyName. |
Student
Declaration
public virtual Student Student { get; set; }
Property Value
| Type | Description |
|---|---|
| Student |
StudentId
Gets or sets the StudentId associated with this CollectionAccountDataChange.
Declaration
public int StudentId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The StudentId. |
TableName
Gets or sets the TableName associated with this CollectionAccountDataChange.
Declaration
public string TableName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The TableName. |
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. |