EasyRepository.EFCore
EasyRepository.EFCore copied to clipboard
✨ [FEATURE] Would like to migrate to 'file scoped' namespaces
Summary
I would like to remove all namespace scoped brackets, in favor of file-scoped namespaces.
No code changes will be required, as currently each file only uses one namespace - so this is a perfect scenerio to change to file scoped namespaces
Advantage
- Cleaner code.
- Currently, every file only has 1 namespace as it is, so it makes sense to use 'file-scoped namespaces'
- No need for more brackets as it makes clutter
Additional context
Additional Reading topics
- https://dotnetcoretutorials.com/2021/09/20/file-scoped-namespaces-in-c-10/?series
- https://www.meziantou.net/updating-your-project-to-use-file-scoped-namespaces.htm
- https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-10.0/file-scoped-namespaces