You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a question.
Is it possible to make the entitites dynamic so you can choose the PK of the table, ie, NaturalKey, Long, Int, or Guid. In V1 i has to create seperate BaseEntities/AuditableEntity for each, and inherit as such. We working with a lot of data, and the Guid Pk indexes is getting huge, and fragemented a lot, so a lot of db maintenance need to happen. Setting TId we can make it dynamic from what i can see. Your declarative class would then just include Id columns, and in Config need to state GenerateOnInsert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Just a question.
Is it possible to make the entitites dynamic so you can choose the PK of the table, ie, NaturalKey, Long, Int, or Guid. In V1 i has to create seperate BaseEntities/AuditableEntity for each, and inherit as such. We working with a lot of data, and the Guid Pk indexes is getting huge, and fragemented a lot, so a lot of db maintenance need to happen. Setting TId we can make it dynamic from what i can see. Your declarative class would then just include Id columns, and in Config need to state GenerateOnInsert
Beta Was this translation helpful? Give feedback.
All reactions