EntityKey.OnDeserializing Method (StreamingContext)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Helper method that is used to deserialize an EntityKey.

Namespace:   System.Data
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public void OnDeserializing(
	StreamingContext context


Type: System.Runtime.Serialization.StreamingContext

Describes the source and destination of a given serialized stream, and provides an additional caller-defined context.

OnDeserializing is used by Object Services when deserializing an EntityKey. For more information, see Serializing Objects.

.NET Framework
Available since 3.5
Return to top