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.4.0.0 (5.4.0)
Syntax public static bool PreserveObjectIDs
Public Shared PreserveObjectIDs As Boolean
Field Value
Type:
BooleanRemarks 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