Base solution for your next web application
Open Closed

Custom Field AbpSession for filter data #9398


User avatar
0
datalab created

Hello I need to add a custom field CustomerId to Abp Session , what is the best way to extend AbpSession? Then I need to use this field to filter the data. this is a correct solution https://docs.microsoft.com/en-us/ef/core/querying/filters ?.

I have AspNet Zero 8.1, Angular, .Net Core.

Best Regards Dennis Bellancini

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi

    There are documents that you can reference to.

    https://aspnetboilerplate.com/Pages/Documents/Articles\How-To\add-custom-session-field-aspnet-core https://aspnetboilerplate.com/Pages/Documents/Articles\How-To\add-custom-data-filter-ef-core

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    datalab created

    Tank you very mutch.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)