Quantcast
Channel: URF - Unit of Work & (extensible/generic) Repositories Framework
Viewing all articles
Browse latest Browse all 1539

New Post: UnityConfig + .RegisterType

$
0
0
You could implement this in abstract Service or Repository/RepositoryAsync classes however this would dictate that every entity would do a soft delete moving forward, I would still implement the full Service pattern and for each entity that requires a soft delete, override Delete in each Service e.g. IProductService, ProductService and in ProductService do a soft delete vs. a hard one.

Viewing all articles
Browse latest Browse all 1539

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>