tugberkugurlu/GenericRepository

Stored Procedures Support

nunofilipecosta opened this issue · 3 comments

Enable stored procedures support

Hi,

Thanks for bringing this up here. What kind of support are u looking for this? Would that be enough for you if EntityRepository<TEntity, TKey> exposes the EntitiesContext as a protected member?

I guess what i would like is something like this.

_entityRepository.ExecStoredProcedure(params);

I'm not entirely sure of all the implications in the source code...

I see. This doesn't belong here, though. Once you have DbContext as protected member through the EntityRepository, you can implement your own like that if you would like to.