Class UmbracoEntityMapper
Provides functionality to map properties of Umbraco entities to their corresponding database columns.
Namespace: Umbraco.Cms.Infrastructure.Persistence.Mappers
Assembly: Umbraco.Infrastructure.dll
Syntax
[MapperFor(typeof(IUmbracoEntity))]
public sealed class UmbracoEntityMapper : BaseMapper
Constructors
View SourceUmbracoEntityMapper(Lazy<ISqlContext>, MapperConfigurationStore)
Initializes a new instance of the UmbracoEntityMapper class.
Declaration
public UmbracoEntityMapper(Lazy<ISqlContext> sqlContext, MapperConfigurationStore maps)
Parameters
| Type | Name | Description |
|---|---|---|
| Lazy<ISqlContext> | sqlContext | The lazy-loaded SQL context used for database operations. |
| MapperConfigurationStore | maps | The configuration store containing mapping definitions. |
Methods
View SourceDefineMaps()
Declaration
protected override void DefineMaps()