Class MemberTypeMapper
Represents a MemberType to DTO mapper used to translate the properties of the public api implementation to that of the database's DTO as sql: [tableName].[columnName].
Namespace: Umbraco.Cms.Infrastructure.Persistence.Mappers
Assembly: Umbraco.Infrastructure.dll
Syntax
[MapperFor(typeof(MemberType))]
[MapperFor(typeof(IMemberType))]
public sealed class MemberTypeMapper : BaseMapper
Constructors
View SourceMemberTypeMapper(Lazy<ISqlContext>, MapperConfigurationStore)
Initializes a new instance of the MemberTypeMapper class.
Declaration
public MemberTypeMapper(Lazy<ISqlContext> sqlContext, MapperConfigurationStore maps)
Parameters
| Type | Name | Description |
|---|---|---|
| Lazy<ISqlContext> | sqlContext | A lazily-initialized ISqlContext providing SQL context for mapping operations. |
| MapperConfigurationStore | maps | The MapperConfigurationStore containing configuration for entity mappers. |
Methods
View SourceDefineMaps()
Declaration
protected override void DefineMaps()