Class AccessMapper
Provides mapping functionality for Access entities between the database and domain models in the persistence layer.
Namespace: Umbraco.Cms.Infrastructure.Persistence.Mappers
Assembly: Umbraco.Infrastructure.dll
Syntax
[MapperFor(typeof(PublicAccessEntry))]
public sealed class AccessMapper : BaseMapper
Constructors
View SourceAccessMapper(Lazy<ISqlContext>, MapperConfigurationStore)
Initializes a new instance of the AccessMapper class.
Declaration
public AccessMapper(Lazy<ISqlContext> sqlContext, MapperConfigurationStore maps)
Parameters
| Type | Name | Description |
|---|---|---|
| Lazy<ISqlContext> | sqlContext | A lazily-initialized SQL context for database operations. |
| MapperConfigurationStore | maps | The configuration store containing mapping definitions. |
Methods
View SourceDefineMaps()
Declaration
protected override void DefineMaps()