Open tb-mtg opened 4 months ago
That is a nice language feature. I'm pretty close to finishing the hardening of version 2.0 and then am quickly moving on to version 2.0.1 where we'll need to begin changing the interfaces in this area. It may be a nice time to look at cleaning up the code a bit with something like default interface methods. Nice recommendation!
Just as suggestion, have you considered moving repeated implementation logic code into their interfaces by taking advantage of default interface methods?
For example, the following overrides could be removed from: https://github.com/RCommon-Team/RCommon/blob/main/Src/RCommon.Linq2Db/Crud/Linq2DbRepository.cs
and moved into: https://github.com/RCommon-Team/RCommon/blob/main/Src/RCommon.Persistence/Crud/ILinqRepository.cs