Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Active/Passive Entities #6450


User avatar
0
aggarwal created

Hi,

I have a requirement to create a transaction is "Inactive" state on my FullyAudited entry like an empty tax return via a background job.

Once the user prepares and submits the record, I want to log the "CreatedBy" as the user who made the submission.

I was referring to this - https://aspnetboilerplate.com/Pages/Documents/Entities?searchKey=auditing#active-passive-entities. Not sure if my understanding for this is correct about this functionality.

Is there an example for above?

Thanks & Regards, Vikas


4 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    You set it like any other property. What's the problem?

  • User Avatar
    0
    aggarwal created

    Thanks.

    I was just wondering if there was more an example for IPassivable being used?

  • User Avatar
    0
    aaron created
    Support Team

    Tenant and User are IPassivable.

    You can see how .IsActive is being used in the codebase.

  • User Avatar
    0
    aggarwal created

    Thank you.