Class PropertyMapper
Provides mapping logic between the Property entity and its corresponding database schema representation.
Namespace: Umbraco.Cms.Infrastructure.Persistence.Mappers
Assembly: Umbraco.Infrastructure.dll
Syntax
[MapperFor(typeof(Property))]
public sealed class PropertyMapper : BaseMapper
Constructors
View SourcePropertyMapper(Lazy<ISqlContext>, MapperConfigurationStore)
Initializes a new instance of the PropertyMapper class.
Declaration
public PropertyMapper(Lazy<ISqlContext> sqlContext, MapperConfigurationStore maps)
Parameters
| Type | Name | Description |
|---|---|---|
| Lazy<ISqlContext> | sqlContext | The lazy-loaded SQL context for database operations. |
| MapperConfigurationStore | maps | The configuration store containing mapping definitions. |
Methods
View SourceDefineMaps()
Declaration
protected override void DefineMaps()