Extensions for AspNetCore classes that is practically proven userfull for Enterprise Applications
This is one of the basic features that I loved, because it is fixing the most prominant structure of MVC as there are differents folders for Models, Views, and Controllers you have to navigate all the times up and down between these folder if you only need to modify simple things
in this Additions you Can Create root foler Named Features and create Supfolder for each feature HomeFeature, AccountFeature etc. Inside these SubFolder Features you can add Folder for Models and off course folder for Views then locate all needed files with this sub-Folder "FeautreFolder"
Off course structuing you code this way support the Clean Code architecutre which make our unkle bob happy
Yet another Micro ORM (Object Relational Mapper) for .NET platform with vision of Zero
- Zero learning Curve to start with you need no experiance that ADO.NET
- Zero complexy it is just an extentions overy SqlConnection and SqlDataReader
- Zero latency it is the fastest ORM among others
New Versions of ExecuteSclaerAsync, ExecuteNonQueryAsync, and ExecuteReaderAsync SqlHelper
They are implemented as extension method on SqlConnection to better accessiblity and all of them take parameter called value, this parameter is the key to understand as it takes four types of values
- Primitive Values: string, int, double, etc, even nullable values in this case this single value will be used as parameter whatever you name it in commandText
- Object full instance of class All parameters defined in commandText will be satisfied from this object's properties based on thier names, if parameter name in commandText in not exeist in object as properties InvalidOperationException will be thrown.
- SqlParameter object Your commandText has to have only on parameter weich have the same name of SqlParamete.ParameterName owtherwise InvalidOperationException will be thrown.
- IEnummerable You commandText has to have same number and names of parameters in this IEnummerable of SqlParameter otherwise InvalidOperationException will be thrown.
Supper Easy Mappers ToEntityAsync, ToListAsync, SetValues, and SetListAsync SqlDataReaderExtensions
- Create Unit Test
- Conduct Benchmark with ef core, dapper, and zeroOrm
- Provide centralized place for all ad-hoc sql statements