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