RelationshipManager::OnSerializing Method (StreamingContext)
.NET Framework (current version)
Called by Object Services to prepare an EntityKey for binary serialization with a serialized relationship.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
public: [BrowsableAttribute(false)] [OnSerializingAttribute] 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.
Serialization of relationships is only supported for binary serialization. Complete object graphs, including relationships, is not supported for Windows Communication Foundation and XML serialization. For more information, see Serializing Objects.
.NET Framework
Available since 3.5
Available since 3.5
Show: