EntityCollection<TEntity>.OnSerializing Method (StreamingContext)

 

Used internally to serialize entity objects.

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

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

Parameters

context
Type: System.Runtime.Serialization.StreamingContext

The streaming context.