C# Class TelerikAcademy.Client.Serializator

2. Implement entity cloning using binary serialization Define a function that can clone single entity loaded from the database (for more fame – a graph of entities, starting with from one of the nodes). Test that all properties of the original instance have the same values as the ones on the cloned.
Show file Open project: vladislav-karamfilov/TelerikAcademy Class Usage Examples

Public Methods

Method Description
SerializeDeserialize ( string unit ) : void
SerializeToBinaryStream ( string employeeFName ) : MemoryStream

Method Details

SerializeDeserialize() public method

public SerializeDeserialize ( string unit ) : void
unit string
return void

SerializeToBinaryStream() public method

public SerializeToBinaryStream ( string employeeFName ) : MemoryStream
employeeFName string
return System.IO.MemoryStream