Interface IEntityTagRepository
Inherited Members
Namespace: Volo.CmsKit.Tags
Assembly: Volo.CmsKit.Domain.dll
Syntax
public interface IEntityTagRepository : IBasicRepository<EntityTag>, IReadOnlyBasicRepository<EntityTag>, IRepository
Methods
DeleteManyAsync(Guid[], string, CancellationToken)
Declaration
Task DeleteManyAsync(Guid[] tagIds, string entityId, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Guid[] | tagIds | |
string | entityId | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |
FindAsync(Guid, string, Guid?, CancellationToken)
Declaration
Task<EntityTag> FindAsync(Guid tagId, string entityId, Guid? tenantId, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Guid | tagId | |
string | entityId | |
Guid? | tenantId | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<EntityTag> |
GetEntityIdsFilteredByTagAsync(Guid, Guid?, CancellationToken)
Declaration
Task<List<string>> GetEntityIdsFilteredByTagAsync(Guid tagId, Guid? tenantId, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
Guid | tagId | |
Guid? | tenantId | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<List<string>> |
GetEntityIdsFilteredByTagNameAsync(string, string, Guid?, CancellationToken)
Declaration
Task<List<string>> GetEntityIdsFilteredByTagNameAsync(string tagName, string entityType, Guid? tenantId = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | tagName | |
string | entityType | |
Guid? | tenantId | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<List<string>> |