I have a generic interface, IInsertionIdFactory<TEntity>.
That interface has a method whose signature is:
void SetNewId(Database db, DbCommand command, TEntity domainObj);
I need to be able set a DoInstead() on that method.
How do I go about doing this? I don't want to fake all of the concrete instances that implement IInsertionIdFactory<TEntity>, as this would number in the 30+ range.