'TenantNotification class in ASPNET zero
I want to get CreatorUserId In TenantNotification.cs in aspnet zero. Can you guide me how can i do this.i was trying to figure out but avail.
// // Summary: // Represents a published notification for a tenant/user. [Serializable] public class TenantNotification : EntityDto, IHasCreationTime { // // Summary: // Tenant Id. public int? TenantId { get; set; }
//
// Summary:
// Unique notification name.
public string NotificationName
{
get;
set;
}
//
// Summary:
// Notification data.
public NotificationData Data
{
get;
set;
}
//
// Summary:
// Gets or sets the type of the entity.
[Obsolete("(De)serialization of System.Type is bad and not supported. See https://github.com/dotnet/corefx/issues/42712")]
public Type EntityType
{
get;
set;
}
//
// Summary:
// Name of the entity type (including namespaces).
public string EntityTypeName
{
get;
set;
}
//
// Summary:
// Entity id.
public object EntityId
{
get;
set;
}
//
// Summary:
// Severity.
public NotificationSeverity Severity
{
get;
set;
}
public DateTime CreationTime
{
get;
set;
}
//
// Summary:
// Initializes a new instance of the Abp.Notifications.TenantNotification class.
public TenantNotification()
{
CreationTime = Clock.Now;
}
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
