Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add new methods to EFExtensions #122

Merged
merged 5 commits into from
Mar 20, 2024
Merged

feat: Add new methods to EFExtensions #122

merged 5 commits into from
Mar 20, 2024

Conversation

osman-koc
Copy link
Member

@osman-koc osman-koc commented Mar 17, 2024

Description

Currently, in services using Carbon, the same codes were written over and over again to make the includes for solution migration and call the tolist method. An additional extension method has been added to shorten them. In this method, the necessary includes for owner and solution are added and the tolist extension method is called. For the same method, a alternative that will work with pagenation was also written.

In addition, a method that makes tolist for pagination has been added. In the get all methods in the services, pagination operations were performed repeatedly. This method can be used to minimise these.

Changelog

  • Added new extension method to EFExtensions (ToListEntityFilteredWithIncludeAsync, ToPagedListEntityFilteredWithIncludeAsync, ToPagedListEntityAsync)
  • Added BaseRequestPageDto in Carbon.Common

@anil-eladag anil-eladag merged commit 4c5a240 into master Mar 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants