There's a imported list with 500.000 items and an event receiver attached to it (itemAdded/Updated). I need to run the event receiver on older items meeting specific criteria but I don't want to update the items nor duplicate the code of the event receiver.
I'm thinking of creating a class inside the event receiver and import the .dll to a console app but I can't figure out the steps. The event receiver has not been implemented yet. The console app could be run on the server.
Has anyone done it before and how?