Once you have 2 separate objects in memory, and you have links to both of them, the only way to merge them is to change all the links to point to one of the objects, which may not be possible. However, in this case you can not use this class, you can use the SD.LLBLGen.Pro.ORMSupportClasses.Context class, which can be connected to the adapter and which acts as a cache level, and when objects are loaded, it returns the same object for a unique object, basically it does not allow duplicating entities in memory and always returns a link to an already loaded object.
source share