RelationshipManager.OnSerializing Method (StreamingContext)

 

Called by Object Services to prepare an EntityKey for binary serialization with a serialized relationship.

Namespace:   System.Data.Entity.Core.Objects.DataClasses
Assembly:  EntityFramework (in EntityFramework.dll)

[OnSerializingAttribute]
[SuppressMessageAttribute("Microsoft.Usage", "CA2238:ImplementSerializationMethodsCorrectly")]
[BrowsableAttribute(false)]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public void OnSerializing(
	StreamingContext context
)

Parameters

context
Type: System.Runtime.Serialization.StreamingContext

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