Mark all entities of a given type as needed. All entities of that type will not be detached from the context until the client scope is disposed.

Namespace:  C1.Data
Assembly:  C1.Silverlight.Data.Entity (in C1.Silverlight.Data.Entity.dll)

Syntax

C#
public void AddRef(
	Type entityType
)
Visual Basic
Public Sub AddRef ( _
	entityType As Type _
)

Parameters

entityType
Type: System..::..Type
An entity type to mark as needed.

See Also