Click or drag to resize

SerializationHelperPreserveObjectIDs Field

Flag to signal if ObjectID's should be serialized into the output or not. Default: true.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public static bool PreserveObjectIDs

Field Value

Type: Boolean
Remarks
Setting this to false will result in smaller datablocks. However if you use a context on the server/client or otherwise need to have the entity objects look like the same object when a roundtrip occurs to server/client, you have to keep this flag set to 'false', otherwise every time the entity object is deserialized it will get a new ObjectID.
See Also