EntityReference<TEntity>.OnSerializing Method (StreamingContext)

 

This method is used internally to serialize related entity objects.

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

The serialized stream.