Class Blog
Inheritance
Blog
Implements
Inherited Members
Namespace: Volo.CmsKit.Blogs
Assembly: Volo.CmsKit.Domain.dll
Syntax
public class Blog : FullAuditedAggregateRoot<Guid>, IAggregateRoot<Guid>, IEntity<Guid>, IAggregateRoot, IEntity, IGeneratesDomainEvents, IHasExtraProperties, IHasConcurrencyStamp, IFullAuditedObject, IAuditedObject, ICreationAuditedObject, IHasCreationTime, IMayHaveCreator, IModificationAuditedObject, IHasModificationTime, IDeletionAuditedObject, IHasDeletionTime, ISoftDelete, IMultiTenant
Constructors
Blog()
Declaration
protected Blog()
Blog(Guid, string, string, Guid?)
Declaration
protected Blog(Guid id, string name, string slug, Guid? tenantId = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id | |
| string | name | |
| string | slug | |
| Guid? | tenantId |
Properties
Name
Declaration
public virtual string Name { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Slug
Declaration
public virtual string Slug { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
TenantId
Declaration
public virtual Guid? TenantId { get; protected set; }
Property Value
| Type | Description |
|---|---|
| Guid? |
Methods
SetName(string)
Declaration
public virtual void SetName(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
SetSlug(string)
Declaration
public virtual void SetSlug(string slug)
Parameters
| Type | Name | Description |
|---|---|---|
| string | slug |