views:

54

answers:

0

I found some repeated code in SubSonic.Repository package (don't know if this is the right word). For example: The code for method

int UpdateMany<T>(IEnumerable<T> items)

in SimpleRepository.cs looks awfully similar to code for

int Update(IEnumerable<T> items)

in SubSonicRepository.cs

I would like to move this kind of code into a common place. Is Extensions.Database.cs the right place to go? or should I create a Utils.cs file somewhere?