Exemple #1
0
 public UserEditorModelToTypedEntity(AbstractFluentMappingEngine engine, MapResolverContext resolverContext, params string[] ignoreAttributeAliases)
     : base(engine, resolverContext, ignoreAttributeAliases)
 {
     MappingContext
     //ignore all custom properties (except password) as these need to be mapped by the underlying attributes
     .IgnoreMember(x => x.LastPasswordChangeDate)
     .IgnoreMember(x => x.LastActivityDate)
     .IgnoreMember(x => x.LastLoginDate)
     .IgnoreMember(x => x.IsApproved)
     .IgnoreMember(x => x.Email)
     .IgnoreMember(x => x.Username)
     .IgnoreMember(x => x.Name)
     .IgnoreMember(x => x.Applications)
     .IgnoreMember(x => x.StartMediaHiveId)
     .IgnoreMember(x => x.StartContentHiveId)
     .IgnoreMember(x => x.SessionTimeout);
 }