0
bhasinp created
- ABP Framework version: v7.2.2
- UI Type: Angular
- Database System: EF Core (SQL Server)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace:
- Steps to reproduce the issue:
I cached the data in Redis, The data which I cached is Entity. Example Job (Not JobDto) When I read data from Redis, All the data get mapped except the base properties (Id, CreationTime, CreatorId, LastModificationTime, LastModifierId)
The cause which I found is these Properties are having protected set;
public virtual TKey Id { get; protected set; }
Can you help me out in this, how can I map the data so that I can get the Entity Again from Cache.
Thanks
1 Answer(s)
-
0
Hi,
please refer to this document https://docs.abp.io/en/abp/latest/Application-Services#book-entity .
with regards