public static void CreateAbpAttributeMaps(this IMapperConfigurationExpression configuration, Type type) { configuration.CreateAbpAttributeMap <AutoMapFromAttribute>(type); configuration.CreateAbpAttributeMap <AutoMapToAttribute>(type); configuration.CreateAbpAttributeMap <AutoMapAttribute>(type); }