Class UserGroupMapper
Represents a UserGroup 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(IUserGroup))]
[MapperFor(typeof(UserGroup))]
public sealed class UserGroupMapper : BaseMapper
Constructors
View SourceUserGroupMapper(Lazy<ISqlContext>, MapperConfigurationStore)
Initializes a new instance of the UserGroupMapper class.
Declaration
public UserGroupMapper(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()