/// <summary> /// Used to provide a mappings for the Abp.EntityFramework.GraphDiff module. /// </summary> /// <param name="configuration"></param> /// <param name="entityMappings"></param> public static void UseMappings(this IAbpEntityFrameworkGraphDiffModuleConfiguration configuration, IEnumerable <EntityMapping> entityMappings) { configuration.EntityMappings = entityMappings.ToList(); }
/// <summary> /// Constructor. /// </summary> public EntityMappingManager(IAbpEntityFrameworkGraphDiffModuleConfiguration moduleConfiguration) { _moduleConfiguration = moduleConfiguration; }