Class LogViewerQueryMapper
Provides mapping functionality for queries related to the Log Viewer in Umbraco. This class is responsible for translating between database representations and domain models used by the Log Viewer feature.
Namespace: Umbraco.Cms.Infrastructure.Persistence.Mappers
Assembly: Umbraco.Infrastructure.dll
Syntax
[MapperFor(typeof(ILogViewerQuery))]
[MapperFor(typeof(LogViewerQuery))]
public sealed class LogViewerQueryMapper : BaseMapper
Constructors
View SourceLogViewerQueryMapper(Lazy<ISqlContext>, MapperConfigurationStore)
Initializes a new instance of the LogViewerQueryMapper class.
Declaration
public LogViewerQueryMapper(Lazy<ISqlContext> sqlContext, MapperConfigurationStore maps)
Parameters
| Type | Name | Description |
|---|---|---|
| Lazy<ISqlContext> | sqlContext | The lazy-loaded ISqlContext used for database operations. |
| MapperConfigurationStore | maps | The MapperConfigurationStore containing mapper configurations. |
Methods
View SourceDefineMaps()
Declaration
protected override void DefineMaps()