MemberJunction / MJ

Main MemberJunction Repository
https://docs.memberjunction.org/
ISC License
4 stars 0 forks source link

Add explicit field mapping and reverse mapping (fixes #387) #389

Open cadam11 opened 1 week ago

AN-BC commented 4 hours ago

@cadam11 not sure if you were looking for a review on this one? But I skimmed it and I like how you encapsulated that bit of work for the mj_CreatedAt -> _mjCreatedAt and reverse in a generic way that we can extend later if needed. We should add the mapping for the mj_DeletedAt -> _mjDeletedAt to this baseline code as we now have that 3rd auto-added datetimeoffset field in CodeGen when DeleteType=Soft for a given entity.