Package Manager Console: Install-Package ✈️ How do I get started? For full version (both query and command support):įirst install the latest version of nuget package into your project as follows: Most importantly, it has full Unit Testing support.įree raw SQL query support both for complex type and primitive types. It also has support to reset your EF Core DbContext state whenever you really needed. It also has support to choose whether you would like to track your query entity/entities or not. It also has support to run raw SQL command against your relational database. It also has database level projection support for your query. It also has Specification pattern support so that you can build your query dynamically i.e. It has all the required methods to query your data in whatever way you want without getting IQueryable from the repository. It’s providing the Generic Repository with database transaction support. ⚙️ This library includes following notable features: List items = await _repository.GetFromRawSqlAsync(sqlQuery, search) String sqlQuery = "Select EmployeeName, DepartmentName from Employee Where EmployeeName LIKE + '%' and DepartmentName LIKE + '%'" PaginatedList paginatedList = await _repository.GetListAsync(specification, e => new EmployeeDtoįree raw SQL support: List search = new List() □ What's new Pagination Support: PaginationSpecification specification = new PaginationSpecification() If you find this library useful, please don't forget to encouraging me to do such more stuffs by giving a star to this repository. This library is a Generic Repository implementation for EF Core ORM which will remove developers' pain to write repository layer for each.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |