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.
Afficher le fichier Open project: vladislav-karamfilov/TelerikAcademy Class Usage Examples

Méthodes publiques

Méthode Description
SerializeDeserialize ( string unit ) : void
SerializeToBinaryStream ( string employeeFName ) : MemoryStream

Method Details

SerializeDeserialize() public méthode

public SerializeDeserialize ( string unit ) : void
unit string
Résultat void

SerializeToBinaryStream() public méthode

public SerializeToBinaryStream ( string employeeFName ) : MemoryStream
employeeFName string
Résultat System.IO.MemoryStream