Click or drag to resize

UnitOfWork2OptimizedSerialization Property

Note: This API is now obsolete.

Gets / sets the OptimizedSerialization flag. Default: true. When set to false, the serialization logic will simply serialize all entities inside the unit of work. When set to true, the unit of work will first calculate the save queues, which weeds out entities which aren't changed and won't be saved anyway, so these don't have to be sent over the wire.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
[ObsoleteAttribute("Starting with v4.0, this setting is marked as obsolete. You should leave the setting set to the default, true", 
	false)]
public bool OptimizedSerialization { get; set; }

Property Value

Type: Boolean
Remarks
Ignored for XML serialization, which always uses optimized serialization.
See Also