VirtoCommerce / vc-platform-core

Project moved to https://github.com/VirtoCommerce/vc-platform/tree/release/3.0.0
Other
38 stars 32 forks source link

Add OuterId to all entites #140

Open asvishnyakov opened 5 years ago

asvishnyakov commented 5 years ago

Problem: When you sync Virto with third-party systems, you need to store outer ID of entity somewhere. Currently we add manually to some entities where we need it or just use our Entity.Id property to store synthetic ID. It's a bad practice, I believe.

Solution: We need to have OuterId for all entities

Proposal of changes: Add OuterId to Entity class

kostyrin commented 5 years ago

https://virto365-my.sharepoint.com/:x:/g/personal/ako_virtoway_com/EcK8mbjjFK1Avq88tlUpoS4BvyBN0P26v5NUOmTnHx82QQ?e=OvHB1q