EntityReference<TEntity>.OnSerializing Method (StreamingContext)

.NET Framework (current version)
 

This API supports the product infrastructure and is not intended to be used directly from your code.

This method is used internally to serialize related entity objects.

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

[OnSerializingAttribute]
[BrowsableAttribute(false)]
public void OnSerializing(
	StreamingContext context
)

Parameters

context
Type: System.Runtime.Serialization.StreamingContext

The serialized stream.

.NET Framework
Available since 4.0
Return to top
Show: