Open Closed

How can I automatically add specifications? #6732


User avatar
0
guven.uysall created
  • ABP Framework version: v6.0.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue: https://docs.abp.io/en/abp/latest/Specifications How can I automatically add specifications to the end of the queries I write? I don't want to add it to the query myself each time. What should be overridden? Thanks your answer

4 Answer(s)
  • User Avatar
    0
    guven.uysall created

    Any idea?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I think you can only do this manually.

  • User Avatar
    0
    guven.uysall created

    Hi Maliming,

    I do not add query parameters such as tenantid or isDelete to any of my queries. ABP does this automatically. In addition to these parameters, I want to add another query condition and manage it centrally. How do I do it? :)

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I do not add query parameters such as tenantid or isDelete to any of my queries. ABP does this automatically.

    This is because abp has Data-Filtering feature. see https://docs.abp.io/en/abp/latest/Data-Filtering

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11