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.
파일 보기 프로젝트 열기: vladislav-karamfilov/TelerikAcademy 1 사용 예제들

공개 메소드들

메소드 설명
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