Show / Hide Table of Contents

Class NewsletterRecord

Inheritance
object
Entity
Entity<Guid>
BasicAggregateRoot<Guid>
AggregateRoot<Guid>
CreationAuditedAggregateRoot<Guid>
NewsletterRecord
Implements
IAggregateRoot<Guid>
IEntity<Guid>
IAggregateRoot
IEntity
IGeneratesDomainEvents
IHasExtraProperties
IHasConcurrencyStamp
ICreationAuditedObject
IHasCreationTime
IMayHaveCreator
IMultiTenant
Inherited Members
CreationAuditedAggregateRoot<Guid>.CreationTime
CreationAuditedAggregateRoot<Guid>.CreatorId
AggregateRoot<Guid>.Validate(ValidationContext)
AggregateRoot<Guid>.ExtraProperties
AggregateRoot<Guid>.ConcurrencyStamp
BasicAggregateRoot<Guid>.GetLocalEvents()
BasicAggregateRoot<Guid>.GetDistributedEvents()
BasicAggregateRoot<Guid>.ClearLocalEvents()
BasicAggregateRoot<Guid>.ClearDistributedEvents()
BasicAggregateRoot<Guid>.AddLocalEvent(object)
BasicAggregateRoot<Guid>.AddDistributedEvent(object)
Entity<Guid>.GetKeys()
Entity<Guid>.ToString()
Entity<Guid>.Id
Entity.EntityEquals(IEntity)
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.CmsKit.Newsletters
Assembly: Volo.CmsKit.Pro.Domain.dll
Syntax
public class NewsletterRecord : CreationAuditedAggregateRoot<Guid>, IAggregateRoot<Guid>, IEntity<Guid>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IHasExtraProperties, IHasConcurrencyStamp, ICreationAuditedObject, IHasCreationTime, IMayHaveCreator, IMultiTenant

Constructors

NewsletterRecord()

Declaration
protected NewsletterRecord()

NewsletterRecord(Guid, string, Guid?)

Declaration
public NewsletterRecord(Guid id, string emailAddress, Guid? tenantId = null)
Parameters
Type Name Description
Guid id
string emailAddress
Guid? tenantId

Properties

EmailAddress

Declaration
public virtual string EmailAddress { get; protected set; }
Property Value
Type Description
string

Preferences

Declaration
public virtual ICollection<NewsletterPreference> Preferences { get; protected set; }
Property Value
Type Description
ICollection<NewsletterPreference>

TenantId

Declaration
public virtual Guid? TenantId { get; protected set; }
Property Value
Type Description
Guid?

Methods

AddPreferences(NewsletterPreference)

Declaration
public NewsletterRecord AddPreferences(NewsletterPreference preference)
Parameters
Type Name Description
NewsletterPreference preference
Returns
Type Description
NewsletterRecord

RemovePreference(Guid)

Declaration
public NewsletterRecord RemovePreference(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
NewsletterRecord

SetEmailAddress(string)

Declaration
public NewsletterRecord SetEmailAddress(string emailAddress)
Parameters
Type Name Description
string emailAddress
Returns
Type Description
NewsletterRecord

Implements

IAggregateRoot<TKey>
IEntity<TKey>
IAggregateRoot
IEntity
IGeneratesDomainEvents
IHasExtraProperties
IHasConcurrencyStamp
ICreationAuditedObject
IHasCreationTime
IMayHaveCreator
IMultiTenant

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform