Class EfCoreTextTemplateContentRepository
Inheritance
EfCoreTextTemplateContentRepository
Implements
Inherited Members
Namespace: Volo.Abp.TextTemplateManagement.TextTemplates
Assembly: Volo.Abp.TextTemplateManagement.EntityFrameworkCore.dll
Syntax
public class EfCoreTextTemplateContentRepository : EfCoreRepository<ITextTemplateManagementDbContext, TextTemplateContent, Guid>, IServiceProviderAccessor, IUnitOfWorkEnabled, IUnitOfWorkManagerAccessor, IEfCoreRepository<TextTemplateContent, Guid>, IEfCoreRepository<TextTemplateContent>, IRepository<TextTemplateContent, Guid>, IRepository<TextTemplateContent>, IReadOnlyRepository<TextTemplateContent, Guid>, IReadOnlyRepository<TextTemplateContent>, IBasicRepository<TextTemplateContent, Guid>, ISupportsExplicitLoading<TextTemplateContent>, ITextTemplateContentRepository, IBasicRepository<TextTemplateContent, Guid>, IBasicRepository<TextTemplateContent>, IReadOnlyBasicRepository<TextTemplateContent, Guid>, IReadOnlyBasicRepository<TextTemplateContent>, IRepository
Constructors
EfCoreTextTemplateContentRepository(IDbContextProvider<ITextTemplateManagementDbContext>)
Declaration
public EfCoreTextTemplateContentRepository(IDbContextProvider<ITextTemplateManagementDbContext> dbContextProvider)
Parameters
Type | Name | Description |
---|---|---|
IDbContextProvider<ITextTemplateManagementDbContext> | dbContextProvider |
Methods
FindAsync(string, string, CancellationToken)
Declaration
public virtual Task<TextTemplateContent> FindAsync(string name, string cultureName = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | name | |
string | cultureName | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<TextTemplateContent> |
GetAsync(string, string, CancellationToken)
Declaration
public virtual Task<TextTemplateContent> GetAsync(string name, string cultureName = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | name | |
string | cultureName | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<TextTemplateContent> |