C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
SerializeDeserialize ( string unit ) : void
SerializeToBinaryStream ( string employeeFName ) : MemoryStream

Описание методов

SerializeDeserialize() публичный Метод

public SerializeDeserialize ( string unit ) : void
unit string
Результат void

SerializeToBinaryStream() публичный Метод

public SerializeToBinaryStream ( string employeeFName ) : MemoryStream
employeeFName string
Результат System.IO.MemoryStream