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<Guid>, 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;
}
}
TenantNotification
. How are you querying/accessingTenantNotification
objects?