Click or drag to resize

SerializationHelper Class

Helper class containing: - The default serialization to use. - Some string constants used as names in SerializationInfo - Some shared routines used for fast serialization to save duplication
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesSerializationHelper

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 class SerializationHelper

The SerializationHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDeserialize(EntityBase2, SerializationInfo, StreamingContext)
Deserializes the specified entity.
Public methodStatic memberDeserialize(IEntityCollection2, SerializationInfo, StreamingContext)
Deserializes the specified entity collection.
Public methodStatic memberDeserialize(ITypedView2, SerializationInfo, StreamingContext)
Deserializes the specified typed view.
Public methodStatic memberDeserialize(TypedListCore, SerializationInfo, StreamingContext)
Deserializes the specified typed list.
Public methodStatic memberDeserialize(UnitOfWork2, SerializationInfo, StreamingContext)
Deserializes the specified unit of work.
Public methodStatic memberDeserializeEntityFields
Deserializes the entity fields data passed in into the fields object passed in.
Public methodStatic memberDeserializeSimpleReadOnlyTableData
Deserializes the simple read only table data into the datatable passed in.
Public methodStatic memberSerialize(EntityBase2, SerializationInfo, StreamingContext)
Serializes the specified entity.
Public methodStatic memberSerialize(IEntityCollection2, SerializationInfo, StreamingContext)
Serializes the specified entity collection.
Public methodStatic memberSerialize(ITypedView2, SerializationInfo, StreamingContext)
Serializes the specified typed view.
Public methodStatic memberSerialize(TypedListCore, SerializationInfo, StreamingContext)
Serializes the specified typed list.
Public methodStatic memberSerialize(UnitOfWork2, SerializationInfo, StreamingContext)
Serializes the specified unit of work.
Public methodStatic memberSerializeEntityFields
Serializes the entity fields passed in.
Public methodStatic memberSerializeSimpleReadOnlyTableData
Serializes the simple read only table data, which are stored in datatables (which are the base class for typedlists/views)
Top
Fields
  NameDescription
Public fieldStatic memberCompressor
Setting for the compressor to use on the serialized bytestream. Default: none.
Public fieldStatic memberOptimization
Set this field to the serialization optimization you want to use, application wide. Default: None (use the regular binary formatter serialization / deserialization).
Public fieldStatic memberPreserveObjectIDs
Flag to signal if ObjectID's should be serialized into the output or not. Default: true.
Public fieldStatic memberSerializationKey
Name under which the data is stored in the info block.
Top
See Also