Aperto Chiuso

How can I automatically add specifications? #6732


User avatar
0
guven.uysall creato
  • 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 risposte
  • User Avatar
    0
    guven.uysall creato

    Any idea?

  • User Avatar
    0
    maliming creato
    Team di supporto Fullstack Developer

    hi

    I think you can only do this manually.

  • User Avatar
    0
    guven.uysall creato

    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 creato
    Team di supporto 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 marzo 25, 2024, 15:11