Class WebUserNotification
This class represents the EntityModel interface to the SyWebUserNotification database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class WebUserNotification
Constructors
WebUserNotification()
Declaration
public WebUserNotification()
Properties
DateAcknowledged
Gets or sets the DateAcknowledged associated with this WebUserNotification.
Declaration
public DateTime? DateAcknowledged { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The DateAcknowledged. |
Id
Gets or sets the Id associated with this WebUserNotification.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
NotificationCategory
Gets or sets the NotificationCategory associated with this WebUserNotification.
Declaration
public string NotificationCategory { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The NotificationCategory. |
NotificationMessage
Gets or sets the NotificationMessage associated with this WebUserNotification.
Declaration
public string NotificationMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The NotificationMessage. |
NotificationType
Gets or sets the NotificationType associated with this WebUserNotification.
Declaration
public string NotificationType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The NotificationType. |
PersonId
Gets or sets the PersonId associated with this WebUserNotification.
Declaration
public int PersonId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The PersonId. |
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. |