Tag Database

Why Unit of Work is an anti-pattern but not Repository

Is Repository and Unit of Work (UoW) an anti-pattern? In the .NET/C# world, it is often said that Repository/UoW is an anti-pattern and one should probably use Entity Framework Core directly. But if it is an anti-pattern, why are people… Continue Reading →

Why status fields must die

I’m sure we have seen this happen: A programmer forgets to add a status = 1 condition/check to an SQL query and the app disintegrates. Status fields can be useful in some ways especially if the range of values are large,… Continue Reading →

© 2024 tzlee.com/blog — Powered by WordPress

Theme by Anders NorenUp ↑